Gazebo | Ignition | Community
Ask Your Question
0

How to work a differential drive robot on Gazebo?

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

RoBoTBiLL gravatar image

Hello,

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: https://drive.google.com/drive/folder...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

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

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)

Succes!

edit flag offensive delete link more

Comments

Thanks a lot!

RoBoTBiLL gravatar imageRoBoTBiLL ( 2022-02-23 14:59:18 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

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

Seen: 60 times

Last updated: Feb 12