From 427b1e646297495f6b33e4c0bb2273ca89bd5ae2 Mon Sep 17 00:00:00 2001 From: Filippo Luca Ferretti <102977828+flferretti@users.noreply.github.com> Date: Tue, 9 Jan 2024 13:25:47 +0100 Subject: [PATCH] Fix offscreen rendering with Mujoco in notebook --- examples/PD_controller.ipynb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/PD_controller.ipynb b/examples/PD_controller.ipynb index 7359b7667..4cd97e70d 100644 --- a/examples/PD_controller.ipynb +++ b/examples/PD_controller.ipynb @@ -153,6 +153,8 @@ " }\n", " \"\"\")\n", "\n", + "%env MUJOCO_GL=egl\n", + "\n", "try:\n", " import mujoco\n", "except Exception as e:\n",