Skip to content

Commit

Permalink
Shift inertia to base_footprint
Browse files Browse the repository at this point in the history
  • Loading branch information
Amronos committed Feb 20, 2025
1 parent b7de5ce commit a6c1de5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 2 additions & 4 deletions sam_bot_description/src/description/sam_bot_description.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,13 @@
${base_length} ${base_width} ${base_height}
</size></box>
</geometry>
</collision>

<xacro:box_inertia m="15" w="${base_width}" d="${base_length}" h="${base_height}"/>
</collision>
</link>

<!-- Robot Footprint -->
<link name='base_footprint'>
<pose relative_to="base_joint"/>
<xacro:box_inertia m="0" w="0" d="0" h="0"/>
<xacro:box_inertia m="15" w="${base_width}" d="${base_length}" h="${base_height}"/>
</link>

<joint name='base_joint' type='fixed'>
Expand Down
4 changes: 1 addition & 3 deletions sam_bot_description/src/description/sam_bot_description.urdf
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,11 @@
<box size="${base_length} ${base_width} ${base_height}"/>
</geometry>
</collision>

<xacro:box_inertia m="15" w="${base_width}" d="${base_length}" h="${base_height}"/>
</link>

<!-- Robot Footprint -->
<link name="base_footprint">
<xacro:box_inertia m="0" w="0" d="0" h="0"/>
<xacro:box_inertia m="15" w="${base_width}" d="${base_length}" h="${base_height}"/>
</link>

<joint name="base_joint" type="fixed">
Expand Down

0 comments on commit a6c1de5

Please sign in to comment.