ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
It just now occurred to me that the solution is to make a xacro macro wrap all the math on the arguments and the call to the macro reference the arg:
<xacro:macro name="foo" params="chassis_length" >
... do something with ${chassis_length/2}
<xacro::macro>
<xacro:foo chassis_length="$(arg chassis_length)">