gazebo configuration file(xacro file) cannot be loaded

asked 2020-09-08 01:37:32 -0500

makihara gravatar image

updated 2020-09-08 02:05:53 -0500

gvdhoorn gravatar image

I use UR10 and gazebo simulation, and I write code for launching UR10 model to gazebo. But I cannot run the code because of under error code.

inconsistent namespace redefinitions for xmlns:xacro:
 old: http://wiki.ros.org/xacro
 new: http://ros.org/wiki/xacro (/home/~/universal_robot/ur_e_description/urdf/common.gazebo.xacro)
inconsistent namespace redefinitions for xmlns:xacro:
 old: http://wiki.ros.org/xacro
 new: http://ros.org/wiki/xacro (/home/-/universal_robot/ur_e_description/urdf/ur10e.urdf.xacro)
xacro: Traditional processing is deprecated. Switch to --inorder processing!
To check for compatibility of your document, use option --check-order.
For more infos, see http://wiki.ros.org/xacro#Processing_Order
inconsistent namespace redefinitions for xmlns:xacro:
 old: http://wiki.ros.org/xacro
 new: http://ros.org/wiki/xacro (/home/-/universal_robot/ur_e_description/urdf/common.gazebo.xacro)
inconsistent namespace redefinitions for xmlns:xacro:
 old: http://wiki.ros.org/xacro
 new: http://ros.org/wiki/xacro (/home/-/universal_robot/ur_e_description/urdf/ur10e.urdf.xacro)
Undefined substitution argument scene None
when processing file: /home/-/description/scenes/urdf/ur10e_base_scene.urdf.xacro
while processing /home/-/bringup/launch/include/move_group.launch:
while processing /home/-/ur10e_moveit_config/launch/move_group.launch:
while processing /home/-/ur10e_moveit_config/launch/planning_context.launch:
Invalid <param> tag: Cannot load command parameter [robot_description]: command [xacro  '/home/-/description/scenes/urdf/ur10e_base_scene.urdf.xacro'] returned with code [2]. 

Param xml is <param command="xacro  '$(find description)/scenes/urdf/ur10e_base_scene.urdf.xacro'" if="$(arg load_robot_description)" name="$(arg robot_description)"/>
The traceback for the exception was written to the log file

Undefined substitution argument scene None is displayed in red color.

Could you tell me some advices?

Thank you

edit retag flag offensive close merge delete

Comments

According to the error, the problem is in /home/-/description/scenes/urdf/ur10e_base_scene.urdf.xacro, which appears to be a custom file made by you (?).

You'll have to check that file and see what is being done with the scene argument.

gvdhoorn gravatar image gvdhoorn  ( 2020-09-08 02:07:00 -0500 )edit