Add video recording support to eval_runner.py#445
Merged
cvolkcvolk merged 16 commits intomainfrom Mar 13, 2026
Merged
Conversation
…k/feature/droid_pnp_uses_robolab_objects
bcce498 to
9f1e1cb
Compare
alexmillane
approved these changes
Mar 2, 2026
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Clemens Volk <cvolk@nvidia.com>
This was referenced Mar 2, 2026
cvolkcvolk
added a commit
that referenced
this pull request
Mar 12, 2026
## Summary - Removes `.unwrapped` from `make_registered_and_return_cfg` and `policy_runner.py` so Arena aligns with how Isaac Lab itself handles environments - `make_registered_and_return_cfg` now returns the wrapped env from `gym.make()` directly, consistent with Isaac Lab's RL scripts (`train.py`, `play.py`) which keep the wrapped env and pass it to the RL runner - Utility functions and tests that need to reach past the gym API boundary to Isaac Lab-specific attributes (`.scene`, `.cfg`, `.device`, `.termination_manager`) now use `env.unwrapped.X` explicitly at each access site - Keeping the wrapped env allows gym wrappers (e.g. `RecordVideo`) to be composed on top cleanly, without special-casing in `make_registered_and_return_cfg` ## Motivation PR #445 (video recording support) required adding `if render_mode is None: env = env.unwrapped` to conditionally skip unwrapping — an awkward workaround caused by Arena's convention of always returning the base env. This refactor removes the root cause. --------- Signed-off-by: Clemens Volk <cvolk@nvidia.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the ability to record videos of evaluation jobs via
--videoflag. Each job produces an mp4 in a per-job subdirectory under--video_dir