You haven't added the MeshcatVisualizer
, so don't have any system in your diagram that's publishing to Meshcat. You need to call e.g. AddDefaultVisualization
on the diagram. https://drake.mit.edu/doxygen_cxx/namespacedrake_1_1visualization.html#a02befd8c90155c339a042f2af39d4c12