Conditional <remap>
I'd like to control topic remaps using roslaunch
command-line arguments (i.e. by setting ROS parameters).
Is there a way to cause a roslaunch
XML topic remap to be conditional? I'm looking for behavior like the <group if="$(arg remap)">
tag.
I tried putting a <remap>
into a <group>
, but this only seems to remap topics for the nodes in that group.