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

Changing the current location

First, we will cover roscd, which is equivalent to the Linux bash cd command. Its advantage is that you only have to specify the package name in order to move to the location of the package:

$ roscd mygopigo

This will take you to the ~/catkin_ws/src/mygopigo/ folder. You can also navigate through the package folder structure by appending the relative path of the desired location. For example, to move to the src folder of the mygopigo package, use the following command:

$ roscd mygopigo/src
roscd is equivalent to the Linux cd command. It will change the prompt to the directory of any ROS package in your system by referencing its path with the package name. No matter what the actual path is, ROS will automatically ...
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