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

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

Yajing_Wang gravatar image

I have run the command :rosrun xacro 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


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

JamesWell gravatar image JamesWell  ( 2016-06-03 12:29:27 -0500 )edit

I too have similar problem; xacro models donot appear correctly in the urdf_to_graphiz plot. but appear correctly on rviz. Please address the issue. Using ROS Kinetic.

kodplayer gravatar image kodplayer  ( 2020-06-26 11:51:03 -0500 )edit