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

Passing arguments via rqt_launch plugin (ROS Launch GUI)

asked 2013-09-12 21:15:54 -0600

Sebastian G gravatar image

Hi all,

I'm trying to pass an argument to my node via the rqt pluging rqt_launch. But, whatever I type in the GUI into the field "arguments", the values are not passed to my node. Always the default value is passed.

Here the code of my launch-file:

<launch>
<arg name="foo" default="string"/>
<node name="some_other_node" pkg="some_other_pkg" type="some_other_type" />
<node name="node_with_arg" pkg="the_pkg" type="the_type" args="$(arg foo)"/>
</launch>

If I start it via command line and roslaunch, everthing is fine, e.g.:

roslaunch name.launch foo:=my_string

But the same syntax with foo:=my_string is not working in the ROS Launch GUI in the arguments field. What is the correct syntax to set an argument via rqt_launch plugin?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-09-13 18:24:29 -0600

130s gravatar image

Passing argument is not yet implemented unfortunately, and currently I don't have an extra gear to add that feature. If you or anyone could send a patch toward its devel repository https://github.com/ros-visualization/rqt_common_plugins/issues I'm happy to review it.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-09-12 21:15:54 -0600

Seen: 958 times

Last updated: Sep 12 '13