ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How can I link Rosaria with Gazebo ? (Pioneer 3DX)

asked 2017-05-12 17:52:50 -0500

Hdifsttar gravatar image

Hi, I've just recently begun to work on a pioneer P3DX. Before trying to get it moving, I wanted to try it on a simulator. I've run Aria with MobileSim fairly easily with the examples. So did I with RosAria and MobileSim following the tutorial and this : https://github.com/pengtang/rosaria_c...

But when it comes to Gazebo and RosAria, I'm lost. I made a P3DX move with https://github.com/SD-Robot-Vision/Pi... and https://github.com/SD-Robot-Vision/p3... , but it's with ROS. And since I ultimately want my robot moving in real life, I'm lost as how to get the RosAria example work on Gazebo. (Because i want the same code both working on Gazebo and on the P3DX)

And since I still don't understand all of this, even when reading this post about the exact same problem : http://answers.ros.org/question/25705... I'd wanted to know if someone could perhaps clarify it / help me on this.

I also found this, which pretty much is the same problem as mine : http://answers.ros.org/question/21581... but there was no answers as of today.

I've tried to be as clear as possible, sorry if I still sound confusing.

Hdifsttar

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-05-16 13:53:46 -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 https://github.com/MobileRobots/amr-ros-config 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

Comments

Thanks Reed, I get it now.

Hdifsttar gravatar image Hdifsttar  ( 2017-05-18 04:28:37 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2017-05-12 17:52:50 -0500

Seen: 790 times

Last updated: May 16 '17