RobotLocomotion / drake

Model-based design and verification for robotics.
https://drake.mit.edu
Other
3.35k stars 1.27k forks source link

drake's meshcat-server can't actually open a display #9956

Closed RussTedrake closed 6 years ago

RussTedrake commented 6 years ago

Quickly diagnosed by @gizatt and @pangtao22 ...

The symptom: Running

bazel run @meshcat_python//:meshcat-server

provides the standard output, with a link to a web url. But opening that url results in 404 errors.

@gizatt suspects that the problem is that https://github.com/RobotLocomotion/drake/blob/e5cad7b9be04bdeeaa4824f4150e9911bb55fb93/tools/workspace/meshcat_python/package.BUILD.bazel does not install meshcat's src/meshcat/viewer subdirectory, which contains all the HTML / JS files required for the webserver to actually serve the 3D visualizer in the browser.

Low priority only because pip installing meshcat still provides a working meshcat-server that gives a workaround.

jamiesnape commented 6 years ago

Ok, it is a quick fix if that is the case.

RussTedrake commented 6 years ago

Resolved by #9979 and #9982