-
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.
[manipulation] Add UR3e model and TRI Homecart
This PR only contains a test that verifies that the model can be parsed correctly (through model directives, etc). But in a follow-up PR I will use this as a Drake example of bimanual motion planning with Graph of Convex Sets. These models were derived from the Anzu versions; with a few changes: - Anzu has "left/right" variants of the ur3e models, which set tighter joint limits for the homecart configuration. I felt that it was a little inelegant to put those in the ur3e directory (they should be homecart specific). We can add them later if need be. - I've used the simple wsg gripper models that were already in Drake instead of the fancier models in anzu. - I've named the directory `tri_homecart` instead of `homecart`.
- Loading branch information
1 parent
32e1c6f
commit bc3d665
Showing
22 changed files
with
1,848 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# -*- python -*- | ||
|
||
load( | ||
"@drake//tools/skylark:drake_cc.bzl", | ||
"drake_cc_googletest", | ||
) | ||
load("//tools/install:install_data.bzl", "install_data") | ||
load("//tools/lint:lint.bzl", "add_lint_tests") | ||
load("@drake//tools/workspace/ros_xacro_internal:defs.bzl", "xacro_file") | ||
load("@drake//tools/workspace:forward_files.bzl", "forward_files") | ||
load("//tools/workspace/models_internal:files.bzl", "tri_homecart_mesh_files") | ||
|
||
# This package is public so that other packages can refer to | ||
# individual files in model from their bazel rules. | ||
package( | ||
default_visibility = ["//visibility:public"], | ||
) | ||
|
||
# === test/ === | ||
|
||
drake_cc_googletest( | ||
name = "parse_homecart_test", | ||
srcs = ["test/parse_homecart_test.cc"], | ||
data = [ | ||
":models", | ||
"//manipulation/models/ur3e:models", | ||
"//manipulation/models/wsg_50_description:models", | ||
], | ||
deps = [ | ||
"//common:find_resource", | ||
"//multibody/parsing", | ||
], | ||
) | ||
|
||
xacro_file( | ||
name = "homecart_bimanual.urdf", | ||
src = "homecart_bimanual.urdf.xacro", | ||
) | ||
|
||
xacro_file( | ||
name = "homecart_cutting_board.sdf", | ||
src = "homecart_cutting_board.sdf.xacro", | ||
) | ||
|
||
_TRI_HOMECART_MESHES = forward_files( | ||
srcs = ["@models_internal//:" + x for x in tri_homecart_mesh_files()], | ||
dest_prefix = "", | ||
strip_prefix = "@models_internal//:tri_homecart/", | ||
visibility = ["//visibility:private"], | ||
) | ||
|
||
install_data( | ||
extra_prod_models = [ | ||
"homecart_bimanual.urdf", | ||
"homecart_cutting_board.sdf", | ||
] + _TRI_HOMECART_MESHES, | ||
) | ||
|
||
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,7 @@ | ||
# TRI HomeCart | ||
|
||
The HomeCart is a bimanual manipulation station developed at the Toyota | ||
Research Institute (TRI). The model files contained here are all developed by TRI | ||
and distributed under Drake's license. They represent a slightly simplified | ||
version of the model files used internally at TRI (most notably they are using | ||
a simplified version of the grippers). |
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,5 @@ | ||
directives: | ||
- add_directives: | ||
file: package://drake/manipulation/models/tri_homecart/homecart_no_grippers.yaml | ||
- add_directives: | ||
file: package://drake/manipulation/models/tri_homecart/homecart_grippers.yaml |
Oops, something went wrong.