您如何使用 MeshCat 和 pydake 将 drake 的可视化输出传输到端口?

How do you pipe the visualizer output of drake to a port using MeshCat with pydake?

如何在公开的端口上设置 MeshCat 作为在线接口来与我的 drake 程序交互?在 pydrake 中寻找一个简短的例子。目前正在尝试使用 pydrake Ubuntu 18.04。

这是一个简单的例子:

https://github.com/RobotLocomotion/drake/blob/165da3960ce2aede5558b27a6102d66bafa70b03/manipulation/util/geometry_inspector.py#L169

该文件的 header 也有一些有用的说明。