Passing arg between launches
Hi,
I have a master .launch file that runs another .launch.
My problem is when i do the example of the ( http://wiki.ros.org/roslaunch/XML/arg ), i get an error message included file [/home/user/catkin_ws/src/] requires the 'test' arg to be set
.
<launch>
<group if="$(arg cam)">
<include file="$(find openni_launch)/launch/openni.launch">
<arg name="Kinect" value="1.5" />
</include>
</group>
</launch>
And on the other file i have:
<launch>
<arg name="Kinect"/>
....
<param name="Test" value="$(arg Kinect)"/>
</launch>
Anyone can help me?
Thanks