I am currently using a conditional line in a roslaunch file as shown below:
<arg name="cond1" value="true"/>
<node pkg="PKG" type="TYPE" name="NAME" unless="$(arg cond1)">
...
However I wish to have this node not load if EITHER cond1 or cond2 is set. No combination of
<arg name="cond2" value="false"/>
unless="$(arg cond1 or cond2)"
unless="$(arg cond1) or $(arg cond2)"
seems to work, returning the error:
$(arg var) may only specify one arg
How do I use boolean operators (AND or OR) in the roslaunch XML syntax?
Many thanks
Originally posted by Arrakis on ROS Answers with karma: 163 on 2013-01-05
Post score: 2