[ros-users] Remap does not work on gazebo_ros_prosilica

Dave Hershberger hersh at willowgarage.com
Sun Jun 24 00:21:14 UTC 2012

This sounds like a question for ROS Answers <http://answers.ros.org>.

On Sat, Jun 23, 2012 at 4:02 PM, marco.cognetti at libero.it <
marco.cognetti at libero.it> wrote:

> Hi everybody,
> I have a little (it might be also stupid one) for gazebo_ros_prosilica. I
> want
> to emulate multi-robot system with some robots equipped with cameras. I
> found
> gazebo_ros_prosilica 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 gazebo_ros_prosilica.
> 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):
> <node name="spawn_mobRob0" pkg="gazebo" type="spawn_model" args="-urdf
> -param
> mobRob_urdf -model mobRob0 -x 0 -y 0 -z 3" respawn="false" output="screen">
> <remap from="/camera_info" to="/myremap"/> </node>
> I also tried to modify the "from" field with /gazebo/camera_info,
> ~/gazebo/camera_info ~/camera_info without any result.
> Does anyone has the same problem? Could someone help me?
> Thanks a lot. Good work,
> Neostek
> P.S. My description of the camera are in another xacro file.  So
> launchFile -> robotXacro -> cameraXacro
> I do not think that it is the problem, but it is just for a complete
> explanation.
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20120623/261507e4/attachment-0004.html>

More information about the ros-users mailing list