Understanding the URDF Tutorial

asked 2014-07-30 12:25:04 -0500

Andromeda gravatar image

updated 2014-07-30 12:28:16 -0500

I have problem to figure out what the tutorial on this page is proposing to explain.

In order:

  • Under "Completing the Kinematics" it states:

So, if you look at joint2, you see it rotates around the positive Y-axis. So, simple add the following xml to the joint element:

<axis xyz="0 1 0" />

But if you look in the code you will see:

  <joint name="joint2" type="continuous">
    <parent link="link1"/>
    <child link="link3"/>
    <origin xyz="-2 5 0" rpy="0 0 1.57" />
    <axis xyz="-0.707 0.707 0" />
  </joint>

Not really what it stated before.

  • Wachting the figure above it not really clear on which axis joints are orientated. To me, it looks like joint1, joint2, joint3 are rotating on an axis that is going inside the figure. In every 3 cases in Z. This is much more clear if one reads the above code, all three links are in the same plane, meaning that the only possible rotation is on Z (which is entering or escaping from the figure's plane). So to me should be: <axis xyz="0 0 1" /> for all three joints;
  • It is to me not clear how it gets the following axis rotations:

    <axis xyz="-0.9 0.15 0"/> <axis xyz="-0.707 0.707 0"/> <axis xyz="0.707 -0.707 0"/>

which is the reference frame? How should I get those values?

  • It seems to me that there is no "world frame" in the example. Does it mean, that the first link is always considered fixed and unmovable?

Pleae help me to understand the example, because I searched in internet but I was not able to find anything better the ROS' Turorials

Thanx in advance

edit retag flag offensive close merge delete

Comments

1

You might have better luck with the "Step by Step" tutorials listed here; http://wiki.ros.org/urdf/Tutorials

David Lu gravatar image David Lu  ( 2014-07-30 12:47:44 -0500 )edit

David, that page doesn t exist. Do you find the right link?

Andromeda gravatar image Andromeda  ( 2014-07-30 15:29:29 -0500 )edit
1

There is a bug in this page apparently. Copy the link by hand, or remove the

from after it.

David Lu gravatar image David Lu  ( 2014-07-30 15:53:15 -0500 )edit

Can anyone shed some light on this?

nicolae.rosia gravatar image nicolae.rosia  ( 2016-04-07 00:22:17 -0500 )edit
1

On what?!?

Andromeda gravatar image Andromeda  ( 2016-04-19 13:51:48 -0500 )edit