Gazebo | Ignition | Community
Ask Your Question
0

Porblem with URDF model and tf_tree

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

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"/>   
</joint>

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
1

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

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

Stats

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

Seen: 122 times

Last updated: Oct 08 '20