Files
Mujoco_WASM/python/mujoco
Sam Haves 57f7145806 Create mjpDecoder, mj_parse, and mju_decodeResource
- plugin system similar to mjpResourceProvider, but instead of loading a resource it converts an existing mjResource into an mjSpec.
  - The returned spec is then composed into the referencing spec.
  - This enables different file types to generate arbitrary specs, and allows us to separate format parsing from compilation code.

Follow up CLs will move some of the logic in src/engine for PNG, USD, KTX, OBJ loading into decoders.

The mj_parse function MjSpec from a given file, it's a more generic version of mj_parseXML.

In it's implementation, mj_parse as opposed to mj_parseXML will look for any registered decoder and
not assume we are striclty dealing with MJCF.

PiperOrigin-RevId: 826149497
Change-Id: I0ece26904280cb94bd5ded6dd5a565c539d60254
2025-10-30 12:54:40 -07:00
..
2024-11-19 14:07:21 -08:00
2022-05-25 07:01:59 -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-08-22 06:41:49 -07:00
2025-02-21 08:44:17 -05:00
2025-02-21 08:44:17 -05:00
2024-12-16 09:57:08 -08:00
2024-12-16 09:57:08 -08:00