Skip to content

Commit 5d25a25

Browse files
stephane-caronStéphane Caron
authored andcommitted
WIP: Start ValueError issue exception for Pinocchio tests
1 parent d3bbc6a commit 5d25a25

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

robot_descriptions/_descriptions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,15 @@ def has_urdf(self) -> bool:
7575
# "a1_mj_description": Description(Format.MJCF),
7676
# "aliengo_description": Description(Format.MJCF),
7777
# "allegro_hand_description": Description(Format.URDF),
78-
"anymal_b_description": Description(Format.URDF),
78+
# "anymal_b_description": Description(Format.URDF),
7979
# "anymal_b_mj_description": Description(Format.MJCF),
8080
# "anymal_c_description": Description(Format.URDF),
8181
# "anymal_c_mj_description": Description(Format.MJCF),
8282
# "atlas_drc_description": Description(Format.URDF),
8383
# "atlas_v4_description": Description(Format.URDF),
8484
# "baxter_description": Description(Format.URDF),
85-
# "bolt_description": Description(Format.URDF),
86-
# "cassie_description": Description(Format.URDF),
85+
"bolt_description": Description(Format.URDF),
86+
"cassie_description": Description(Format.URDF),
8787
# "cassie_mj_description": Description(Format.MJCF),
8888
# "cf2_description": Description(Format.URDF),
8989
# "double_pendulum_description": Description(Format.URDF),

tests/test_pinocchio.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,19 @@ def test(self):
6363
"pr2_description",
6464
}
6565

66+
VALUE_ERROR_ISSUE = {
67+
"anymal_b_description",
68+
}
69+
6670
for name, description in DESCRIPTIONS.items():
6771
if name in USE_RELATIVE_PATHS:
6872
# Those descriptions won't pass until the following fix hits release:
6973
# Issue: https://github.com/stack-of-tasks/pinocchio/issues/1741
7074
# PR: https://github.com/stack-of-tasks/pinocchio/pull/1742
7175
continue
76+
if name in VALUE_ERROR_ISSUE:
77+
# ValueError: Argument geometry_model should be a GeometryModel
78+
continue
7279
if description.has_urdf:
7380
setattr(
7481
TestPinocchio,

0 commit comments

Comments
 (0)