Robotics StackExchange | Archived questions

Remap does not work on gazebo_ros_prosilica

Hi everybody,

I have a little (it might be also stupid one) for gazeborosprosilica. I want to emulate multi-robot system with some robots equipped with cameras. I found gazeborosprosilica is perfect for me since it uses opencv. So I created my launch files that includes the robots that includes the camera devices with their respective controller of type gazeborosprosilica.

The problem now is that all the controllers subscribes to /camera_info (and other topics with the same name but now I focused on this topic). Then I tried two different ways:

1) From the launch file I tried to get, from the xacro file of the robots, the nodeName without any success.

2) I tried to remap topics. I really tried a lot of permutation without any result. I guess the right solution is (from my launch file):

I also tried to modify the "from" field with /gazebo/camerainfo, ~/gazebo/camerainfo ~/camera_info without any result.

Does anyone has the same problem? Could someone help me?

Thanks a lot. Good work,

Neostek

Asked by Neostek on 2012-06-23 12:49:56 UTC

Comments

Answers