AaronMR / Learning_ROS_for_Robotics_Programming_2nd_edition

Code and examples for Learning ROS for Robotics Programming - 2nd Edition
450 stars 307 forks source link

Learning ROS for Robotics Programming - Second Edition

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

Authors

Installation

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 git@github.com:AaronMR/Learning_ROS_for_Robotics_Programming_2nd_edition.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

Tutorials