How to use urdf_to_graphiz command to see the link relationships of my xacro models?

asked 2016-05-27 03:03:36 -0600

Yajing_Wang gravatar image

I have run the command :rosrun xacro xacro.py model.urdf.xacro -o model.urdf

But the generated urdf file has nothing in it. I have other xacro files included by model.urdf.xacro. Dose this lead to the failure? Or is there anything else I missed?

Any one who has idea of the problem, please give me some help. I would be really grateful.

edit retag flag offensive close merge delete

Comments

What distro are you running? Try rosrun xacro xacro --inorder model.urdf.xacro > model.urdf. But maybe write what distro you are using first. xacro.py is deprecated in newer distros.

JamesWell gravatar imageJamesWell ( 2016-06-03 12:29:27 -0600 )edit