Skip to Content
Hands-On ROS for Robotics Programming
book

Hands-On ROS for Robotics Programming

by Bernardo Ronquillo Japón
February 2020
Intermediate to advanced
432 pages
10h 50m
English
Packt Publishing
Content preview from Hands-On ROS for Robotics Programming

Cloning a ROS package

For the cloning option, we are going to use a basic GoPiGo3 ROS package that is publicly available in GitHub from https://github.com/ros-gopigo/gopigo3_node. Change to the src folder, which is the location where we will place all ROS packages, and then clone the source code:

$ cd ~/catkin_ws/src$ git clone https://github.com/ros-gopigo/gopigo3_node

Every time you add a new package, you have to rebuild the workspace so that ROS is aware of its existence and can add it to the execution environment. Hence, run the following commands:

$ cd ~/catkin_ws$ catkin_make

Now, you will see a number of lines indicating the progress in % and what the current building step is doing. If everything is okay, the last line displays 100% ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering ROS for Robotics Programming

Mastering ROS for Robotics Programming

Lentin Joseph
ROS Robotics By Example - Second Edition

ROS Robotics By Example - Second Edition

Lentin Joseph, Carol Fairchild, Dr. Thomas L. Harman

Publisher Resources

ISBN: 9781838551308Supplemental Content