Home | Tutorials | Wiki | Issues
Ask Your Question
0

(Solved)xacro: Traditional processing is deprecated?

asked 2017-05-10 06:24:05 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hello everyone.

I am trying to display a model in gazebo and I get the following warning:

image description

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_... xacro.py is deprecated; please use xacro instead

How can i solve this?

edit retag flag offensive close merge delete

Comments

This sounds like an XY problem. Is there a larger problem you're trying to solve? The xacro warning is just a warning. It means the robot description is written using xacro, and the roslaunch for it is not passing the --inorder flag. If you have written the robot description and the launch file then follow the link in your answer for instructions on making the warning go away. Otherwise it can be safely ignored.

sloretz gravatar imagesloretz ( 2017-05-10 11:31:21 -0500 )edit

How do I get the launch file to pass the --inorder flag? Should I add a line of code to the launch file to run inorder?

Daniel Tobon gravatar imageDaniel Tobon ( 2017-05-11 07:19:15 -0500 )edit

Use the args attribute on the node tag http://wiki.ros.org/roslaunch/XML/node

sloretz gravatar imagesloretz ( 2017-05-11 09:09:47 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-05-23 19:46:43 -0500

Daniel Tobon gravatar image

updated 2017-05-23 19:48:29 -0500

the solution is in the launch file:

< param name="robot_description" command="$(find xacro)/xacro --inorder $(arg model)" />

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-05-10 06:24:05 -0500

Seen: 291 times

Last updated: May 23