Skip to content
Snippets Groups Projects
Commit 8b63910c authored by Fernando Herrero's avatar Fernando Herrero
Browse files

urdf: move intertia to _body frame

parent d7ad66e9
No related branches found
No related tags found
1 merge request!1Melodic migration
...@@ -5,11 +5,6 @@ ...@@ -5,11 +5,6 @@
<link name="$(arg parent)"/> <link name="$(arg parent)"/>
<link name="$(arg frame)"> <link name="$(arg frame)">
<inertial>
<mass value="10000"/>
<origin xyz="0 0 0" rpy="0 0 0"/>
<inertia ixx="100" ixy="0" ixz="0" iyy="100" iyz="0" izz="100" />
</inertial>
<collision> <collision>
<origin xyz="0 0 0" rpy="0 0 0"/> <origin xyz="0 0 0" rpy="0 0 0"/>
<geometry> <geometry>
...@@ -31,4 +26,18 @@ ...@@ -31,4 +26,18 @@
<axis xyz="0 0 1"/> <axis xyz="0 0 1"/>
</joint> </joint>
<link name="$(arg frame)_body">
<inertial>
<mass value="10000"/>
<origin xyz="0 0 0" rpy="0 0 0"/>
<inertia ixx="100" ixy="0" ixz="0" iyy="100" iyz="0" izz="100" />
</inertial>
</link>
<joint name="$(arg frame)2$(arg frame)_body" type="fixed">
<parent link="$(arg frame)"/>
<child link="$(arg frame)_body"/>
<origin xyz="0 0 0" rpy="0 0 0"/>
</joint>
</robot> </robot>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment