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 it works…

First of all, we will learn how to record some data as an example—we will use our program4 node, which was discussed in the previous section  Inspecting and diagnosing the ROS system . We will first launch the node as follows:

$ roslaunch chapter4_tutorials program4.launch

At the moment, we have two options: first, to record all the topics, and second, to record selective topics as follows, respectively:

$ rosbag record -a $ rosbag record /temperature

Once the experiment is completed, we can terminate the recording by hitting Ctrl + C in the running terminal.

We can explore more options with the rosbag help record, which includes the bag file size, the duration of the recording, options to split the files into several smaller ...

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