diff --git a/manipulation/models/allegro_hand_description/sdf/allegro_hand_description_left.sdf b/manipulation/models/allegro_hand_description/sdf/allegro_hand_description_left.sdf index 536061ce61a0..763ea4307694 100644 --- a/manipulation/models/allegro_hand_description/sdf/allegro_hand_description_left.sdf +++ b/manipulation/models/allegro_hand_description/sdf/allegro_hand_description_left.sdf @@ -52,7 +52,7 @@ 1 1 1 - ../meshes/base_link_left.obj + package://allegro_hand_description/meshes/base_link_left.obj @@ -82,7 +82,7 @@ 1 1 1 - ../meshes/link_0.0.obj + package://allegro_hand_description/meshes/link_0.0.obj @@ -127,7 +127,7 @@ 1 1 1 - ../meshes/link_1.0.obj + package://allegro_hand_description/meshes/link_1.0.obj @@ -172,7 +172,7 @@ 1 1 1 - ../meshes/link_2.0.obj + package://allegro_hand_description/meshes/link_2.0.obj @@ -225,7 +225,7 @@ 1 1 1 - ../meshes/link_3.0.obj + package://allegro_hand_description/meshes/link_3.0.obj @@ -234,7 +234,7 @@ 1 1 1 - ../meshes/link_3.0_tip.obj + package://allegro_hand_description/meshes/link_3.0_tip.obj @@ -280,7 +280,7 @@ 1 1 1 - ../meshes/link_12.0_left.obj + package://allegro_hand_description/meshes/link_12.0_left.obj @@ -327,7 +327,7 @@ 1 1 1 - ../meshes/link_13.0.obj + package://allegro_hand_description/meshes/link_13.0.obj @@ -372,7 +372,7 @@ 1 1 1 - ../meshes/link_14.0.obj + package://allegro_hand_description/meshes/link_14.0.obj @@ -426,7 +426,7 @@ 1 1 1 - ../meshes/link_15.0.obj + package://allegro_hand_description/meshes/link_15.0.obj @@ -435,7 +435,7 @@ 1 1 1 - ../meshes/link_15.0_tip.obj + package://allegro_hand_description/meshes/link_15.0_tip.obj @@ -480,7 +480,7 @@ 1 1 1 - ../meshes/link_0.0.obj + package://allegro_hand_description/meshes/link_0.0.obj @@ -525,7 +525,7 @@ 1 1 1 - ../meshes/link_1.0.obj + package://allegro_hand_description/meshes/link_1.0.obj @@ -570,7 +570,7 @@ 1 1 1 - ../meshes/link_2.0.obj + package://allegro_hand_description/meshes/link_2.0.obj @@ -623,7 +623,7 @@ 1 1 1 - ../meshes/link_3.0.obj + package://allegro_hand_description/meshes/link_3.0.obj @@ -632,7 +632,7 @@ 1 1 1 - ../meshes/link_3.0_tip.obj + package://allegro_hand_description/meshes/link_3.0_tip.obj @@ -677,7 +677,7 @@ 1 1 1 - ../meshes/link_0.0.obj + package://allegro_hand_description/meshes/link_0.0.obj @@ -722,7 +722,7 @@ 1 1 1 - ../meshes/link_1.0.obj + package://allegro_hand_description/meshes/link_1.0.obj @@ -767,7 +767,7 @@ 1 1 1 - ../meshes/link_2.0.obj + package://allegro_hand_description/meshes/link_2.0.obj @@ -820,7 +820,7 @@ 1 1 1 - ../meshes/link_3.0.obj + package://allegro_hand_description/meshes/link_3.0.obj @@ -829,7 +829,7 @@ 1 1 1 - ../meshes/link_3.0_tip.obj + package://allegro_hand_description/meshes/link_3.0_tip.obj diff --git a/manipulation/models/allegro_hand_description/sdf/allegro_hand_description_right.sdf b/manipulation/models/allegro_hand_description/sdf/allegro_hand_description_right.sdf index bbee7423bde3..731f9376a2dc 100644 --- a/manipulation/models/allegro_hand_description/sdf/allegro_hand_description_right.sdf +++ b/manipulation/models/allegro_hand_description/sdf/allegro_hand_description_right.sdf @@ -52,7 +52,7 @@ 1 1 1 - ../meshes/base_link.obj + package://allegro_hand_description/meshes/base_link.obj @@ -82,7 +82,7 @@ 1 1 1 - ../meshes/link_0.0.obj + package://allegro_hand_description/meshes/link_0.0.obj @@ -127,7 +127,7 @@ 1 1 1 - ../meshes/link_1.0.obj + package://allegro_hand_description/meshes/link_1.0.obj @@ -172,7 +172,7 @@ 1 1 1 - ../meshes/link_2.0.obj + package://allegro_hand_description/meshes/link_2.0.obj @@ -225,7 +225,7 @@ 1 1 1 - ../meshes/link_3.0.obj + package://allegro_hand_description/meshes/link_3.0.obj @@ -234,7 +234,7 @@ 1 1 1 - ../meshes/link_3.0_tip.obj + package://allegro_hand_description/meshes/link_3.0_tip.obj @@ -279,7 +279,7 @@ 1 1 1 - ../meshes/link_12.0_right.obj + package://allegro_hand_description/meshes/link_12.0_right.obj @@ -326,7 +326,7 @@ 1 1 1 - ../meshes/link_13.0.obj + package://allegro_hand_description/meshes/link_13.0.obj @@ -371,7 +371,7 @@ 1 1 1 - ../meshes/link_14.0.obj + package://allegro_hand_description/meshes/link_14.0.obj @@ -425,7 +425,7 @@ 1 1 1 - ../meshes/link_15.0.obj + package://allegro_hand_description/meshes/link_15.0.obj @@ -434,7 +434,7 @@ 1 1 1 - ../meshes/link_15.0_tip.obj + package://allegro_hand_description/meshes/link_15.0_tip.obj @@ -479,7 +479,7 @@ 1 1 1 - ../meshes/link_0.0.obj + package://allegro_hand_description/meshes/link_0.0.obj @@ -524,7 +524,7 @@ 1 1 1 - ../meshes/link_1.0.obj + package://allegro_hand_description/meshes/link_1.0.obj @@ -569,7 +569,7 @@ 1 1 1 - ../meshes/link_2.0.obj + package://allegro_hand_description/meshes/link_2.0.obj @@ -622,7 +622,7 @@ 1 1 1 - ../meshes/link_3.0.obj + package://allegro_hand_description/meshes/link_3.0.obj @@ -631,7 +631,7 @@ 1 1 1 - ../meshes/link_3.0_tip.obj + package://allegro_hand_description/meshes/link_3.0_tip.obj @@ -676,7 +676,7 @@ 1 1 1 - ../meshes/link_0.0.obj + package://allegro_hand_description/meshes/link_0.0.obj @@ -721,7 +721,7 @@ 1 1 1 - ../meshes/link_1.0.obj + package://allegro_hand_description/meshes/link_1.0.obj @@ -766,7 +766,7 @@ 1 1 1 - ../meshes/link_2.0.obj + package://allegro_hand_description/meshes/link_2.0.obj @@ -819,7 +819,7 @@ 1 1 1 - ../meshes/link_3.0.obj + package://allegro_hand_description/meshes/link_3.0.obj @@ -828,7 +828,7 @@ 1 1 1 - ../meshes/link_3.0_tip.obj + package://allegro_hand_description/meshes/link_3.0_tip.obj diff --git a/manipulation/models/allegro_hand_description/urdf/allegro_hand_description_left.urdf b/manipulation/models/allegro_hand_description/urdf/allegro_hand_description_left.urdf index 543418d0440a..3f7326c12459 100644 --- a/manipulation/models/allegro_hand_description/urdf/allegro_hand_description_left.urdf +++ b/manipulation/models/allegro_hand_description/urdf/allegro_hand_description_left.urdf @@ -39,7 +39,7 @@ - + @@ -62,7 +62,7 @@ - + @@ -96,7 +96,7 @@ - + @@ -130,7 +130,7 @@ - + @@ -164,7 +164,7 @@ - + @@ -198,7 +198,7 @@ - + @@ -224,7 +224,7 @@ - + @@ -258,7 +258,7 @@ - + @@ -292,7 +292,7 @@ - + @@ -326,7 +326,7 @@ - + @@ -360,7 +360,7 @@ - + @@ -386,7 +386,7 @@ - + @@ -420,7 +420,7 @@ - + @@ -454,7 +454,7 @@ - + @@ -488,7 +488,7 @@ - + @@ -522,7 +522,7 @@ - + @@ -548,7 +548,7 @@ - + @@ -585,7 +585,7 @@ - + @@ -621,7 +621,7 @@ - + @@ -656,7 +656,7 @@ - + @@ -691,7 +691,7 @@ - + diff --git a/manipulation/models/allegro_hand_description/urdf/allegro_hand_description_right.urdf b/manipulation/models/allegro_hand_description/urdf/allegro_hand_description_right.urdf index 9f65d9ca57c5..7a02813551e7 100644 --- a/manipulation/models/allegro_hand_description/urdf/allegro_hand_description_right.urdf +++ b/manipulation/models/allegro_hand_description/urdf/allegro_hand_description_right.urdf @@ -39,7 +39,7 @@ - + @@ -62,7 +62,7 @@ - + @@ -96,7 +96,7 @@ - + @@ -130,7 +130,7 @@ - + @@ -164,7 +164,7 @@ - + @@ -198,7 +198,7 @@ - + @@ -224,7 +224,7 @@ - + @@ -258,7 +258,7 @@ - + @@ -292,7 +292,7 @@ - + @@ -326,7 +326,7 @@ - + @@ -360,7 +360,7 @@ - + @@ -386,7 +386,7 @@ - + @@ -420,7 +420,7 @@ - + @@ -454,7 +454,7 @@ - + @@ -488,7 +488,7 @@ - + @@ -522,7 +522,7 @@ - + @@ -548,7 +548,7 @@ - + @@ -585,7 +585,7 @@ - + @@ -621,7 +621,7 @@ - + @@ -656,7 +656,7 @@ - + @@ -691,7 +691,7 @@ - + diff --git a/manipulation/util/show_model.py b/manipulation/util/show_model.py index a496e1a57636..1bad436ac52c 100644 --- a/manipulation/util/show_model.py +++ b/manipulation/util/show_model.py @@ -32,6 +32,13 @@ --meshcat default \ ${PWD}/manipulation/models/iiwa_description/sdf/iiwa14_no_collision.sdf +If the model is using package path (e.g. "package://package_name/model_sdf.obj") +to refer mesh files, you also have to provide the argument `--package_path`: + ./bazel-bin/manipulation/util/show_model \ + --package_path \ + manipulation/models/iiwa_description \ + ./manipulation/models/iiwa_description/iiwa7/iiwa7_no_collision.sdf + Note: If `--meshcat` is not specified, no meshcat visualization will take place.