Launching TurtleBot 3 simulation in Gazebo
Before launching TurtleBot 3 in Gazebo, set the environment variable for the Turtlebot 3 model you wish to use in the Gazebo simulation. Either burger
or waffle
can be selected for the model parameter:
$ export TURTLEBOT3_MODEL=burger
To start the simulation, type the following command:
$ roslaunch turtlebot3_gazebo turtlebot3_empty_world.launch
You should see the words Advertise odom on odom!
on the screen and a screenshot similar to the following:
Now let us try a more interesting scene with objects for TurtleBot to drive around. Use Quit on the Gazebo application from ...
Get ROS Robotics By Example - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.