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

How To Define Special Arm Mechanism in URDF?

asked 2014-03-17 07:24:25 -0500

daalt gravatar image

updated 2016-10-24 08:36:25 -0500

ngrennan gravatar image

I have a concept for an arm that I'm trying to model in URDF and simulate in RViz using Moveit! The problem is that the joint angle for the second arm segment is dependent on the joint angle of the first arm segment (i.e., if the first segment rotates by theta, then so too will the second joint. You see this kind of mechanism used on certain desk lamps. The following YouTube video gives you a visual example of what I'm talking about:

   http://youtu.be/kb7sMt0lyDY

How should I go about modeling this in URDF? Rather than giving this arm a special treatment in URDF, is doing something in Moveit! an option so as to drive the kinematics of this unique type of mechanism?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-03-17 08:17:37 -0500

Sounds like you could achieve what you want using the 'mimic' urdf tag. Have a look at these related questions: 1, 2, 3, 4. As can be gathered from these discussions, there have been issues with the 'mimic' tag in the past, but these should hopefully largely be solved by now.

edit flag offensive delete link more

Comments

Good suggestion. However, the mimic tag would work if you just wanted to slave one joint to another. I still want to have some independent control over the second segment. I forgot to say that both motors will be located at the arm's base and will operate both segments independently via pulleys.

daalt gravatar image daalt  ( 2014-03-20 13:57:26 -0500 )edit

I think the mimic tag would work if OFFSET parameter could be tied to second segment's joint angle. e.g., first arm segment moves X deg relative to the base and second arm segment moves X - Y deg relative to the first arm segment where X and Y are the command joint angles from the motion planner.

daalt gravatar image daalt  ( 2014-03-20 13:59:44 -0500 )edit

Is it possible to make the MIMIC OFFSET parameter a variable? But I think the real solution is do something within TF so that these transformations are modeled correctly and the planning engine has full sight of them.

daalt gravatar image daalt  ( 2014-03-20 14:00:23 -0500 )edit

Question Tools

Stats

Asked: 2014-03-17 07:24:25 -0500

Seen: 284 times

Last updated: Mar 17 '14