ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Here is one way that can be done.
<arg name="foo"/>
<arg name="bar"/>
<arg name ="dir1" value="directory1"/>
<node pkg="rosbag" type="record" name="recorder" args="-o $(arg dir1)/($arg foo)"/>
and you launch this file like roslaunch my_pkg my_launch.launch foo:=$(rosparam get foo)
.