Skip to content

Commit aa23bcd

Browse files
authored
Shift inertia to base_footprint (#107)
Signed-off-by: Aarav Gupta <[email protected]>
1 parent b7de5ce commit aa23bcd

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

sam_bot_description/src/description/sam_bot_description.sdf

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,13 @@
8282
${base_length} ${base_width} ${base_height}
8383
</size></box>
8484
</geometry>
85-
</collision>
86-
87-
<xacro:box_inertia m="15" w="${base_width}" d="${base_length}" h="${base_height}"/>
85+
</collision>
8886
</link>
8987

9088
<!-- Robot Footprint -->
9189
<link name='base_footprint'>
9290
<pose relative_to="base_joint"/>
93-
<xacro:box_inertia m="0" w="0" d="0" h="0"/>
91+
<xacro:box_inertia m="15" w="${base_width}" d="${base_length}" h="${base_height}"/>
9492
</link>
9593

9694
<joint name='base_joint' type='fixed'>

sam_bot_description/src/description/sam_bot_description.urdf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,11 @@
5555
<box size="${base_length} ${base_width} ${base_height}"/>
5656
</geometry>
5757
</collision>
58-
59-
<xacro:box_inertia m="15" w="${base_width}" d="${base_length}" h="${base_height}"/>
6058
</link>
6159

6260
<!-- Robot Footprint -->
6361
<link name="base_footprint">
64-
<xacro:box_inertia m="0" w="0" d="0" h="0"/>
62+
<xacro:box_inertia m="15" w="${base_width}" d="${base_length}" h="${base_height}"/>
6563
</link>
6664

6765
<joint name="base_joint" type="fixed">

0 commit comments

Comments
 (0)