ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

in Kinetic,you can use "eval"

like this

if="$(eval model == '123')"

and your code should be written like this

<arg name="mode" default="simulate"/> 
<group unless="$(eval mode == 'simulate')">
     <!-- start a second node -->
</group>

in Kinetic,you Since ROS Kinetic onward, you can use "eval"eval.

like this

if="$(eval model == '123')"

and your code should be written like this

<arg name="mode" default="simulate"/> 
<group unless="$(eval mode == 'simulate')">
     <!-- start a second node -->
</group>