Skip to content

feat(sim): record and replay MuJoCo state#280

Open
juelg wants to merge 7 commits intomasterfrom
feat/sim-state-record-replay
Open

feat(sim): record and replay MuJoCo state#280
juelg wants to merge 7 commits intomasterfrom
feat/sim-state-record-replay

Conversation

@juelg
Copy link
Copy Markdown
Contributor

@juelg juelg commented Apr 20, 2026

Summary

  • add a SimStateObservationWrapper that injects the full MuJoCo integration state into sim observations
  • add replay utilities and a CLI/script to load recorded parquet trajectories and restore sim state step by step
  • use duckdb as the preferred parquet reader, with a pyarrow fallback in library calls
  • add a focused test that records sim state, reloads it from parquet, restores the sim, and re-renders a frame

Fixes #252.

Validation

  • make pyformat
  • make cppformat
  • make pylint
  • pytest -vv python/tests/test_sim_state_record_replay.py

Notes

  • I validated the new feature path directly, including the duckdb-backed load path.
  • I did not run the full repo pytest suite from this host because the current machine hit disk-space/build pressure when trying to rebuild the editable package cleanly for the whole repo environment.

@juelg juelg requested a review from pkrack April 21, 2026 14:30
@pkrack pkrack force-pushed the feat/sim-state-record-replay branch 3 times, most recently from d149c19 to 856ac12 Compare April 23, 2026 15:45
@pkrack pkrack force-pushed the feat/sim-state-record-replay branch from 856ac12 to 9a08a3c Compare April 23, 2026 16:11
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.

Record Sim State

2 participants