How to use urdf_to_graphiz command to see the link relationships of my xacro models?
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.
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.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.