-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
BUILD.bazel
299 lines (295 loc) · 18.5 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
load(
"@drake//tools/skylark:drake_cc.bzl",
"drake_cc_binary",
)
load("//tools/lint:lint.bzl", "add_lint_tests")
package(default_visibility = ["//visibility:public"])
filegroup(
name = "models",
srcs = [
"@drake_models//:atlas/LICENSE.TXT",
"@drake_models//:atlas/atlas_convex_hull.urdf",
"@drake_models//:atlas/atlas_minimal_contact.urdf",
"@drake_models//:atlas/materials/textures/atlas_DRC_1.png",
"@drake_models//:atlas/materials/textures/atlas_DRC_carbon_fiber.png",
"@drake_models//:atlas/materials/textures/atlas_DRC_dark_1.png",
"@drake_models//:atlas/materials/textures/atlas_cage_and_camera_diffuse_flat.jpg", # noqa
"@drake_models//:atlas/materials/textures/drc_extremities_diffuse.jpg",
"@drake_models//:atlas/materials/textures/drc_head_diffuse.png",
"@drake_models//:atlas/materials/textures/drc_labels_1.jpg",
"@drake_models//:atlas/materials/textures/drc_torso_head_diffuse.jpg",
"@drake_models//:atlas/materials/textures/extremities_diffuse.png",
"@drake_models//:atlas/materials/textures/extremities_diffuse_unplugged.jpg", # noqa
"@drake_models//:atlas/materials/textures/extremities_diffuse_unplugged_mit.jpg", # noqa
"@drake_models//:atlas/materials/textures/right_leg_diffuse_unplugged.jpg", # noqa
"@drake_models//:atlas/materials/textures/torso_diffuse.png",
"@drake_models//:atlas/materials/textures/torso_diffuse_unplugged.jpg",
"@drake_models//:atlas/materials/textures/torso_diffuse_unplugged_mit.jpg", # noqa
"@drake_models//:atlas/meshes/GRIPPER_OPEN_chull.obj",
"@drake_models//:atlas/meshes/GRIPPER_OPEN_chull.wrl",
"@drake_models//:atlas/meshes/chull.mlx",
"@drake_models//:atlas/meshes/head.obj",
"@drake_models//:atlas/meshes/head.wrl",
"@drake_models//:atlas/meshes/head_camera.obj",
"@drake_models//:atlas/meshes/head_camera.wrl",
"@drake_models//:atlas/meshes/head_camera_chull.obj",
"@drake_models//:atlas/meshes/head_chull.obj",
"@drake_models//:atlas/meshes/l_clav.vtm",
"@drake_models//:atlas/meshes/l_clav/l_clav_0.vtp",
"@drake_models//:atlas/meshes/l_farm.vtm",
"@drake_models//:atlas/meshes/l_farm/l_farm_0.vtp",
"@drake_models//:atlas/meshes/l_foot.obj",
"@drake_models//:atlas/meshes/l_foot.vtm",
"@drake_models//:atlas/meshes/l_foot.wrl",
"@drake_models//:atlas/meshes/l_foot/l_foot_0.vtp",
"@drake_models//:atlas/meshes/l_foot_chull.obj",
"@drake_models//:atlas/meshes/l_foot_chull.wrl",
"@drake_models//:atlas/meshes/l_hand.vtm",
"@drake_models//:atlas/meshes/l_hand/l_hand_0.vtp",
"@drake_models//:atlas/meshes/l_larm.vtm",
"@drake_models//:atlas/meshes/l_larm/l_larm_0.vtp",
"@drake_models//:atlas/meshes/l_lglut.obj",
"@drake_models//:atlas/meshes/l_lglut.vtm",
"@drake_models//:atlas/meshes/l_lglut.wrl",
"@drake_models//:atlas/meshes/l_lglut/l_lglut_0.vtp",
"@drake_models//:atlas/meshes/l_lglut_chull.obj",
"@drake_models//:atlas/meshes/l_lglut_chull.wrl",
"@drake_models//:atlas/meshes/l_lleg.obj",
"@drake_models//:atlas/meshes/l_lleg.vtm",
"@drake_models//:atlas/meshes/l_lleg.wrl",
"@drake_models//:atlas/meshes/l_lleg/l_lleg_0.vtp",
"@drake_models//:atlas/meshes/l_lleg_chull.obj",
"@drake_models//:atlas/meshes/l_lleg_chull.wrl",
"@drake_models//:atlas/meshes/l_scap.vtm",
"@drake_models//:atlas/meshes/l_scap/l_scap_0.vtp",
"@drake_models//:atlas/meshes/l_talus.obj",
"@drake_models//:atlas/meshes/l_talus.vtm",
"@drake_models//:atlas/meshes/l_talus.wrl",
"@drake_models//:atlas/meshes/l_talus/l_talus_0.vtp",
"@drake_models//:atlas/meshes/l_uarm.vtm",
"@drake_models//:atlas/meshes/l_uarm/l_uarm_0.vtp",
"@drake_models//:atlas/meshes/l_uglut.obj",
"@drake_models//:atlas/meshes/l_uglut.vtm",
"@drake_models//:atlas/meshes/l_uglut.wrl",
"@drake_models//:atlas/meshes/l_uglut/l_uglut_0.vtp",
"@drake_models//:atlas/meshes/l_uglut_chull.obj",
"@drake_models//:atlas/meshes/l_uglut_chull.wrl",
"@drake_models//:atlas/meshes/l_uleg.obj",
"@drake_models//:atlas/meshes/l_uleg.vtm",
"@drake_models//:atlas/meshes/l_uleg.wrl",
"@drake_models//:atlas/meshes/l_uleg/l_uleg_0.vtp",
"@drake_models//:atlas/meshes/l_uleg_chull.obj",
"@drake_models//:atlas/meshes/l_uleg_chull.wrl",
"@drake_models//:atlas/meshes/ltorso.obj",
"@drake_models//:atlas/meshes/ltorso.vtm",
"@drake_models//:atlas/meshes/ltorso.wrl",
"@drake_models//:atlas/meshes/ltorso/ltorso_0.vtp",
"@drake_models//:atlas/meshes/mtorso.obj",
"@drake_models//:atlas/meshes/mtorso.vtm",
"@drake_models//:atlas/meshes/mtorso.wrl",
"@drake_models//:atlas/meshes/mtorso/mtorso_0.vtp",
"@drake_models//:atlas/meshes/pelvis.obj",
"@drake_models//:atlas/meshes/pelvis.vtm",
"@drake_models//:atlas/meshes/pelvis.wrl",
"@drake_models//:atlas/meshes/pelvis/pelvis_0.vtp",
"@drake_models//:atlas/meshes/pelvis_chull.obj",
"@drake_models//:atlas/meshes/pelvis_chull.wrl",
"@drake_models//:atlas/meshes/r_clav.obj",
"@drake_models//:atlas/meshes/r_clav.vtm",
"@drake_models//:atlas/meshes/r_clav.wrl",
"@drake_models//:atlas/meshes/r_clav/r_clav_0.vtp",
"@drake_models//:atlas/meshes/r_clav_chull.obj",
"@drake_models//:atlas/meshes/r_clav_chull.wrl",
"@drake_models//:atlas/meshes/r_farm.obj",
"@drake_models//:atlas/meshes/r_farm.vtm",
"@drake_models//:atlas/meshes/r_farm.wrl",
"@drake_models//:atlas/meshes/r_farm/r_farm_0.vtp",
"@drake_models//:atlas/meshes/r_farm_chull.obj",
"@drake_models//:atlas/meshes/r_farm_chull.wrl",
"@drake_models//:atlas/meshes/r_foot.obj",
"@drake_models//:atlas/meshes/r_foot.vtm",
"@drake_models//:atlas/meshes/r_foot.wrl",
"@drake_models//:atlas/meshes/r_foot/r_foot_0.vtp",
"@drake_models//:atlas/meshes/r_foot_chull.obj",
"@drake_models//:atlas/meshes/r_foot_chull.wrl",
"@drake_models//:atlas/meshes/r_hand.obj",
"@drake_models//:atlas/meshes/r_hand.vtm",
"@drake_models//:atlas/meshes/r_hand.wrl",
"@drake_models//:atlas/meshes/r_hand/r_hand_0.vtp",
"@drake_models//:atlas/meshes/r_hand_chull.obj",
"@drake_models//:atlas/meshes/r_hand_chull.wrl",
"@drake_models//:atlas/meshes/r_larm.obj",
"@drake_models//:atlas/meshes/r_larm.vtm",
"@drake_models//:atlas/meshes/r_larm.wrl",
"@drake_models//:atlas/meshes/r_larm/r_larm_0.vtp",
"@drake_models//:atlas/meshes/r_larm_chull.obj",
"@drake_models//:atlas/meshes/r_larm_chull.wrl",
"@drake_models//:atlas/meshes/r_lglut.obj",
"@drake_models//:atlas/meshes/r_lglut.vtm",
"@drake_models//:atlas/meshes/r_lglut.wrl",
"@drake_models//:atlas/meshes/r_lglut/r_lglut_0.vtp",
"@drake_models//:atlas/meshes/r_lglut_chull.obj",
"@drake_models//:atlas/meshes/r_lglut_chull.wrl",
"@drake_models//:atlas/meshes/r_lleg.obj",
"@drake_models//:atlas/meshes/r_lleg.vtm",
"@drake_models//:atlas/meshes/r_lleg.wrl",
"@drake_models//:atlas/meshes/r_lleg/r_lleg_0.vtp",
"@drake_models//:atlas/meshes/r_lleg_chull.obj",
"@drake_models//:atlas/meshes/r_lleg_chull.wrl",
"@drake_models//:atlas/meshes/r_scap.obj",
"@drake_models//:atlas/meshes/r_scap.vtm",
"@drake_models//:atlas/meshes/r_scap.wrl",
"@drake_models//:atlas/meshes/r_scap/r_scap_0.vtp",
"@drake_models//:atlas/meshes/r_scap_chull.obj",
"@drake_models//:atlas/meshes/r_scap_chull.wrl",
"@drake_models//:atlas/meshes/r_talus.obj",
"@drake_models//:atlas/meshes/r_talus.vtm",
"@drake_models//:atlas/meshes/r_talus.wrl",
"@drake_models//:atlas/meshes/r_talus/r_talus_0.vtp",
"@drake_models//:atlas/meshes/r_uarm.obj",
"@drake_models//:atlas/meshes/r_uarm.vtm",
"@drake_models//:atlas/meshes/r_uarm.wrl",
"@drake_models//:atlas/meshes/r_uarm/r_uarm_0.vtp",
"@drake_models//:atlas/meshes/r_uarm_chull.obj",
"@drake_models//:atlas/meshes/r_uarm_chull.wrl",
"@drake_models//:atlas/meshes/r_uglut.obj",
"@drake_models//:atlas/meshes/r_uglut.vtm",
"@drake_models//:atlas/meshes/r_uglut.wrl",
"@drake_models//:atlas/meshes/r_uglut/r_uglut_0.vtp",
"@drake_models//:atlas/meshes/r_uglut_chull.obj",
"@drake_models//:atlas/meshes/r_uglut_chull.wrl",
"@drake_models//:atlas/meshes/r_uleg.obj",
"@drake_models//:atlas/meshes/r_uleg.vtm",
"@drake_models//:atlas/meshes/r_uleg.wrl",
"@drake_models//:atlas/meshes/r_uleg/r_uleg_0.vtp",
"@drake_models//:atlas/meshes/r_uleg_chull.obj",
"@drake_models//:atlas/meshes/r_uleg_chull.wrl",
"@drake_models//:atlas/meshes/s-model_articulated/collision/chull.mlx",
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_0.STL", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_0.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_0.wrl", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_0_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_0_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_0_chull.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_0_chull.wrl", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_0_chull_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_0_chull_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_1.STL", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_1.wrl", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_1_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_1_chull.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_1_chull.wrl", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_1_chull_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_1_chull_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_2.STL", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_2.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_2.wrl", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_2_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_2_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_2_chull.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_2_chull.wrl", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_2_chull_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_2_chull_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_3.STL", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_3.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_3.wrl", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_3_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_3_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_3_chull.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_3_chull.wrl", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_3_chull_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/link_3_chull_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/palm.STL", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/palm.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/palm.wrl", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/palm_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/palm_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/palm_chull.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/palm_chull.wrl", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/palm_chull_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/palm_chull_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/collision/simplify.mlx", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/chull.mlx", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_0.STL", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_0.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_0.wrl", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_0_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_0_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_0_chull.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_0_chull.wrl", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_0_chull_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_0_chull_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_1.STL", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_1.wrl", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_1_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_1_chull.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_1_chull.wrl", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_1_chull_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_1_chull_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_2.STL", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_2.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_2.wrl", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_2_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_2_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_2_chull.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_2_chull.wrl", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_2_chull_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_2_chull_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_3.STL", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_3.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_3.wrl", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_3_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_3_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_3_chull.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_3_chull.wrl", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_3_chull_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/link_3_chull_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/palm.STL", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/palm.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/palm.wrl", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/palm_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/palm_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/palm_chull.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/palm_chull.wrl", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/palm_chull_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/palm_chull_1_1.obj", # noqa
"@drake_models//:atlas/meshes/s-model_articulated/visual/simplify.mlx", # noqa
"@drake_models//:atlas/meshes/utorso.obj",
"@drake_models//:atlas/meshes/utorso.vtm",
"@drake_models//:atlas/meshes/utorso.wrl",
"@drake_models//:atlas/meshes/utorso/utorso_0.vtp",
"@drake_models//:atlas/meshes/utorso_chull.obj",
"@drake_models//:atlas/meshes/utorso_chull.wrl",
"@drake_models//:atlas/robotiq.urdf",
"@drake_models//:atlas/robotiq_box.urdf",
"@drake_models//:atlas/robotiq_simple.urdf",
"@drake_models//:atlas/robotiq_tendons.urdf",
],
)
drake_cc_binary(
name = "atlas_run_dynamics",
srcs = [
"atlas_run_dynamics.cc",
],
add_test_rule = 1,
data = [":models"],
# Smoke test.
test_rule_args = [
"--simulation_time=0.01",
"--simulator_target_realtime_rate=0.0",
],
deps = [
"//common:add_text_logging_gflags",
"//multibody/parsing",
"//systems/analysis:simulator",
"//systems/analysis:simulator_gflags",
"//systems/framework:diagram",
"//visualization:visualization_config_functions",
"@gflags",
],
)
add_lint_tests()