RobotLocomotion / drake

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

Rendering MultibodyPlant Tutorial errors out on deepnote #16952

Closed RussTedrake closed 2 years ago

RussTedrake commented 2 years ago

Running rendering_multibody_plant.ipynb on Deepnote currently causes a kernel failure.

We have to set up a virtual display for rendering to work on deepnote. E.g. this at the top of the file can resolve the problem:

!apt update && apt -y install xvfb
!pip install pyvirtualdisplay
from pyvirtualdisplay import Display
virtual_display = Display(visible=0, size=(1400, 900))
virtual_display.start()

(but I assume we will want to add it in a more elegant way)

Moreoever, I think this suggests that our instructions for deploying to deepnote did not involve running this notebook?

jwnimmer-tri commented 2 years ago

Duplicate of #16866.