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

Object recognition in the real world

First, remember to point the ROS master URI to the robot as usual:

$ export ROS_MASTER_URI=http://gopigo3.local:11311

Apply this for every new Terminal in the laptop, or include the line in the .bashrc file. The physical robot configuration is as shown here, with GoPiGo3 in front of a small yellow ball:

Run the following two commands in two independent Terminals in the Raspberry Pi:

r1 $ roslaunch mygopigo gopigo3.launchr2 $ roslaunch raspicam_node camerav2_410x308_30fps.launch

The packages you are using in the preceding are the ones in Chapter 6, Programming in ROS- Commands and Tools. So make sure you ...

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