We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0630b75 commit 707fcdbCopy full SHA for 707fcdb
python/mujoco/viewer.py
@@ -362,7 +362,7 @@ def launch_from_path(path: str) -> None:
362
_launch_internal(run_physics_thread=True, loader=_file_loader(path))
363
364
365
-def launch_passive(model: mujoco.MjModel, data: mujoco.MjData) -> None:
+def launch_passive(model: mujoco.MjModel, data: mujoco.MjData) -> Handle:
366
"""Launches a passive Simulate GUI without blocking the running thread."""
367
if not isinstance(model, mujoco.MjModel):
368
raise ValueError(f'`model` is not a mujoco.MjModel: got {model!r}')
0 commit comments