This sounds like a question for <a href="http://answers.ros.org">ROS Answers</a>.<br><br><div class="gmail_quote">On Sat, Jun 23, 2012 at 4:02 PM, <a href="mailto:marco.cognetti@libero.it">marco.cognetti@libero.it</a> <span dir="ltr"><<a href="mailto:marco.cognetti@libero.it" target="_blank">marco.cognetti@libero.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everybody,<br>
<br>
I have a little (it might be also stupid one) for gazebo_ros_prosilica. I want<br>
to emulate multi-robot system with some robots equipped with cameras. I found<br>
gazebo_ros_prosilica is perfect for me since it uses opencv. So I created my<br>
launch files that includes the robots that includes the camera devices with<br>
their respective controller of type gazebo_ros_prosilica.<br>
<br>
The problem now is that all the controllers subscribes to /camera_info (and<br>
other topics with the same name but now I focused on this topic). Then I tried<br>
two different ways:<br>
<br>
1) From the launch file I tried to get, from the xacro file of the robots, the<br>
nodeName without any success.<br>
<br>
2) I tried to remap topics. I really tried a lot of permutation without any<br>
result. I guess the right solution is (from my launch file):<br>
<br>
<node name="spawn_mobRob0" pkg="gazebo" type="spawn_model" args="-urdf -param<br>
mobRob_urdf -model mobRob0 -x 0 -y 0 -z 3" respawn="false" output="screen"><br>
<remap from="/camera_info" to="/myremap"/> </node><br>
<br>
I also tried to modify the "from" field with /gazebo/camera_info,<br>
~/gazebo/camera_info ~/camera_info without any result.<br>
<br>
Does anyone has the same problem? Could someone help me?<br>
<br>
Thanks a lot. Good work,<br>
<br>
Neostek<br>
<br>
P.S. My description of the camera are in another xacro file.  So<br>
<br>
launchFile -> robotXacro -> cameraXacro<br>
<br>
I do not think that it is the problem, but it is just for a complete<br>
explanation.<br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</blockquote></div><br>