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

The Pi Camera

First, we need to record a session with the robot:

T1 $ roslaunch raspicam_node camerav2_410x308_30fps.launchT2 $ rosbag record /raspicam_node/image/compressed

Check the information about the recorded file:

$ rosbag info 2019-08-15-20-44-53_raspicamImage.bagpath: 2019-08-15-20-44-53_raspicamImage.bagversion: 2.0duration: 13.3sstart: Aug 15 2019 20:44:54.09 (1565894694.09)end: Aug 15 2019 20:45:07.38 (1565894707.38)size: 37.5 MBmessages: 400compression: none [47/47 chunks]types: sensor_msgs/CompressedImage [8f7a12909da2c9d3332d540a0977563f]topics: /raspicam_node/image/compressed 400 msgs : sensor_msgs/CompressedImage

You can perform the playback wherever you want, using the robot or the laptop. In this case, the image data is ...

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