ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
3

Is a dummy URDF joint for use with kdl kinematic chains recommended for creating a tool point?

asked 2011-10-10 16:01:40 -0500

updated 2011-11-04 10:51:31 -0500

(Edited to refer more specifically to URDF with KDL)

I'm using IK from KDL in combination with URDF models recently and noticed that in trying to solve for a tool point I seem to need to have a dummy (fixed) URDF joint at the end of the chain.

The reason this seems to be, unless I misunderstand, is that tips will always be at the origin of some link. Since the point I'm trying to manipulate is at the end of one of my links it seemed the only way to get the IK to solve for that position rather than at the joint & link origin, was to create a dummy fixed joint & link at the location.

This feels a bit wrong, and I'm thinking perhaps it's not the recommended use.

Is there a better way to do this, or is it just the way it's done?

edit retag flag offensive close merge delete

Comments

A few questions: How many degrees of freedom does your chain have without the dummy joint? What is the output you get without the dummy joint, and what's wrong with it?
Wim gravatar image Wim  ( 2011-10-17 11:39:25 -0500 )edit
Edited to try to clarify. I left out DoF as I'm hoping to answer the more conceptual question.
Asomerville gravatar image Asomerville  ( 2011-10-19 05:39:22 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-11-03 08:42:07 -0500

Wim gravatar image

updated 2011-12-15 05:47:41 -0500

A KDL Segment allows you to set the tip anywhere you want:

Segment::Segment(const std::string& _name, const Joint& _joint, const Frame& _f_tip, const RigidBodyInertia& _I)

So you should not need a dummy joint at the end of your chain.

But to create a 'tip' using a URDF description, you indeed need to add a dummy link

edit flag offensive delete link more

Comments

I think my confusion comes from the mismatch between URDF and KDL. There doesn't seem to be a way to designate the "tip" in URDF. Since "links" and "segments" are imperfect analogs, the fact that links don't dictate their child joint's reference frame the way segments seem to. I'll edit to clarify.
Asomerville gravatar image Asomerville  ( 2011-11-04 10:09:24 -0500 )edit
To create a 'tip' using a URDF description, you indeed need to add a dummy link.
Wim gravatar image Wim  ( 2011-12-14 15:40:02 -0500 )edit

Question Tools

3 followers

Stats

Asked: 2011-10-10 16:01:40 -0500

Seen: 1,474 times

Last updated: Dec 15 '11