Files
Mujoco_WASM/python/mujoco
Sam Haves 723b8b1ea6 Introduce explicit VFS in Python MjVfs
This change introduces MjVFS, an explicit object to mirror the C mjVFS. This is meant to replace the MjSpec.assets dict. This latter while convenient guides users towards harmful authoring patterns with respect to data duplication and spec attachment workflows. Making VFS management explicit should encourage better memory usage and allow us to make better compile time optimizations.

From this change, `spec.assets` is deprecated. However we will temporarily support backwards compatibility due to the wide spread usage. An error will be thrown if calling code tries to use a spec that uses both the assets dict and the new MjVfs.

PiperOrigin-RevId: 908772050
Change-Id: I77c6d0369307fc300c954768fed17401261e18da
2026-05-01 09:34:17 -07:00
..
2024-11-19 14:07:21 -08:00
2022-05-25 07:01:59 -07:00
2026-03-10 01:56:10 -07:00
2026-04-21 04:03:22 -07:00
2022-05-23 01:08:49 -07:00
2023-10-13 16:13:24 -07:00
2024-10-24 08:31:15 -07:00
2025-02-21 08:44:17 -05:00
2025-02-21 08:44:17 -05:00
2026-04-28 14:22:41 -07:00
2024-12-16 09:57:08 -08:00
2024-12-16 09:57:08 -08:00
2026-05-01 09:34:17 -07:00