-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mujoco_menagerie as a test-only dependency
- Loading branch information
1 parent
27d462a
commit 36492c2
Showing
8 changed files
with
173 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
load("//tools/lint:lint.bzl", "add_lint_tests") | ||
|
||
add_lint_tests() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# Keep the macros sorted alphabetically by macro name. | ||
# Keep the lists of files sorted alphabetically by filename. | ||
|
||
def mujoco_menagerie_files(): | ||
return [ | ||
"google_robot/robot.xml", | ||
"google_robot/LICENSE", | ||
"google_robot/assets/finger_base_texture.png", | ||
"google_robot/assets/finger_tip_texture.png", | ||
"google_robot/assets/link_base_0_00.stl", | ||
"google_robot/assets/link_base_0_01.stl", | ||
"google_robot/assets/link_base_1_00.stl", | ||
"google_robot/assets/link_base_1_01.stl", | ||
"google_robot/assets/link_base_1_02.stl", | ||
"google_robot/assets/link_base_1_03.stl", | ||
"google_robot/assets/link_base_1_04.stl", | ||
"google_robot/assets/link_base_1_05.stl", | ||
"google_robot/assets/link_base_1_06.stl", | ||
"google_robot/assets/link_base_1_07.stl", | ||
"google_robot/assets/link_base_1_08.stl", | ||
"google_robot/assets/link_base_1_09.stl", | ||
"google_robot/assets/link_base_1_10.stl", | ||
"google_robot/assets/link_base_1_11.stl", | ||
"google_robot/assets/link_base_1_12.stl", | ||
"google_robot/assets/link_base_1_13.stl", | ||
"google_robot/assets/link_base_1_14.stl", | ||
"google_robot/assets/link_base_1_15.stl", | ||
"google_robot/assets/link_base_1_16.stl", | ||
"google_robot/assets/link_base_1_17.stl", | ||
"google_robot/assets/link_base_1_18.stl", | ||
"google_robot/assets/link_base_1_19.stl", | ||
"google_robot/assets/link_base_v.obj", | ||
"google_robot/assets/link_bicep.stl", | ||
"google_robot/assets/link_bicep_v.obj", | ||
"google_robot/assets/link_elbow.stl", | ||
"google_robot/assets/link_elbow_v.obj", | ||
"google_robot/assets/link_finger_base.stl", | ||
"google_robot/assets/link_finger_base_v.obj", | ||
"google_robot/assets/link_finger_tip.stl", | ||
"google_robot/assets/link_finger_tip_v.obj", | ||
"google_robot/assets/link_forearm.stl", | ||
"google_robot/assets/link_forearm_v.obj", | ||
"google_robot/assets/link_gripper.stl", | ||
"google_robot/assets/link_gripper_v.obj", | ||
"google_robot/assets/link_head_pan.stl", | ||
"google_robot/assets/link_head_pan_v.obj", | ||
"google_robot/assets/link_head_tilt.stl", | ||
"google_robot/assets/link_head_tilt_v.obj", | ||
"google_robot/assets/link_shoulder.stl", | ||
"google_robot/assets/link_shoulder_v.obj", | ||
"google_robot/assets/link_torso_00.stl", | ||
"google_robot/assets/link_torso_01.stl", | ||
"google_robot/assets/link_torso_v.obj", | ||
"google_robot/assets/link_wheel_v.obj", | ||
"google_robot/assets/link_wrist.stl", | ||
"google_robot/assets/link_wrist_v.obj", | ||
"google_robot/assets/robot_texture.png", | ||
] + [ | ||
"kuka_iiwa_14/iiwa14.xml", | ||
"kuka_iiwa_14/LICENSE", | ||
"kuka_iiwa_14/assets/band.obj", | ||
"kuka_iiwa_14/assets/kuka.obj", | ||
"kuka_iiwa_14/assets/link_0.obj", | ||
"kuka_iiwa_14/assets/link_1.obj", | ||
"kuka_iiwa_14/assets/link_2_grey.obj", | ||
"kuka_iiwa_14/assets/link_2_orange.obj", | ||
"kuka_iiwa_14/assets/link_3.obj", | ||
"kuka_iiwa_14/assets/link_4_grey.obj", | ||
"kuka_iiwa_14/assets/link_4_orange.obj", | ||
"kuka_iiwa_14/assets/link_5.obj", | ||
"kuka_iiwa_14/assets/link_6_grey.obj", | ||
"kuka_iiwa_14/assets/link_6_orange.obj", | ||
"kuka_iiwa_14/assets/link_7.obj", | ||
] |
27 changes: 27 additions & 0 deletions
27
tools/workspace/mujoco_menagerie_internal/package.BUILD.bazel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# -*- bazel -*- | ||
|
||
package(default_visibility = ["//visibility:public"]) | ||
|
||
# We maintain a different export_files for each subdirectory of the repository, | ||
# and only once we have vetted the license (in the main LICENSE file). | ||
|
||
# google_robot | ||
exports_files( | ||
srcs = [ | ||
"google_robot/robot.xml", | ||
"google_robot/LICENSE", | ||
] + glob([ | ||
"google_robot/assets/*.obj", | ||
"google_robot/assets/*.png", | ||
"google_robot/assets/*.stl", | ||
]), | ||
) | ||
|
||
# kuka_iiwa_14 | ||
exports_files( | ||
srcs = [ | ||
"kuka_iiwa_14/iiwa14.xml", | ||
"kuka_iiwa_14/LICENSE", | ||
] + glob(["kuka_iiwa_14/assets/*.obj"]), | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
load("//tools/workspace:github.bzl", "github_archive") | ||
|
||
def mujoco_menagerie_internal_repository( | ||
name, | ||
mirrors = None): | ||
github_archive( | ||
name = name, | ||
repository = "google-deepmind/mujoco_menagerie", | ||
commit = "af493511dbdfce2e046858a4d2f2955e063e17fd", | ||
sha256 = "2975d9a03728bf1b8a2b7d2b14e62bc8d411031b73264e797dcce649bbf4811c", # noqa | ||
build_file = ":package.BUILD.bazel", | ||
mirrors = mirrors, | ||
) |