Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 33e0320

Browse files
authoredNov 10, 2021
fix inertia on finger_edu & a1, ref Gepetto#68 (Gepetto#108)
1 parent 9a8c6f1 commit 33e0320

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed
 

‎robots/a1_description/urdf/a1.urdf

+20
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,11 @@
129129
<cylinder length="0.032" radius="0.041"/>
130130
</geometry>
131131
</collision>
132+
<inertial>
133+
<mass value="0"/>
134+
<origin rpy="0 0 0" xyz="0 0 0"/>
135+
<inertia ixx="0" ixy="0" ixz="0" iyy="0" iyz="0" izz="0"/>
136+
</inertial>
132137
</link>
133138
<joint name="FR_thigh_joint" type="revolute">
134139
<origin rpy="0 0 0" xyz="0 -0.0838 0"/>
@@ -251,6 +256,11 @@
251256
<cylinder length="0.032" radius="0.041"/>
252257
</geometry>
253258
</collision>
259+
<inertial>
260+
<mass value="0"/>
261+
<origin rpy="0 0 0" xyz="0 0 0"/>
262+
<inertia ixx="0" ixy="0" ixz="0" iyy="0" iyz="0" izz="0"/>
263+
</inertial>
254264
</link>
255265
<joint name="FL_thigh_joint" type="revolute">
256266
<origin rpy="0 0 0" xyz="0 0.0838 0"/>
@@ -373,6 +383,11 @@
373383
<cylinder length="0.032" radius="0.041"/>
374384
</geometry>
375385
</collision>
386+
<inertial>
387+
<mass value="0"/>
388+
<origin rpy="0 0 0" xyz="0 0 0"/>
389+
<inertia ixx="0" ixy="0" ixz="0" iyy="0" iyz="0" izz="0"/>
390+
</inertial>
376391
</link>
377392
<joint name="RR_thigh_joint" type="revolute">
378393
<origin rpy="0 0 0" xyz="0 -0.0838 0"/>
@@ -495,6 +510,11 @@
495510
<cylinder length="0.032" radius="0.041"/>
496511
</geometry>
497512
</collision>
513+
<inertial>
514+
<mass value="0"/>
515+
<origin rpy="0 0 0" xyz="0 0 0"/>
516+
<inertia ixx="0" ixy="0" ixz="0" iyy="0" iyz="0" izz="0"/>
517+
</inertial>
498518
</link>
499519
<joint name="RL_thigh_joint" type="revolute">
500520
<origin rpy="0 0 0" xyz="0 0.0838 0"/>

‎unittest/test_load.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def test_solo12(self):
9393
self.check('solo12', 19, 18)
9494

9595
def test_finger_edu(self):
96-
self.check('finger_edu', 3, 3)
96+
self.check('finger_edu', 3, 3, one_kg_bodies=['finger_base_link'])
9797

9898
def test_talos(self):
9999
self.check('talos', 39, 38)

0 commit comments

Comments
 (0)
Please sign in to comment.