ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can use if along with the $(eval <expression>) substitution as described in the roslaunch XML wiki.

$(eval <expression>) allows to evaluate arbitrary complex python expressions.