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

Simulating GoPiGo3 with Gazebo

Recall the Gazebo simulation we performed in Chapter 5, Simulating the Robot Behavior with Gazebo, in the Launching the GoPiGo model in Gazebo section. Its files have been included in the sample code for this chapter so that we can use them as a starting point. Now, follow these steps:

  1. Launch the Gazebo environment with the GoPiGo3 model:
T1 $ roslaunch gazebo_control spawn.launch

Although you may find that the launch filename is different from what it was in the code of Chapter 5, Simulating the Robot Behavior with Gazebo, its content is exactly the same, that is, gopigo_gazebo.launch.

  1. Then, in another Terminal, list the relevant topics:
T2 $ rostopic list   /clock   /gazebo/link_states /gazebo/model_states ...
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