Ask Your Question

Using Gazebo Simulator with Pioneer3dx Model

asked 2015-08-13 13:12:34 -0500

thumper gravatar image

I have written code that I have run on MobileSim simulator for the Pioneer3dx model, and it runs on the actual robot, which used RosAria. Now I am trying to use the Gazebo simulator, since I need to use the physics engine, but I am getting really confused. I have looked online and gone through the Gazebo ROS tutorials but I still am not quite clear on what I need to do. Can I use ROS Aria in Gazebo? If so, how? If not, is there anything special I need for gazebo? How will I convert the code I had written for the robot using ROS Aria to the format Gazebo needs (because my code subscribes to topics such as /RosAria/pose and /RosAria/sonar, which will not not exist when ROS Aria is not running)? I am sorry for the million questions!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-05-16 13:53:25 -0500

ReedHedges gravatar image

rosaria can only communicate with either the Pioneer robot, or MobileSim which emulates the Pioneer robot. To use Gazebo, set up your launch configuration such that your client nodes connect to Gazebo's ROS interface rather than rosaria. Gazebo's libgazebo_ros_diff_drive plugin implements a differential drive controller with a similar ROS interface as rosaria (i.e. cmd_vel, odom topics, base_link, etc.). If you want to try the Gazebo and URDF configuration from and provide any feedback (via github or the ros-sig-pioneer mailing list), that would be very helpful for improving it.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2015-08-13 13:12:34 -0500

Seen: 558 times

Last updated: May 16 '17