How to work a differential drive robot on Gazebo?
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/folders/15dCRU5oYzLnw4h2QmDFcYXN0CK9sC51h?usp=sharing
Asked by RoBoTBiLL on 2022-01-26 04:43:27 UTC
Answers
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!
Asked by Nobel on 2022-02-12 08:56:59 UTC
Comments
Thanks a lot!
Asked by RoBoTBiLL on 2022-02-23 15:59:18 UTC
Comments