Skip to content

Commit

Permalink
Remove inertia for caster in webots
Browse files Browse the repository at this point in the history
Signed-off-by: IDavGal <[email protected]>
  • Loading branch information
IDavGal committed Jul 12, 2023
1 parent 2cfcfe8 commit e79f024
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion noah_description/urdf/accurate_noah.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


<xacro:property name="M_PI" value="3.14159" />

<xacro:property name="simulator" value="webots"/>
<!-- Whole accurate_base_link dimensions -->
<xacro:property name="base_width" value="0.16426" />
<xacro:property name="base_depth" value="0.19" />
Expand Down
11 changes: 6 additions & 5 deletions noah_description/urdf/caster_link.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@

<!-- caster description, simple sphere with no friction (ping pong ball) -->
<link name="caster_link">

<inertial>
<mass value="0.003" />
<inertia ixx="0.000000968" ixy="0" ixz="0" iyy="0.000000968" iyz="0" izz="0.000000968" />
</inertial>
<xacro:unless value="${simulator == 'webots'}">
<inertial>
<mass value="0.003" />
<inertia ixx="0.000000968" ixy="0" ixz="0" iyy="0.000000968" iyz="0" izz="0.000000968" />
</inertial>
</xacro:unless>

<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
Expand Down

0 comments on commit e79f024

Please sign in to comment.