Ask Your Question
2

remapping in launch files

asked 2012-12-26 17:51:33 -0500

updated 2012-12-27 08:57:53 -0500

joq gravatar image

Hi guys,

I have created a launch file that launches the camera1394 driver and displays the color image using the image_proc and image_view packages.

I am also trying to launch the dynamic_reconfigure node and connect it to the camera1394 node, however I am having a problem with the remapping, here is what I am trying to do in my launch file:

<node pkg="dynamic_reconfigure" type="testserver" name="dynamic_reconfigure">
  <remap from="XXX" to="camera1394_nodelet/parameter_updates" />
</node>

I am not sure where to get the XXX name from? Could someone please tell me where I can find the names of the inputs/outputs of a node(in general)from?

Thanks and regards, Khalid

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-12-27 09:02:46 -0500

joq gravatar image

updated 2012-12-28 08:52:39 -0500

Remap is for topics.

To bring up reconfigure_gui connected to that particular node, pass the node name as a command line argument:

<node pkg="dynamic_reconfigure" type="reconfigure_gui" name="camera_gui"
      args="camera1394_nodelet" />

That should be equivalent to this command line:

$ rosrun dynamic_reconfigure reconfigure_gui camera1394_nodelet
edit flag offensive delete link more

Comments

Thank you for your response, I added this line to my launch file, however the reconfigure_gui still does not pop up, I checked the nodes using rqt_gui and a node named reconfigure_gui appears but it is not connected to the driver or anything?

K_Yousif gravatar imageK_Yousif ( 2012-12-27 12:22:53 -0500 )edit

If you want the reconfigure_gui, you should use reconfigure_gui not the testserver executable.

tfoote gravatar imagetfoote ( 2012-12-28 02:09:50 -0500 )edit

Oops! Thanks, Tully, for pointing out that I had the parameters backwards. Fixed in the answer now.

joq gravatar imagejoq ( 2012-12-28 08:51:46 -0500 )edit

Thanks for the answer guys, this solves this issue.

K_Yousif gravatar imageK_Yousif ( 2012-12-28 13:46:51 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2012-12-26 17:51:33 -0500

Seen: 622 times

Last updated: Dec 28 '12