ROS Jade : Installation
28 Aug 2015 #ros #ubuntu #roboticsWhat the heck is ROS anyway :
Robot Operating System (ROS) is a collection of software frameworks for robot software development, providing operating system-like functionality on a heterogeneous computer cluster.
So in layman terms, it just helps us build robot applications.
Previous post on ROS : Configuring ROS - Jade on Ubuntu 14.10
Note :
ROS Jade ONLY supports Trusty (14.04), Utopic (14.10) and Vivid (15.04) for debian packages. If you are on any other version of Ubuntu or have a different flavor of linux installed, I suggest you head over to wiki.ros.org.
Note that this guide is written keeping in mind that we are on Ubuntu 14.10 !
Requirements :
- Supported OS :
- Ubuntu Trusty(14.04)
- Ubuntu Utopic (14.10)
- Ubuntu Vivid (15.04)
- Minimum requirements :
- C++03
- C++11 features are not used, but code should compile when -std=c++11 is used
- Python 2.7 *Python 3.3 not required, but testing against it is recommended
- Lisp SBCL 1.1.14
- CMake 2.8.12
- Boost 1.54
Installation :
-
Configure your Ubuntu repositories :
- Configure your Ubuntu repositories to allow “restricted,” “universe,” and “multiverse.” You can follow follow the Ubuntu guide for completing this work.
-
Set up your sources.list
This can be done by running the following command in the terminal
- Set up your keys
Note that if you are behind a proxy, this command wont work. You will have to workaround that I guess(use a dongle maybe!)
- Installation
Make sure that Debian package index is up-to-date.
To make sure just do a
and you are good to go
For those running 14.04.2
If you are on 14.04.2, you have to manually fix the dependy issues,
DO NOT INSTALL THE BELOW PACKAGES IF YOU ARE ON 14.04, THIS WILL DESTROY YOUR X-SERVER. IN SHORT, YOU WONT BE ABLE TO SEE THE GUI OF YOUR OS AGAIN!
DO NOT INSTALL THE ABOVE PACKAGES IF YOU ARE ON 14.04, THIS WILL DESTROY YOUR X-SERVER. IN SHORT, YOU WONT BE ABLE TO SEE THE GUI OF YOUR OS AGAIN!
Alternatively you can try,
to fix the dependency issues.
For those running 14.04, 14.10 and 15.04
After that you can run the command to install the Desktop-Full Install which is the recommeded one by doing.
If everything is good uptil here, you should see the package manager downloading the required packages.
Get yourself a coffee or two
because it can take a helluva a time depending on the speed of your internet connection.
Initialize rosdep
Before you can use ROS, you will need to initialize rosdep. rosdep enables you to easily install system dependencies for source you want to compile and is required to run some core components in ROS.
Environment setup
It’s convenient if the ROS environment variables are automatically added to your bash session every time a new shell is launched:
Getting rosinstall
rosinstall is a frequently used command-line tool in ROS that is distributed separately. It enables you to easily download many source trees for ROS packages with one command.
For ubuntu users, just run
Finally
The next step would be to configure ROS, the steps of which can be found here
Now that you have installed ROS on your system, you can look forward to the ROS tutorials
Till then Goodbye!
References :
I could not have written this guide if the documentation had not been so crisp and straight forward. Kudos to the ROS development team!