Code and examples for Learning ROS for Robotics Programming - 2nd Edition
C++ CMake Python Other
Latest commit afc45a0 Feb 22, 2017 @efernandez efernandez committed on GitHub Merge pull request #29 from AaronMR/remove_swp_file
Remove .swp file

Learning ROS for Robotics Programming - Second Edition

Learning ROS for Robotics Programming - Second Edition book tutorials source code.



Install ROS Hydro on a compatible Ubuntu distro following the official instructions provided here.

For ROS Indigo use the indigo-devel branch.

For ROS Jade use the jade-devel branch.

Install the OpenCV non-free repository:

sudo add-apt-repository --yes ppa:xqms/opencv-nonfree
sudo apt-get install libopencv-nonfree-dev libopencv-nonfree2.4

Create a workspace:

mkdir -p ~/dev/catkin_ws/src
cd ~/dev/catkin_ws/src
wstool init

Download this repository:

wstool set ros_book --git
wstool up -j8

Install the dependencies:

cd ..
rosdep install --from-paths src -iy

Build the source code (alternatively, you can use catkin build instead of catkin_make):

source /opt/ros/$(rosversion -d)/setup.bash
catkin_make -j4
source devel/setup.bash


  • Chapter 1: Getting started with ROS (no source code as it covers the installation)
  • Chapter 2: ROS Architecture and Concepts
  • Chapter 3: Visualization and Debug Tools
  • Chapter 4: Using Sensors and Actuators with ROS
  • Chapter 5: Computer Vision
  • Chapter 6: Point Clouds
  • Chapter 7: 3D Modeling and Simulation
  • Chapter 8: The Navigation Stack - Robot Setup
  • Chapter 9: The Navigation Stack - Beyond the Setup
  • Chapter 10: Manipulation with MoveIt!