Files
Mujoco_WASM/python/mujoco
Matija Kecman 38956ed95c Handle None values for model and data in StepControl.advance.
The `StepControl.advance` method now checks if the provided `model` or `data` Python objects are `None` before attempting to cast them to `MjModelWrapper` or `MjDataWrapper`, passing `nullptr` to the underlying C++ function if they are `None`.

This fixes an oversight in the python bindings, C++ code already supported null models.

PiperOrigin-RevId: 937243996
Change-Id: Ie67b8603517e7390fb54bfefbfed79ccf7b2bc5e
2026-06-24 04:18:29 -07:00
..
2026-06-20 15:10:54 -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
2026-06-16 12:06:34 -07:00
2023-10-13 16:13:24 -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