# Need context regarding rpy and xyz \<origin\> in \<link\> \<joint\>?

**URL:** <https://get-help.theconstruct.ai/t/need-context-regarding-rpy-and-xyz-origin-in-link-joint/1859>\
**Category:** URDF for Robot Modeling\
**Created:** [January 3, 2020, 2:08pm UTC](https://get-help.theconstruct.ai/t/need-context-regarding-rpy-and-xyz-origin-in-link-joint/1859 "2020-01-03T14:08:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vasank1958](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/vasank1958/32/10_2.png) [@vasank1958](https://get-help.theconstruct.ai/u/vasank1958)\
**Post date:** [January 3, 2020, 2:08pm UTC](https://get-help.theconstruct.ai/t/need-context-regarding-rpy-and-xyz-origin-in-link-joint/1859/1 "2020-01-03T14:08:29Z")

</div>

```
<?xml version="1.0"?>
<robot name="mira">
    <link name="base_link">
        <visual>
        <origin rpy="0 0 0" xyz="0 0 0"/>
        <geometry>
            <cylinder radius="0.06" length="0.09"/>
        </geometry>
        </visual>
    </link>
  
    <link name="roll_M1_link">
        <visual>
            <origin rpy="0 0 0" xyz="0 0 0"/>
            <geometry>
                <cylinder radius="0.06" length="0.09"/>
            </geometry>
        </visual>
    </link>
    
    <joint name="roll_joint" type="revolute">
        <parent link="base_link"/>
        <child link="roll_M1_link"/>
        <origin xyz="0.0023 0 -0.0005" rpy="0 0 0"/>
        <limit lower="-0.2" upper="0.2" effort="0.1" velocity="0.005"/>
        <axis xyz="1 0 0"/>
    </joint>
  
</robot>

```

what does rpy,xyz stand for ? how is the number calculated ?

---

<div class="post-metadata">

**Author:** ![ralves](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/ralves/32/7039_2.png) [@ralves](https://get-help.theconstruct.ai/u/ralves)\
**Post date:** [January 3, 2020, 9:36pm UTC](https://get-help.theconstruct.ai/t/need-context-regarding-rpy-and-xyz-origin-in-link-joint/1859/2 "2020-01-03T21:36:26Z")

</div>

Hi @vasank1958,

**xyz** is the position of the object in the 3D space and **rpy** stands for **row, pitch, yaw** and it’s used to determine the orientation/angle of the object.

This short video can give you a better idea about **row, pitch and yaw** : [https://www.youtube.com/watch?v=pQ24NtnaLl8](https://www.youtube.com/watch?v=pQ24NtnaLl8)

Please let us know in case you have further related questions.
