Skip to content

Preserve per-world camera and light reference constants - #1265

Closed
M-Colley wants to merge 1 commit into
mujocolab:mainfrom
M-Colley:codex/upstream-camera-light
Closed

M-Colley wants to merge 1 commit into
mujocolab:mainfrom
M-Colley:codex/upstream-camera-light

Conversation

@M-Colley

Copy link
Copy Markdown
Contributor

Constant recomputation after per-world joint-default/body changes currently leaves six camera/light reference arrays shared, mixing references across environments. Expand those arrays at the appropriate recomputation level and compare heterogeneous worlds against native mj_setConst and mj_forward.

This independent branch retains MuJoCo/Warp 3.16. make check passed and the focused camera/events tests passed (32 passed, two expected tracking failures in the published Warp package). All 19 Linux checks passed with the other independent follow-ups across Python 3.10–3.14 and a fresh resolve: https://github.com/M-Colley/mjlab/actions/runs/40094203866. Tracking modes additionally require the companion Warp correction, validated with all 31 constant-recomputation CUDA tests: google-deepmind/mujoco_warp#1837. Fixed-mode references pass with the published package.

First opened against the 3.17 branch in the fork: M-Colley#4. This upstream diff excludes the separate dependency upgrade and equality-constraint changes.

@M-Colley

Copy link
Copy Markdown
Contributor Author

Closing since per-world eq_data and tracking camera/light reference preservation during domain randomization has landed on main.

@M-Colley M-Colley closed this Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant