Info: Read the Disclaimer in the Introduction.
Estimated Completion Time: 1 hour
The following steps demonstrate how to install ROS Melodic Morenia into the COBOTTA. If the Ubuntu OS has not been installed, go back to the Installing Ubuntu document. If ROS has been installed, move onto the Installing the COBOTTA Driver document.
The following link contains how to install ROS into the COBOTTA: ROS Wiki - Installing ROS
Steps 1 through 11 also explain how to install ROS.
Begin by configuring the Repositories in Ubuntu. Go into the Software & Updates application.
Under the Ubuntu Software tab, move the mouse cursor to hover over the Downloadable from the Internet section.
|Step 3: |
Check each of the following boxes: Main, Universe, Restricted, and Multiverse. Then close the application.
Note: A quick way to open a new terminal is by pressing 'CTRL + ALT + T'.
|Step 5: |
To be able to run the ROS packages, enter the following into the terminal:
$ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
Set up the keys for the ROS packages, enter the following into the terminal:
$ sudo apt install curl $ curl -s https://raw.githubusercontent.com/ros /rosdistro/master/ros.asc | sudo apt-key add -
Note: Only install 'curl' if it has not been installed.
Update the Debian package by entering the following into the terminal:
$ sudo apt update
$ sudo apt install ros-melodic-desktop-full
Note: The Full Desktop Version comes with ROS, RVIZ, RQT, and Robot-Generic
Set up the ROS environment by entering the following into the terminal:
$ echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc $ source ~/.bashrc
Install the ROS tools and dependencies for Python by entering the following into the terminal:
$ sudo apt install python-rosdep python-rosinstall python-rosinstall-generator python-wstool build-essential
Initialize the ROS tools and dependencies by entering the following into the terminal:
$ sudo apt install python-rosdep $ sudo rosdep init $ rosdep update
|The image displayed in the box to the right contains the code entered into the terminal to install ROS Melodic Morenia:|
This concludes on Installing ROS Melodic into the COBOTTA. Proceed onto the Installing the COBOTTA Driver document.