Runtime manager
runtime_manager
¶
RuntimeManager
dataclass
¶
Python
RuntimeManager(
signal_manager: SignalManager | None = None,
loads: list[Load] = list(),
proximities: list[Proximity] = list(),
video_recorders: list[VideoRecorder] = list(),
playback_speed: float = 1.0,
_sync_hook: SyncHook | None = None,
_skip_recording: bool = False,
_resolved: bool = False,
)
__exit__
¶
Ensure all telemetry is flushed even if the simulation crashed. Also saves recordings
Source code in src/mujoco_mojo/runtime/runtime_manager.py
resolve
¶
Call this once after mj_loadXML to prime the caches.
step
¶
Calculates forces, integratess physics, and handles telemetry.