-
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 (#21649)
And use it for testing the mujoco parser. Towards 20444 and 21648.
- Loading branch information
1 parent
ef7675a
commit 9037767
Showing
6 changed files
with
83 additions
and
6 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
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() |
28 changes: 28 additions & 0 deletions
28
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,28 @@ | ||
# -*- bazel -*- | ||
|
||
package(default_visibility = ["//visibility:public"]) | ||
|
||
# We maintain a different filegroup for each subdirectory of the repository, | ||
# and only once we have vetted the license (in the main LICENSE file). | ||
# | ||
# DO NOT ADD new subdirectories here unless and until you vet their LICENSE. | ||
|
||
filegroup( | ||
name = "google_robot", | ||
srcs = [ | ||
"google_robot/robot.xml", | ||
"google_robot/LICENSE", | ||
] + glob([ | ||
"google_robot/assets/*.obj", | ||
"google_robot/assets/*.png", | ||
"google_robot/assets/*.stl", | ||
]), | ||
) | ||
|
||
filegroup( | ||
name = "kuka_iiwa_14", | ||
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, | ||
) |