Skip to Content
Robot Operating System Cookbook
book

Robot Operating System Cookbook

by Kumar Bipin
June 2018
Intermediate to advanced
484 pages
11h 36m
English
Packt Publishing
Content preview from Robot Operating System Cookbook

How to do it…

In this section, we will practice what we have learned until now. We will learn about ROS tools for navigating through the ROS filesystem and work with examples to practice setting up the ROS Workspace and the creation and building of a package and the metapackage. For creating the ROS workspace, we will perform the following steps:

  1. First, we will create our own workspace. In this workspace, we will centralize all the example source code used throughout this cookbook.
  2. Get the workspace that ROS is using, using the following command:
$ echo $ROS_PACKAGE_PATH

This will show an output similar to the following:

/opt/ros/kinetic/share:/opt/ros/kinetic/stacks 
  1.  Create and initialize the ROS workspace:
$ mkdir -p ~/catkin_ws/src ...
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

Mobile Intelligent Autonomous Systems

Mobile Intelligent Autonomous Systems

Jitendra R. Raol, Ajith K. Gopal
Wheeled Mobile Robotics

Wheeled Mobile Robotics

Gregor Klancar, Andrej Zdesar, Saso Blazic, Igor Skrjanc

Publisher Resources

ISBN: 9781783987443Supplemental Content