Skip to content

Commit 8c67bc9

Browse files
Add quadruped tags to descriptions
1 parent 658ac36 commit 8c67bc9

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

robot_descriptions/_descriptions.py

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -51,25 +51,25 @@ def has_urdf(self) -> bool:
5151

5252

5353
DESCRIPTIONS: Dict[str, Description] = {
54-
"a1_description": Description(Format.URDF),
55-
"a1_mj_description": Description(Format.MJCF),
54+
"a1_description": Description(Format.URDF, tags={"quadruped"}),
55+
"a1_mj_description": Description(Format.MJCF, tags={"quadruped"}),
5656
"ability_hand_description": Description(Format.URDF),
5757
"ability_hand_mj_description": Description(Format.MJCF),
58-
"aliengo_description": Description(Format.URDF),
59-
"aliengo_mj_description": Description(Format.MJCF),
58+
"aliengo_description": Description(Format.URDF, tags={"quadruped"}),
59+
"aliengo_mj_description": Description(Format.MJCF, tags={"quadruped"}),
6060
"allegro_hand_description": Description(Format.URDF),
6161
"allegro_hand_mj_description": Description(Format.MJCF),
6262
"aloha_mj_description": Description(Format.MJCF),
63-
"anymal_b_description": Description(Format.URDF),
64-
"anymal_b_mj_description": Description(Format.MJCF),
65-
"anymal_c_description": Description(Format.URDF),
66-
"anymal_c_mj_description": Description(Format.MJCF),
67-
"anymal_d_description": Description(Format.URDF),
63+
"anymal_b_description": Description(Format.URDF, tags={"quadruped"}),
64+
"anymal_b_mj_description": Description(Format.MJCF, tags={"quadruped"}),
65+
"anymal_c_description": Description(Format.URDF, tags={"quadruped"}),
66+
"anymal_c_mj_description": Description(Format.MJCF, tags={"quadruped"}),
67+
"anymal_d_description": Description(Format.URDF, tags={"quadruped"}),
6868
"apollo_mj_description": Description(Format.MJCF),
6969
"atlas_drc_description": Description(Format.URDF),
7070
"atlas_v4_description": Description(Format.URDF),
71-
"b1_description": Description(Format.URDF),
72-
"b2_description": Description(Format.URDF),
71+
"b1_description": Description(Format.URDF, tags={"quadruped"}),
72+
"b2_description": Description(Format.URDF, tags={"quadruped"}),
7373
"barrett_hand_description": Description(Format.URDF),
7474
"baxter_description": Description(Format.URDF),
7575
"berkeley_humanoid_description": Description(Format.URDF),
@@ -93,24 +93,26 @@ def has_urdf(self) -> bool:
9393
"gen3_description": Description(Format.URDF),
9494
"gen3_mj_description": Description(Format.MJCF),
9595
"ginger_description": Description(Format.URDF),
96-
"go1_description": Description(Format.URDF),
97-
"go1_mj_description": Description(Format.MJCF),
96+
"go1_description": Description(Format.URDF, tags={"quadruped"}),
97+
"go1_mj_description": Description(Format.MJCF, tags={"quadruped"}),
98+
"go2_description": Description(Format.URDF, tags={"quadruped"}),
99+
"go2_mj_description": Description(Format.MJCF, tags={"quadruped"}),
98100
"g1_description": Description(Format.URDF),
99101
"h1_description": Description(Format.URDF),
100102
"h1_mj_description": Description(Format.MJCF),
101-
"hyq_description": Description(Format.URDF),
103+
"hyq_description": Description(Format.URDF, tags={"quadruped"}),
102104
"icub_description": Description(Format.URDF),
103105
"iiwa7_description": Description(Format.URDF),
104106
"iiwa14_description": Description(Format.URDF),
105107
"iiwa14_mj_description": Description(Format.MJCF),
106108
"jaxon_description": Description(Format.URDF),
107109
"jvrc_description": Description(Format.URDF),
108110
"jvrc_mj_description": Description(Format.MJCF),
109-
"laikago_description": Description(Format.URDF),
111+
"laikago_description": Description(Format.URDF, tags={"quadruped"}),
110112
"leap_hand_v1": Description(Format.URDF),
111113
"leap_hand_mj_description": Description(Format.MJCF),
112-
"mini_cheetah_description": Description(Format.URDF),
113-
"minitaur_description": Description(Format.URDF),
114+
"mini_cheetah_description": Description(Format.URDF, tags={"quadruped"}),
115+
"minitaur_description": Description(Format.URDF, tags={"quadruped"}),
114116
"nextage_description": Description(Format.URDF),
115117
"op3_mj_description": Description(Format.MJCF),
116118
"panda_description": Description(Format.URDF),

0 commit comments

Comments
 (0)