ROS Tutorial

From Macro Wiki
Revision as of 17:42, 9 September 2017 by Mariana.fonseca (Talk | contribs)

Jump to: navigation, search


First setup your computer to accept software from

   sudo sh -c 'echo "deb $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

Next set up your keys:

   sudo apt-key adv --keyserver hkp:// --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116

Then, to install the ROS Indigo, do:

   sudo apt-get update
   sudo apt-get install ros-indigo-desktop-full

Initialize rosdep

Before you can use ROS, you will need to initialize rosdep:

   sudo rosdep init    
   rosdep update

Environment setup

It's convenient if the ROS environment variables are automatically added to your bash session every time a new shell is launched:

   echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc
   source ~/.bashrc