ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
if
and unless
can be used on any tag, not just group
, so you should be able to achieve what you want with something like:
<remap if="$(your_condition)" .. />
See also wiki/roslaunch/XML - If and unless attributes:
All tags support if and unless attributes, which include or exclude a tag based on the evaluation of a value [..]
(emphasis mine).