Skip to content

Commit ec2fa9d

Browse files
jwnimmer-triRussTedrake
authored andcommitted
[workspace] Upgrade meshcat to latest commit (RobotLocomotion#21313)
1 parent b466659 commit ec2fa9d

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

geometry/test/meshcat_manual_test.cc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,11 @@ Ignore those for now; we'll need to circle back and fix them later.
450450
const double table_height = 0.7645;
451451
plant.WeldFrames(plant.world_frame(), plant.GetFrameByName("link"),
452452
RigidTransformd(Vector3d{0, 0, -table_height - 0.01}));
453+
parser.AddModelsFromUrl(
454+
"package://drake_models/ycb/006_mustard_bottle.sdf");
455+
plant.WeldFrames(plant.world_frame(),
456+
plant.GetFrameByName("base_link_mustard"),
457+
RigidTransformd(Vector3d{0, -0.3, 0.01}));
453458
plant.Finalize();
454459

455460
builder.ExportInput(plant.get_actuation_input_port(), "actuation_input");
@@ -469,7 +474,8 @@ Ignore those for now; we'll need to circle back and fix them later.
469474

470475
diagram->ForcedPublish(*context);
471476
std::cout
472-
<< "- Now you should see a kuka model (from MultibodyPlant/SceneGraph)"
477+
<< "- Now you should see a kuka model (from MultibodyPlant/SceneGraph) "
478+
"and a mustard bottle lying on its side, with the label facing up."
473479
<< std::endl;
474480

475481
MaybePauseForUser();
@@ -508,6 +514,7 @@ Ignore those for now; we'll need to circle back and fix them later.
508514
"- the camera is focused on the contact point between the robot and "
509515
"table,\n"
510516
"- the iiwa is visible,\n"
517+
"- the mustard bottle visible including its texture (front label),\n"
511518
"- the animation plays,\n"
512519
"- the environment map is present, and\n"
513520
"- the browser Console has no warnings nor errors\n"

tools/workspace/meshcat/repository.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ def meshcat_repository(
1010
Updating this commit requires local testing; see
1111
drake/tools/workspace/meshcat/README.md for details.
1212
""",
13-
commit = "e87530b45282872a07dd164351aa4dfef40d9f5b",
14-
sha256 = "d15ba8fa1dca154266bd44265e38bce9fd34db4e5ac9a1dcced639d1c78eef9f", # noqa
13+
commit = "601b55df0839430297ae53503ea2c61e4cdf1314",
14+
sha256 = "c1b006483773ad435acba17def30d3359eb39bf7c859fcfbcfd8baca006def37", # noqa
1515
build_file = ":package.BUILD.bazel",
1616
mirrors = mirrors,
1717
)

0 commit comments

Comments
 (0)