Closed xinsongyan closed 2 years ago
$ rosrun xacro xacro robot.xacro > robot.urdf Undefined substitution argument DEBUG when processing file: robot.xacro
In the robot.xacro file, Default value for DEBUG is not given. Maybe false by default?
<!-- Debug mode will hung up the robot, use "true" or "false" to switch it. --> <xacro:if value="$(arg DEBUG)"> <link name="world"/> <joint name="base_static_joint" type="fixed"> <origin rpy="0 0 0" xyz="0 0 0"/> <parent link="world"/> <child link="base"/> </joint> </xacro:if>
That's right. Some useless tags need be deleted by hand after $ rosrun xacro xacro Very thanks.
$ rosrun xacro xacro
In the robot.xacro file, Default value for DEBUG is not given. Maybe false by default?