<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div></div><div><br></div><div><div>El 19/03/2010, a las 19:52, John Hsu escribió:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Miguel,<br><br>In general when describing the relative pose of two rigid bodies(links), a 6dof transform is used (as in tf).  That's the same approach taken in URDF.  To be more specific, the same transform is the <origin> tag in your <joint>-element.  In addition, for revolute, prismatic and fixed joints, the joint axis coincides with the child link origin.<br>

<br>If you need more information on conversion from D-H parameters to transforms between rigid body links, this <a href="http://www.ros.org/wiki/urdf/XML/Joint">link to the joint element definition</a> should help you get started.  Please let me know if you find the diagram(s) misleading or inadequate.   As usual, we always appreciate any comments or code (e.g. parser) contributions :)<br>

<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">For example, I find it quite confusing that the dimensions of the links are specified inside the joint element.<br>

</blockquote>
<br>I am not sure what you mean by above (<a href="http://www.ros.org/wiki/urdf/XML/Joint">here's the same link to the joint element definition</a>), can you please elaborate on the question a bit?<br><br>The dimensions of links are specified <a href="http://www.ros.org/wiki/urdf/XML/Link">here</a>, where you can specify the dimensions for <visual> and <collision> body dimensions.<br>

<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">Also, is the world frame oriented like it's shown on the schematic on the urdf tutorial page? With the y axis pointing upwards?<br>

</blockquote><div><br>I think you are referring to <a href="http://www.ros.org/wiki/urdf/Tutorials/Create%20your%20own%20urdf%20file">this page</a>?  The "World" frame is drawn to show how we define relative frame transforms between a sample set of frames.  You can view the "world" as a special link that's inertially fixed.  There is no requirement on how you define the "World" frame.  The informations captured in a robot description (URDF or DH) are simply relative transforms between frames that are attached to bodies and joints.  (So for example, you can take the tutorial screen and rotate it sideways, and the individual transforms between frames should remain valid).<br>

<br>As a side note, we are working on a URDF->COLLADA converter (<a href="https://code.ros.org/svn/ros-pkg/stacks/robot_model/trunk/collada_urdf/">package name collada_urdf in robot_model trunk</a>) should you be interested.<br>

<br>Hope I am answering your questions correctly.<br>Best,<br>John<br> </div><br><div class="gmail_quote">On Wed, Mar 17, 2010 at 10:41 AM, Miguel Prada <span dir="ltr"><<a href="mailto:miguel.register@gmail.com">miguel.register@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
I'm quite new to ROS and I'm trying to describe a simple robot manipulator using urdf format.<br>
<br>
I'm having some trouble understanding the convention used (and the parameters involved), and I just wanted to ask why is it that D-H convention is not used. Specially with it being a standard for describing manipulators, as far as I know.<br>


<br>
For example, I find it quite confusing that the dimensions of the links are specified inside the joint element.<br>
<br>
Also, is the world frame oriented like it's shown on the schematic on the urdf tutorial page? With the y axis pointing upwards?<br>
<br>
Thanks,<br>
Miguel.<br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</blockquote></div><br>
_______________________________________________<br>ros-users mailing list<br><a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>https://code.ros.org/mailman/listinfo/ros-users<br></blockquote></div><br></body></html>