Gazebo | Ignition | Community
Ask Your Question

How to work a differential drive robot on Gazebo?

asked 2022-01-26 06:13:10 -0500

RoBoTBiLL gravatar image


I am doing my dissertation project about differential drive robots, and I found this repo about Gazebo and ROS.

I have created my two py files and a launch file and made two files with this tutorial.

What else will I need to run my files and view them in the Gazebo?

What exactly are these files?

What exactly is the world folder and what does it contain?

PS. I don't have a real robot.

I appreciate any help you can provide.

My files are here:

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2022-02-12 07:56:59 -0500

With the following commands (see repo) you can start the gazebo environment and rviz (ros visualization) gui.

  • roslaunch myrobot_gazebo myrobot_world.launch (3D environment - gazebo)
  • roslaunch myrobot_description myrobot_rviz.launch ( visualization gui for visualizing ROS topics)

Offcourse ROS should be installed to do so.

What exactly are these files?

These are the files describing your robot. If you want to change the appearance of the robot. That's the place.

What exactly is the world folder and what does it contain?

The .world file describes your gazebo world. A first look you are using an empty world.

If you want to control the robot you will have to publish a rostopic ( cmd_vel)


edit flag offensive delete link more


Thanks a lot!

RoBoTBiLL gravatar imageRoBoTBiLL ( 2022-02-23 14:59:18 -0500 )edit

Question Tools

1 follower


Asked: 2022-01-26 03:43:27 -0500

Seen: 139 times

Last updated: Feb 12 '22