Repository navigation
Add video recording to play benchmarks - #7172
Conversation
Greptile SummaryThe PR adds opt-in video recording to all four RL play benchmark adapters and reports the effective recording directory in each play bundle.
Confidence Score: 5/5The PR appears safe to merge with no actionable correctness or security issues identified. The four adapters consistently enable cameras before launch, apply recorder settings before environment creation, preserve configured output directories, and report the directory actually used by the recorder. Important Files Changed
Sequence DiagramsequenceDiagram
participant Request as Benchmark play request
participant Parser as Backend argument parser
participant Config as Environment config
participant Sim as Simulation launcher
participant Env as Gym environment
participant Bundle as PlayBundle
Request->>Parser: --video and --video_length
Parser->>Parser: Enable cameras
Parser->>Config: Resolve task configuration
Config->>Config: Add visualizer before launch
Config->>Sim: Launch simulation
Sim->>Config: Apply recorder configuration
Config->>Env: Create environment with recorder
Env-->>Bundle: Effective recorder output directory
Reviews (1): Last reviewed commit: "Add video recording to play benchmarks" | Re-trigger Greptile |
There was a problem hiding this comment.
Isaac Lab Review Bot
Reviewed video recording integration across the RSL-RL, RL-Games, SKRL, and SB3 play benchmark adapters. The changes consistently use the existing shared lifecycle helpers and populate PlayBundle.video_path without altering the default no-video path.
- Design and architecture: All four adapters follow the same sequence: enable cameras during argument processing, inject pre-launch visualizer configuration, apply recorder settings after simulation launch but before environment creation, and expose the effective recorder directory. A minor residual coupling is that each adapter directly reads video_recorders[0], so multi-recorder behavior would require coordinated updates.
- API: The new --video and --video_length backend arguments are consistently exposed across all four adapters, use the repository’s CLI naming convention, and preserve the existing behavior when recording is not requested. The user-visible addition is represented by a source/isaaclab changelog fragment.
- Implementation: The parsing, launch ordering, recorder configuration, environment-creation path, and bundle construction were traced across each backend. Tests cover argument forwarding, camera enablement, visualizer setup, recorder configuration before environment creation, and preservation of a preconfigured output directory. No actionable implementation defect is established by the supplied patch.
No blocking issues. No inline issue met the actionable-evidence threshold; the assessment above records the review feedback.
Automated review; human maintainers own approval decisions.
24d92e8 to
d2012e8
Compare
## Summary Cherry-picks the following merged PRs from `develop` onto `release/3.0.0`, preserving each as an individual commit with `-x` provenance: - #7193 — Bake CI pytest deps into the built Docker image - #7077 — Add OVPhysX support to Franka deformable lift tasks - #7175 — Raise on unsupported camera renderer outputs - #7174 — Fix benchmark play inference scope - #7173 — Report resolved backend for play benchmarks - #7172 — Add video recording to play benchmarks - #7215 — Reduce GearAssembly default environment count - #7214 — Remove Kamino preset from open drawer - #7213 — Fix OvPhysX scene gravity randomization - #7212 — Fix OVPhysX material binding device selection - #7189 — Make preview surfaces renderer agnostic - #7206 — Fix OVPhysX benchmark articulation setup All cherry-picks and the final rebase onto the latest `release/3.0.0` tip completed without conflicts. ## Validation - Verified all 12 backported commits have patch IDs identical to their source squash commits and retain their `cherry picked from` footers. - `git diff --check upstream/release/3.0.0..HEAD` - Bash syntax validation for the modified CI shell scripts. - YAML parsing for the modified composite actions. - Changelog validation against `release/3.0.0`. - Targeted pytest coverage for benchmark APIs/play, video recording, GearAssembly defaults, OVPhysX presets and runtime semantics, and renderer-agnostic materials: **81 passed, 4 skipped, 1 deselected**. - The deselected case is an unchanged test that hard-codes a POSIX `/tmp` path and fails on Windows path normalization. - `uv run isaaclab -f` passed all hooks except the changelog hook's known release-branch baseline finding for `source/isaaclab/changelog.d/core-test-config-fixtures.skip`; the targeted release-base changelog check passed. --------- Co-authored-by: Matthew Taylor <[email protected]> Co-authored-by: Antoine RICHARD <[email protected]> Co-authored-by: Mike Yan Michelis <[email protected]> Co-authored-by: Maximilian Krause <[email protected]> Co-authored-by: Octi Zhang <[email protected]> Co-authored-by: Mustafa H <[email protected]>
Description
Adds video recording support to the RSL-RL, RL-Games, SKRL, and SB3 play benchmark adapters.
Each adapter now:
This preserves preconfigured recorder output directories and leaves no-video behavior unchanged. No dependencies or public APIs were added.
Type of change
Screenshots
Not applicable.
Validation
Checklist