mjlab.scene#
Classes
Scene#
- class mjlab.scene.Scene[source]#
-
- to_zip(path: Path) None[source]#
Export the scene to a zip file.
Warning: The generated zip may require manual adjustment of asset paths to be reloadable. Specifically, you may need to add assetdir=”assets” to the compiler directive in the XML.
- Parameters:
path – Output path for the zip file.
TODO: Verify if this is fixed in future MuJoCo releases.
- property sensor_context: SensorContext | None#
Shared sensing resources, or None if no cameras/raycasts.