Gazebo | Ignition | Community
Ask Your Question

Porblem with URDF model and tf_tree

asked 2020-10-08 07:41:28 -0500

GeorgNo gravatar image

Hello all,

I am developing a robot from scratch. I created a urdf model (see here) and when I run $ urdf_to_graphiz Last_Mile_Robot.urdf I receive a closed kinematic chain as depicted in the following picture:

Output of urdf_to_graphiz

But strangely when I visualize the robot description model in rviz the kinematic chain is broken, I verified this also using $ rosrun rqt_tf_tree rqt_tf_tree resulting in the following output: Output of tf_tree

The "front_right" and "front_left" links are connected to "chassis" using a continuous joint which looks like this (see code lines 165-172 & 190-197):

<joint name="front_right_hinge" type="continuous">   
<parent link="chassis"/>   
<child link="front_right"/>   
<axis xyz="0 0 1"/>   
<origin rpy="0.0 0.0 0.0" xyz="0.325 -0.325 -0.30"/>   
<limit effort="0.1" velocity="0.1"/>   

But when I change the type of said joints to fixed the kinematic chain is closed.

Any idea why this is happening?

Thanks in advance!

All the best, Georg

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-10-08 10:18:38 -0500

You are missing the joint states. You can use the joint_state_publisher for testing.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-10-08 07:41:28 -0500

Seen: 109 times

Last updated: Oct 08 '20