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

Do have any example how to evaluate the agrument with a condition block (http://wiki.ros.org/xacro) e.g load_camera:=1

<xacro:if value="<expression/substitution_arg>">
  <... some xml code here ...>
</xacro:if>

Do have any example how to evaluate the agrument with a condition block (http://wiki.ros.org/xacro) e.g load_camera:=1

<xacro:if value="<expression/substitution_arg>">
value="$(arg load_camera)">
  <... some xml code here ...>
</xacro:if>

is not working. :-(

Do have any example how I was able to use the argument to evaluate the agrument with a condition block (http://wiki.ros.org/xacro) conditional blocks e.g load_camera:=1

e.g. load_camera:=0
    <xacro:if value="$(arg load_camera)">
   <... some xml code here ...>
 </xacro:if>

is not working. :-(

I was able to use the argument to evaluate conditional blocks e.g. load_camera:=0 load_camera:=0

<xacro:if value="$(arg load_camera)">
   <... some xml code here ...>
 </xacro:if>

is not working. :-(

I was able to use the argument to evaluate conditional blocks e.g. load_camera:=0

<xacro:if value="$(arg load_camera)">
  <... some xml code here ...>
</xacro:if>

is not working. :-(

I was able to use the argument to evaluate conditional blocks e.g. load_camera:=0

<xacro:if value="$(arg load_camera)">
  <... some xml code here ...>
</xacro:if>