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

"xacro: in-order processing became default in ROS Melodic. You can drop the option" error

asked 2023-03-01 02:29:18 -0500

Speedtail765 gravatar image

updated 2023-03-01 06:25:13 -0500

Mike Scheutzow gravatar image Using the link I wrote all commands which is given in "Install on the host system" section.

When I try this command:

$ roslaunch ur3_sim simulation.launch

It gives error like this:

    ... logging to /home/ubuntu4/.ros/log/f2319ee2-b808-11ed-bb34-1be4f5885cab/roslaunch-ubuntu4-6223.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

xacro: in-order processing became default in ROS Melodic. You can drop the option.
No such file or directory: /home/ubuntu4/catkin_ws3/src/universal_robot/ur_description/urdf/common.gazebo.xacro [Errno 2] No such file or directory: '/home/ubuntu4/catkin_ws3/src/universal_robot/ur_description/urdf/common.gazebo.xacro'
when processing file: /home/ubuntu4/catkin_ws3/src/UR3_sim/ur3_sim_description/urdf/ur3_sim.urdf.xacro
RLException: while processing /home/ubuntu4/catkin_ws3/src/UR3_sim/ur3_sim_gazebo/launch/ur3_sim.launch:
while processing /home/ubuntu4/catkin_ws3/src/UR3_sim/ur3_sim_description/launch/ur3_sim_upload.launch:
Invalid <param> tag: Cannot load command parameter [robot_description]: command [['/opt/ros/noetic/lib/xacro/xacro', '--inorder', '/home/ubuntu4/catkin_ws3/src/UR3_sim/ur3_sim_description/urdf/ur3_sim.urdf.xacro', 'transmission_hw_interface:=hardware_interface/PositionJointInterface']] returned with code [2]. 

Param xml is <param name="robot_description" command="$(find xacro)/xacro --inorder '$(find ur3_sim_description)/urdf/ur3_sim.urdf.xacro' transmission_hw_interface:=$(arg transmission_hw_interface)"/>
The traceback for the exception was written to the log file
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2023-03-01 06:43:48 -0500

Mike Scheutzow gravatar image

updated 2023-03-01 06:48:27 -0500

The --inorder warning message in the title to this question is not the actual problem here.

The error "No such file" indicates that your UR3_sim/ur3_sim_description/urdf/ur3_sim.urdf.xacro file is not compatible with the newest universal_robot ros package. You need to fix the file paths inside that file.

edit flag offensive delete link more

Question Tools


Asked: 2023-03-01 02:29:18 -0500

Seen: 852 times

Last updated: Mar 01 '23