@@ -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 "
0 commit comments