Repository navigation
[6Ai] Share scene cameras and compose views on the GPU - #8103
Conversation
|
run-ci |
|
|
|
||
| **Newton MJWarp with** ``replicate_physics=True`` **and auto-created cameras** | ||
| Visualizers no longer create, move, or destroy camera sensors. Replace | ||
| ``streaming_cam_target_prim_path``, ``streaming_cam_eye``, and ``streaming_cam_renderer_cfg`` | ||
| with a scene ``CameraCfg``: place its ``prim_path`` under the desired parent, set its | ||
| ``offset``, and supply ``renderer_cfg`` there. Select that camera through |
There was a problem hiding this comment.
Conflicting camera guidance The migration section says visualizers no longer create cameras, but the visualization overview still tells readers they can use auto-created cameras that follow robot bodies. This may lead readers to configure a feature that has been removed. Please update the overview to match the new scene-camera lifecycle.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
There was a problem hiding this comment.
Isaac Lab Review Bot
The PR cleanly moves streaming-camera ownership to scene-declared sensors and centralizes frame composition, but Newton GL camera switching retains tile indices from the previously selected sensor and can index beyond the new camera's outputs.
- Design and architecture: Scene-owned camera lifecycle and read-only visualizer consumers are consistently applied across Kit, Newton, Rerun, and Viser. Shared composition through BaseVisualizer and clone-plan-based Newton RTX light placement fit the existing ownership boundaries.
- API: The removed streaming_cam_* fields and deprecated tiled-camera aliases are covered by migration documentation, changelog fragments, and updated examples. The selected sensor’s required output-channel contract is also documented.
- Implementation: Per-channel batching and TimestampedBuffer caching are coherent. However, NewtonGLVisualizer._switch_streaming_camera rebinds the sensor without recomputing _camera_sensor_indices, unlike the replaced implementation; switching to a camera with fewer environments can therefore cause out-of-range indexing during composition.
Minor fixes needed. Posted 1 actionable finding inline.
Automated review; human maintainers own approval decisions.
| # so _draw_large re-sizes it to the new camera's grid aspect ratio on next open. | ||
| self._last_streaming_composite = None | ||
| self._composite_step = -1 | ||
| self._select_streaming_camera(self._scene_camera_map[choice]) |
There was a problem hiding this comment.
🟡 Warning · Implementation — Camera switch keeps previous camera's env indices
_switch_streaming_camera now only rebinds _camera_sensor; _camera_sensor_indices still holds the selection resolved for the previously bound camera. The removed implementation re-resolved them from the new camera's view count. Selecting a camera covering fewer environments makes camera_gt_batch index past its output and raises from the ImGui callback. Re-resolve the tile indices for the newly selected camera before binding it.
|
run-ci |
be1b4fb to
b5447e7
Compare
AntoineRichard
left a comment
There was a problem hiding this comment.
🤖 AI-generated review (Claude Code)
This review was generated by an AI assistant (Claude Code, Opus 5.5) at the request of @AntoineRichard. Findings came from static reading of the diff and surrounding code. Nothing has been verified by a human reviewer yet, so please double-check before acting on it.
Reviewed commit: 8c0a452
What was run:
- The ValueError in findings 1–2 and the Namespace mutation were reproduced on PR head with a small Python script, without starting Kit.
- No GPU rendering tests were run. The visualizer findings come from reading the code.
Summary
The main risk is the new launcher preset path. _resolve_launch_cfg assumes the config still contains an unresolved visualizer PresetCfg. Many scripts not touched by this PR resolve the task config first and then call launch_simulation(env_cfg, args_cli), so --viz (and one tutorial's default) now crashes. Details are in the inline comments.
| # | Severity | Location | Issue |
|---|---|---|---|
| 1 | High | sim_launcher.py:215 |
--viz raises ValueError on already-resolved task configs (breaks run_cartpole_rl_env.py with no flags, plus many scripts with --viz) |
| 2 | High | sim_launcher.py:221 |
scan() pops visualizer from the caller's args_cli (run_ray_caster.py --viz kit → AttributeError) |
| 3 | High | sim_launcher.py:213 |
launch_simulation(None, args) / AppLauncher silently drop --viz, livestream and XR Kit injection |
| 4 | High | base_visualizer.py:128 |
Newton GL init crashes if the first scene camera lacks rgb (e.g. Cartpole camera presets=depth) |
| 5 | Medium | base_visualizer.py:144 |
Channel check uses cfg.data_types, missing the rgb/rgba alias |
| 6 | Medium | hydra.py:334 |
Tasks with concrete visualizer_cfgs (e.g. ur10_particle_push) reject --viz |
| 7 | Medium | newton_visualizer.py:1732 |
GL navigation writes poses from a stale basis for body-attached cameras |
| 8 | Medium | simulation_context.py:917 |
build_simulation_context(visualizers=...) raises on resolved configs |
| 9 | Medium | sim_launcher.py:230 |
Livestream rejects visualizer_cfgs = [] (the old default) |
| 10 | Low | tools/docs/media/visualizers/capture_visualizer.py:627, 2244-2245, 2326-2327 |
Still passes the removed streaming_cam_target_prim_path / streaming_cam_eye to KitVisualizerCfg(...) → TypeError. This file isn't in the diff, so there's no inline comment. |
| 11 | Low | convert_urdf.py:173, convert_mjcf.py:162 |
--device no longer propagated to the preview SimulationCfg |
| 12 | Low | visualizer_tiled_camera.rst:108 |
Doc says 36 envs are sampled; the script uses 16 |
Findings 1–3 share a root cause. A possible fix is to have _resolve_launch_cfg handle configs with no remaining visualizer preset (e.g. build visualizer_cfgs from the names), and to stop mutating the caller's namespace.
| if cfg is None: | ||
| cfg = SimulationCfg() | ||
| selectors = {} | ||
| if visualizer is not None or explicit: |
There was a problem hiding this comment.
🤖 AI-generated review comment (Claude Code, posted on behalf of @AntoineRichard — please verify)
[High] --viz / --visualizer raises ValueError on already-resolved task configs
_resolve_launch_cfg turns args.visualizer into a preset selector, but parse_env_cfg / resolve_task_config have already resolved SimulationCfg.visualizer_cfgs to None. resolve_presets finds nothing to consume the selector and raises ValueError: The configuration does not declare a preset for the requested selector.
Reproduced on PR head (8c0a452) without starting Kit:
p = argparse.ArgumentParser(); add_launcher_args(p); p.set_defaults(visualizer=["kit"])
a, _ = p.parse_known_args([])
cfg = parse_env_cfg("Isaac-Cartpole", device="cuda:0", num_envs=4) # cfg.sim.visualizer_cfgs -> None
scan(cfg, a) # ValueError: The configuration does not declare a preset for the requested selector.Affected scripts (none of them changed by this PR):
- Breaks with no flags:
scripts/tutorials/03_envs/run_cartpole_rl_env.py. - Breaks with
--viz kitor--viz none:lift_cube_sm.pyandopen_cabinet_sm.pyteleop_replay_agent.py- robomimic
play.pyandrobust_eval.py - mimic
annotate_demos.py,consolidated_demo.pyandgenerate_dataset.py policy_inference_in_usd.pyisaaclab leapp deploy
- Documented commands such as
annotate_demos.py ... --visualizer kit(humanoids_imitation.rst) now crash.
Suggestion: when the config no longer has a visualizer preset, fall back to building visualizer_cfgs from the names, or skip selection. Alternatively, migrate these scripts to setup_preset_cli.
| selectors[lambda value: isinstance(value, VisualizerCfg)] = names[0] if len(names) == 1 else names | ||
| cfg = resolve_presets(cfg, selectors=selectors) | ||
| if selectors: | ||
| launcher_args.pop("visualizer", None) |
There was a problem hiding this comment.
🤖 AI-generated review comment (Claude Code, posted on behalf of @AntoineRichard — please verify)
[High] scan() mutates the caller's argparse Namespace
launcher_args = vars(namespace) is the Namespace's live __dict__, so these pops delete visualizer / visualizer_explicit from the user's args_cli (confirmed: hasattr(args, "visualizer") is False after scan).
scripts/tutorials/04_sensors/run_ray_caster.py --viz kitfails withAttributeError: 'Namespace' object has no attribute 'visualizer', becausedefine_sensor()readsargs_cli.visualizerinside thewith launch_simulation(...)block.generate_data.pyandrollout_policy.pycallscantwice, so the second call silently loses--viz.
Suggestion: operate on a copy (dict(vars(ns))) or avoid popping.
| raise ValueError(f"Invalid livestream mode: {livestream}. Expected 0 (disabled), 1, or 2.") | ||
| launcher_args["livestream"] = livestream | ||
| if cfg is None: | ||
| cfg = SimulationCfg() |
There was a problem hiding this comment.
🤖 AI-generated review comment (Claude Code, posted on behalf of @AntoineRichard — please verify)
[High] launch_simulation(None, args) / AppLauncher silently drop --viz, livestream and XR Kit injection
With cfg=None, the visualizer selection, the injected KitVisualizerCfg and the max_visible_envs override are all applied to a throwaway SimulationCfg(). The settings-based handoff (/isaaclab/visualizer/*) was removed, so the SimulationContext built later never sees them.
Example: with AppLauncher(args) and --viz kit, Kit opens a window (kit_visualizer=True is computed from the throwaway config), but no KitVisualizer is ever created.
Affected callers: app_launcher.py:58, locomanipulation_sdg/generate_data.py, gr00t/rollout_policy.py, convert_instanceable.py, benchmark_view_comparison.py and benchmark_xform_prim_view.py.
| def _select_streaming_camera(self, camera: Camera) -> None: | ||
| """Bind display channels to a borrowed camera and discard the previous composite.""" | ||
| for gt_type in self.cfg.streaming_gt_types: | ||
| sensor_key_for_gt_type(gt_type, frozenset(camera.cfg.data_types)) |
There was a problem hiding this comment.
🤖 AI-generated review comment (Claude Code, posted on behalf of @AntoineRichard — please verify)
[High] Newton GL fails to initialize when the first scene camera has no rgb output
NewtonGLVisualizerCfg.streaming_view defaults to True, and _setup_streaming_view auto-selects the first scene camera when streaming_sensor_prim_path is None. This line then raises KeyError if that camera lacks any of the default streaming_gt_types=("rgb",).
Example: the Cartpole camera task with presets=depth plus --viz newton_gl crashes at sim.reset(), even though the user never asked for a camera view.
Picking such a camera from the GL "Camera View" dropdown also raises inside the imgui callback.
The old composite path dropped missing GT types instead ("so switching cameras never raises"). Consider skipping auto-selection, or filtering channels, when no path was explicitly requested.
| if self._streaming_frame.timestamp != self._sim_time: | ||
| cfg = self.cfg | ||
| gt_types = cfg.streaming_gt_types | ||
| available = frozenset(self._camera_sensor.cfg.data_types) |
There was a problem hiding this comment.
🤖 AI-generated review comment (Claude Code, posted on behalf of @AntoineRichard — please verify)
[Medium] Channel availability uses camera.cfg.data_types instead of actual outputs
CameraData publishes both rgb and rgba when either one is requested. A camera declared with data_types=["rgba", "depth"] therefore does have an rgb output, but sensor_key_for_gt_type("rgb", {"rgba", "depth"}) raises KeyError.
The old code used camera.data.output.keys(). The same applies at L128.
| if entry is not None: | ||
| entry.window_initialized = False | ||
| # Reuse native keyboard/mouse navigation as a camera-local delta for every sensor copy. | ||
| data = camera.data |
There was a problem hiding this comment.
🤖 AI-generated review comment (Claude Code, posted on behalf of @AntoineRichard — please verify)
[Medium] Scene-camera navigation applies the delta to a stale pose for body-attached cameras
With the default CameraCfg.update_latest_camera_pose=False, camera.data.pos_w / quat_w_opengl still hold the pose from initialization. set_world_poses(..., env_ids=None) then writes "initial pose + delta" as the world pose for every environment.
Example: in run_tiled_camera_visualizer.py (camera under Robot/base) with newton_gl, once the robot has walked, any mouse or keyboard nudge snaps every env camera back near its spawn location. The sensor is shared, so this also changes what the policy and other viewers see.
Consider reading the current pose (e.g. through the view) before applying the delta, or restricting the write to local offsets.
| @@ -1140,7 +914,7 @@ def build_simulation_context( | |||
| sim_cfg.device = device | |||
|
|
|||
| if visualizers: | |||
| SettingsManager.instance().set_string("/isaaclab/visualizer/types", " ".join(visualizers)) | |||
| resolve_presets(sim_cfg, overrides={"visualizer_cfgs": visualizers}) | |||
There was a problem hiding this comment.
🤖 AI-generated review comment (Claude Code, posted on behalf of @AntoineRichard — please verify)
[Medium] build_simulation_context(sim_cfg=..., visualizers=[...]) raises for resolved configs
resolve_presets(..., overrides={"visualizer_cfgs": ...}) runs with strict_explicit. If the sim_cfg passed in already has concrete visualizer_cfgs (a list, a single config or None), it raises "Unknown or inactive preset group(s): visualizer_cfgs". The old settings route accepted any sim_cfg.
| viewers = sim_cfg.visualizer_cfgs | ||
| viewers = viewers if isinstance(viewers, list) else [viewers] if viewers else [] | ||
| if livestream or launcher_args.get("xr", False): | ||
| if livestream and sim_cfg.visualizer_cfgs == []: |
There was a problem hiding this comment.
🤖 AI-generated review comment (Claude Code, posted on behalf of @AntoineRichard — please verify)
[Medium] Livestream now rejects configs that set visualizer_cfgs = []
[] was the previous default and still appears in user code. It is now interpreted as visualizer=none.
Example: scripts/tutorials/07_visualizers/run_video_recording.py:124 sets env_cfg.sim.visualizer_cfgs = [], so running it with --livestream 2 raises "Livestreaming requires the Kit visualizer" instead of appending Kit as it did before.
| @@ -173,7 +170,8 @@ def main(): | |||
| print("-" * 80) | |||
| print("-" * 80) | |||
|
|
|||
| with launch_simulation(cfg=PhysicsCfg(), launcher_args=args_cli) as physics_cfg: | |||
| sim_cfg = sim_utils.SimulationCfg() | |||
There was a problem hiding this comment.
🤖 AI-generated review comment (Claude Code, posted on behalf of @AntoineRichard — please verify)
[Low] --device is no longer passed to the preview SimulationCfg (same in convert_mjcf.py:162; convert_mesh.py still passes it)
On the kitless preview path (e.g. --viz newton_gl), no launcher supplies the device, so --device cpu is ignored and the preview runs on cuda:0.
| top-down view). Of the 256 environments, 36 are randomly sampled for the camera view. | ||
| The script adds a ``CameraCfg`` beneath each robot's base before constructing the environment. | ||
| Its offset defines the view relative to the base, so the camera follows the robot through the | ||
| normal sensor lifecycle. Of the 256 environments, 36 are sampled for display. |
There was a problem hiding this comment.
🤖 AI-generated review comment (Claude Code, posted on behalf of @AntoineRichard — please verify)
[Low] The doc says 36 of the 256 environments are sampled, but run_tiled_camera_visualizer.py now sets streaming_envs = 16.
StafaH
left a comment
There was a problem hiding this comment.
Initial review, will do another pass later. Any chance we can split this up?
| if not any(v in (args_cli.visualizer or []) for v in ("newton", "newton_gl", "newton_rtx")): | ||
| return [] | ||
| @configclass | ||
| class VisualizersCfg(MultiBackendVisualizerCfg): |
There was a problem hiding this comment.
Let's remove the s from VisualizersCfg -> VisualizerCfg
There was a problem hiding this comment.
Fixed in the split follow-up #8126, commit 88959f63a. All four affected demos now use VisualizerCfg.
| if renderer_cfg is None: | ||
| return True | ||
| if _is_auto_rtx_renderer(renderer_cfg): | ||
| if getattr(renderer_cfg, "renderer_type", None) == "auto_rtx": |
There was a problem hiding this comment.
Let's avoid get_attr where possible
There was a problem hiding this comment.
Cleaned this up in #8126 (88959f63a). The launcher now checks the declared config types and accesses their fields directly; no getattr, hasattr, or setattr remains in this file. Config replacement uses the same field assignment for root, dictionary, and dataclass inputs, removing the repeated branching. The existing Scan result also records the actual SimulationCfg, so device setup no longer guesses at cfg.sim. This removes 57 production lines; 301 focused tests pass.
| @@ -432,7 +324,7 @@ def visit(node, parent, key): | |||
| config_scan = Scan( | |||
There was a problem hiding this comment.
There is an upper case Scan class? and a lower case scan function now, whats going on?
There was a problem hiding this comment.
You're right, Scan was keeping a second version of information already in the configs. Removed it and the old scan() entrypoint, along with the repeated flag refreshes. resolve_simulation_cfg() now returns the cfg itself; launch_simulation() starts the runtimes named by the concrete configs.
This is in #8126, where launcher selection moved when we split 6A/6B: dfe0f1016fdaad8e68b9ae03603348940a4dacf3. The follow-up removes 88 production lines and 55 test lines. The tests now use real configs instead of constructing fake Scan results. 369 focused tests and the formatting/lint checks passed.
| sim_cfg.visualizer_cfgs = [*viewers, KitVisualizerCfg(headless=bool(launcher_args.get("xr", False)))] | ||
| return cfg | ||
|
|
||
|
|
||
| def scan(cfg, launcher_args: argparse.Namespace | dict | None = None) -> Scan: |
There was a problem hiding this comment.
This whole function is so complex, so many if isinstance
| children = enumerate(node) | ||
| elif isinstance(node, dict): | ||
| children = node.items() | ||
| elif hasattr(node, "__dict__"): |
There was a problem hiding this comment.
I don't like hasattr, prefer isinstance if you need to find a dict
|
run-ci |
|
run-ci |
| for name, sensor in getattr(self._interactive_scene, "sensors", {}).items() | ||
| if isinstance(sensor, Camera) | ||
| } | ||
| from ..sensors.camera import Camera |
There was a problem hiding this comment.
Can we move import to top of file?
|
|
||
|
|
||
| @wp.kernel(enable_backward=False) | ||
| def _compose_image_channel( |
There was a problem hiding this comment.
Kernels like this are really inefficient. It's better to either write them all manually as seperate kernels, or even better, use programmatic way to generate N number of different kernels. See: https://nvidia.github.io/warp/stable/user_guide/programming_model/code_generation.html#dynamic-kernel-creation
Prefer smaller more dedicated kernels, this will result in faster runtime performance.
There was a problem hiding this comment.
You don't need to do it programmatically if you aren't comfortable, writing them out by hand is also fine
|
run-ci |
|
run-ci |
# Description Interactive perspective views need their own camera product without importing a second copy of the scene. OVRTX can now create that product alongside sensor cameras, sharing scene preparation and native renderer resources while keeping output buffers and cleanup separate. This is **6Aii**, based on `develop` after #8103 merged. The GL/RTX frontend integration follows in #8303. An empty `CameraRenderSpec.camera_prim_paths` requests one renderer-owned perspective camera. The product can be resized without replacing its camera or bindings; sensor products keep their configured resolution. Perspective cameras see the full ClonePlan scene, while sensor cameras retain their environment partitions. Per-product settings are supplied through `CameraRenderSpec.render_settings`. **Lighting migration:** Removed implicit OVRTX ambient illumination. Author lights in the shared scene when illumination is needed; scenes without lights remain unlit. Render data owns resolved camera paths and tile dimensions. The USD builder consumes that state, and scene partition settings are authored during the existing export pass. Invalid output requests raise `ValueError` instead of silently selecting RGB or dropping unsupported outputs; request supported outputs through `CameraCfg.data_types`. Product authoring requires an explicit GPU device, supplied by the renderer. This shares resources, but does not reduce OVRTX submissions to only the selected camera: the existing native path still submits all registered products and publishes only requested outputs. ## Validation - Refreshed 27 OVRTX color reference images for the removal of implicit ambient lighting; pixel and SSIM tolerances are unchanged. Restoring only the old ambient setting made Cartpole, cloth, Shadow Hand, and Kuka material randomization match the old references. All 22 selected OVRTX rendering checks across the seven original scenes then passed on GPU 0 (nine existing skips). The additional Kuka material-randomization reference passed both legacy and ovstage on GPU 0; local and ARM captures differed at only 0.02% of pixels (SSIM 0.9998). - 113 OVRTX clone-plan, USD, renderer-contract, and material-synchronization tests passed on the final cleanup, including native tests on GPU 0. Two Cartpole legacy OVRTX rendering checks also passed (one existing skip). - Existing tests reject missing/unsupported output requests and verify that export preserves authored scene settings without mutating the source stage. The five corresponding checks fail against the previous implementations and pass with the cleanup. - Formatting, lint, and changelog checks passed. - Public API behavior and migration guidance are documented in docstrings and package fragments. - The follow-up frontend remains draft because closing a GL window can corrupt later native OVRTX captures. That failure is documented in #8303; it is not counted as passing integration coverage here. ## Type of change - New feature - Breaking change - Bug fix ## Release backport - [ ] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Checklist - [x] Read the contribution guidelines - [x] Ran formatting/lint and changelog checks - [x] Documented APIs and lighting migration - [x] Extended existing contract tests - [x] Added package changelog fragments - [x] Contributor already listed
# Description Newton RTX now uses native `ViewerRTX(ovstage=...)` with a simulation-owned scene stage instead of rebuilding viewer USD from the Newton model. Authored lighting, materials, and clone placements reach the viewer directly; Newton retains its window, perspective camera, and debug markers. OVStage and OVRTX share private copy batching that omits children already supplied by their parent. GL and RTX share camera selection and model-reset code. Contact rendering uses the sensor interface directly; selected PhysX environments retain the correct body-pose ordering. Marker inputs normalize directly to the simulation device, including host arrays and partial prototype-index updates. Window defaults merge per field without sharing mutable state. Newton and Kit use shared `WindowCfg(size=...)`; Newton windows use a wall-clock `fps` limit (30 by default) instead of skipping simulation frames. Scene-camera images stay on the GPU for display, and window resizing scales fixed-resolution images without resizing sensors. Backend construction stays inside the visualizer, using the simulation owner passed to `initialize(sim, cameras=...)`. This is **PR6Aiii**. Shared `ImageViewCfg`, window/recorder frame caching, and removal of duplicate CPU composition are split into **PR6Aiv (#8432)**. Follows merged #8103, #8319, and #8381; incorporates #8221 without #8232. **Migration:** Use Camera View instead of Open/Hide. Remove RTX `rtx_environment`, `world_spacing`, and GL model options; author lights and placement in the scene. Use GL for dragging and model overlays. Custom visualizers must adopt `initialize(sim, cameras=...)`. Move `window_width`/`window_height` to `window=WindowCfg(size=(width, height))`, replace Newton `update_frequency` with `window.fps`, and use `render_tiled_rgba_array()` for GPU images. Runtime material randomization is not yet propagated to the borrowed stage. ## Validation The review cleanup passed 121 tests on GPU0, including the full marker suite and native RTX motion/pause/marker integration; the two lighting cases below remain skipped. The extended existing tests reproduced the window aliasing, partial-default inheritance, and marker-device bugs before their fixes. The RTX media configuration now constructs successfully. Formatting/lint and changelog checks passed; full CI is being rerun. Startup to the first rendered image, in seconds: **baseline → combined implementation**, measured at preserved revision `00adda3a9` against `a3acc244d` before this split. These measurements include the shared-view follow-up and are not a new measurement of the isolated PR6Aiii branch. Every case includes the **Newton RTX viewer** at 640×480; RGB adds one 64×64 OVRTX sensor per environment. Timings include process launch, physics, scene, and viewer setup. | Task / physics | Sensor cameras | 1,024 environments | 4,096 environments | |---|---|---:|---:| | ANYmal rough / Newton MJWarp | None | 55.8 → **28.4** | 251.8 → **29.3** | | ANYmal rough / Newton MJWarp | RGB | 60.1 → **32.5** | 258.7 → **44.1** | | ANYmal rough / OVPhysX | None | 64.7 → **38.8** | 294.1 → **70.7** | | ANYmal rough / OVPhysX | RGB | 74.7 → **38.4** | 302.3 → **92.6** | | Kuka–Allegro lift / Newton MJWarp | None | 46.1 → **17.3** | RAM limit → **28.9** | | Kuka–Allegro lift / Newton MJWarp | RGB | 45.2 → **21.9** | RAM limit → **42.1** | | Kuka–Allegro lift / OVPhysX | None | 102.1 → **71.6** | RAM limit → **121.9** | | Kuka–Allegro lift / OVPhysX | RGB | 101.4 → **78.3** | RAM limit → **141.5** | Single runs with warmed caches and identical dependencies on an RTX 5090, GPU0 only. All 16 PR cases passed image validation and three rollout steps. Four 4,096-environment Kuka baselines exceeded available host RAM; these have no valid timing and need a repeat after memory is freed. The other 12 baselines passed. [Benchmark setup](#8303 (comment)). ## Temporary test skip and follow-up The two lighting/lifetime cases using an OVRTX sensor are temporarily skipped because the sensor and native viewer create separate OVRTX renderers; the second can stall when the first has loaded a scene but never rendered. The two Warp-sensor cases remain enabled and passed on GPU0 (2 passed, 2 skipped in 18 seconds). This skips affected coverage; it does not fix the runtime stall. Re-enable those cases after [Newton #4627](newton-physics/newton#4627) merges and Isaac Lab adopts its shared-renderer API. The test body and its ownership, lighting, and sensor-buffer assertions remain intact. The shared-renderer integration will also address stale deformable geometry, pose-offset inference on hard reset, and unnecessary perspective-scene construction for sensor-only windows. These are confirmed limitations of the current separate-stage path, not fixed by this cleanup. GL sensor navigation still reads input one frame late. Fixing that requires an input-update phase before image composition in Newton; the current code does not add a second input pump. ## Type of change - New feature - Breaking change - Bug fix - Documentation update ## Release backport - [ ] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Checklist - [x] Read the contribution guidelines - [x] Ran formatting/lint and changelog checks - [x] Updated documentation and migration guidance - [x] Validated the split with existing focused tests - [x] Added package changelog fragments - [x] Contributor already listed - [x] Clean local documentation build - [ ] Pass GPU CI
* Update the cartpole OVRTX goldens for OVRTX 0.5.1 (isaac-sim#8443) # Description Updates the four cartpole OVRTX goldens (`cartpole/{newton,ovphysx}-ovrtx_renderer-{rgb,rgba}.png`) to the CI runner's OVRTX 0.5.1 renders. Since isaac-sim#8350, `rendering-correctness-kitless (legacy)` fails on them deterministically (about 1.95% different pixels against the 1.5% threshold; repeated runs are byte-identical). ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Checklist Docker and GPU tests run on demand. Push the commits you want tested, then comment `run-ci` on the pull request. - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `uv run isaaclab --format` - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have validated the changed behavior with focused coverage and applied the [test-audit criteria](https://github.com/isaac-sim/IsaacLab/blob/develop/skills/developer/test-audit/SKILL.md) to any test changes - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package (do **not** edit `CHANGELOG.rst` or bump package versions — CI handles that) - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there * Deprecate legacy deformable cfgs and add OvPhysX fragment support (isaac-sim#8348) # Description Deformable fragment slots now create bodies on OvPhysX. PhysX and OvPhysX use the same OmniPhysics USD authoring for the simulation API, rest state, and bind pose. The legacy deformable cfgs and `define_deformable_body_properties` / `modify_deformable_body_properties` remain functional but warn in 3.1 ahead of removal in 3.2. The affected tutorials, example, and fragment-path tests use the slots. An empty slot creates a body with backend defaults; fragments are needed only for properties being set. The Franka soft and cloth presets retain `deformable_props` during the deprecation period so downstream overrides keep working. The spawner continues to reject configurations that set more than one deformable slot. The legacy OmniPhysics writer and both PhysX managers share one authoring function. No new precedence or adapter path is added. ## Validation - Deprecation tests: 96 passed; deformable fragment tests: 10 passed; backend-split tests: 4 passed. - PhysX mesh spawning: 2 passed; OVPhysX deformables: 20 passed and 1 skipped, with both volume and surface fragment-slot cases passing when the tetrahedralization extra is installed; Newton deformables: 8 passed. - Repository formatting, changelog gate, and a clean Sphinx build with warnings treated as errors passed. - Franka training and tutorial scripts were not run end to end. --------- Co-authored-by: Octi Zhang <[email protected]> * [Docs] DOC-007: Migration guide: per-section review owners and checks (isaac-sim#8389) # Description Before the 3.0 release, the domain owners need to review the "Migrating to 3.0" guide (`docs/source/migration/migrating_to_isaaclab_3-0.rst` and `docs/source/migration/include/*`) one section at a time. This PR assigns each section to likely reviewers and gives each one a concrete check. Reviewers come from `.github/CODEOWNERS` and from `git log` on the source the section describes, counting commits since 2025-10. Names are plain handles with no mentions, so nobody is pinged yet. While preparing the checklist, I compared every Sphinx cross-reference and every `from X import Y` in the guide against the source tree. I fixed the statements that were clearly stale. No other content was rewritten. **Doc fixes in this PR** - Actuator limit aliases: the guide said they stay "through the 3.x release line and will be removed in 3.1". `actuator_base_cfg.py` says they are removed in 3.1, so the guide now says that. - `RayCasterCfg.attach_yaw_only`: the guide called it deprecated, but it was removed (isaaclab CHANGELOG 4.6.11). - `isaaclab.utils.math.convert_quat`: the guide said it was removed. It still exists and is still called by the HDF5 dataset handler and a contrib task, so the guide now says it is no longer needed for Isaac Lab data and is kept for external WXYZ data. - Legacy `write_*_to_sim(data, env_ids)`: the guide said these were removed. They are deprecated forwarders to the `_index` variants. - MJCF importer: `fix_base` and `link_density` came out of the "Removed Settings" list. They were added back to `MjcfConverterCfg` in isaac-sim#5394. - MJCF `collision_type` example: replaced `"default"`, which the `Literal` type does not accept, with values it does accept. - Data Access and Math overview card: `write_root_pose_to_sim_index(pose, env_ids)` became `write_root_pose_to_sim_index(root_pose=pose, env_ids=env_ids)`, since its arguments are keyword-only on every backend. - XR teleop install: `pip install isaacteleop~=1.0 --extra-index-url ...` became `uv sync --extra teleop --extra isaacsim`. The `teleop` extra pins `isaacteleop~=1.4.145`, and uv is the only supported install method. The `skills/user/migrate-2x-to-3x/` skill does not repeat any of these claims, so it needs no change. ## Per-section review checklist Format: `Section — reviewers — check`. "Verified" means the symbol or path was found in `develop`. Each reviewer still needs to run the snippets in a real environment. **Isaac Lab 2.x → 3.0** - [ ] Installation — StafaH, kellyguo11, myurasov-nv — On a fresh checkout, run `uv sync --extra isaacsim` and the `isaaclab train ... physics=isaacsim_physx` command. Confirm that the `isaacsim` / `ovphysx` extras and the `installation-method-uv` reference still match `pyproject.toml`. Verified: `isaaclab.sh` / `isaaclab.bat` are gone. - [ ] Multi-Backend Architecture and Presets (overview, Multi-Backend Architecture, New `isaaclab_physx` / `isaaclab_newton` Extensions, Backend-Neutral Imports, Newton Backend Implementations) — AntoineRichard, ooctipus, StafaH — Run the import snippets under the PhysX, Newton and OVPhysX presets. Confirm the factory still resolves backend classes by module path. Confirm that `SurfaceGripper` is only in `isaaclab_physx`, and that the list of Newton-backed classes is complete (deformables and other sensors). Verified: all referenced classes exist. - [ ] Schema Configuration Class Refactor — vidurv-nvidia, ooctipus, mmichelis — For every row of the deprecated-class → fragment table, construct the deprecated class and compare its warning with the listed replacement set. Confirm that the three `warnings.filterwarnings` regexes still match the emitted messages (they match `schemas_cfg.py` today). Check the removal versions: classes go in 3.2, the `max_effort` / `max_velocity` field aliases in 4.0. The gravcomp note recommends `MujocoRigidBodyPropertiesCfg`, which is itself deprecated; decide whether it should point at `MujocoRigidBodyCfg`. Verified: all fragment classes and `apply_*` writers exist. - [ ] Multi-Backend Support: PresetCfg Pattern — ooctipus, StafaH, AntoineRichard — Run `--task Isaac-Open-Drawer-Franka-Direct physics=newton_mjwarp` and the default launch. Check that the Reach "After" snippet still matches the Reach task source, and that the `MJWarpSolverCfg` parameter table matches the cfg fields. The first `MyPhysicsCfg` snippet uses `PhysxCfg` / `NewtonCfg` without importing them; decide whether to add the imports. Verified: `isaaclab.physics.PhysxAutoCfg` and `isaaclab_tasks.utils.PresetCfg` exist. - [ ] Isaac Sim API Compatibility — kellyguo11, ooctipus, hujc7 — Compare the module rename table with the Isaac Sim 6.1 deprecation list. Run the `enable_extension(...)` + `XformPrim` snippet inside Kit. Verified: every listed `isaaclab.sim.utils.{stage,prims,queries}` function exists, `PhysxManager` / `NewtonManager` are exported, `source/isaaclab/test/deps/isaacsim` is gone, and no `apps/*.kit` contains `extsDeprecated`. - [ ] PhysX Tensors API Module Path — AntoineRichard, ooctipus, kellyguo11 — Confirm on Isaac Sim 6.1 that `omni.physics.tensors.api` exposes the view types. Verified: `source/` no longer imports `omni.physics.tensors.impl`. - [ ] Renaming of `XformPrimView` to `FrameView` — ooctipus, AntoineRichard, StafaH — Confirm that the deprecated `XformPrimView` alias is still exported and warns, and that the `FrameView` factory dispatches to `FabricFrameView` (PhysX) and `NewtonSiteFrameView` (Newton). Verified: all five new classes exist. - [ ] Actuator effort and joint-limit names — ooctipus, StafaH, AntoineRichard — Run an explicit-actuator task and confirm the behaviour change (the solver keeps `joint_effort_limit`). Confirm that the `resolve_joint_parameter(...)` call in the snippet matches its signature. Verified: every read and write target in the removed-group-property table exists, with dynamic friction only on PhysX and OVPhysX. Fixed: removal version. - [ ] Actuator API Moves to `ActuatorCollection` — ooctipus, StafaH, AntoineRichard (LEAPP exception: frlai) — Run the before/after example. Confirm the `set_*_index` / `_mask` setters are keyword-only and that the LEAPP exception still holds. Verified: `target_command`, `computed_effort` and `applied_effort` exist, and `ArticulationData.gear_ratio` is gone. - [ ] RigidObjectCollection API Renaming — AntoineRichard, ooctipus — The rename table and the "After" example point at `write_body_state_to_sim` and similar methods, which are themselves deprecated forwarders in 3.0. Decide whether to point at the `_index` / `_mask` variants instead. Confirm that every listed `object_*` property still forwards. - [ ] Deformable Object API Changes + Migration of Deformables (`include/deformables.rst`) — mmichelis, ooctipus, AntoineRichard — Run `examples/deformables.py` on PhysX and Newton, and the volume before/after snippet. Confirm the removed-property table against `PhysxDeformableBodyPropertiesCfg`. Verified: every listed material and props cfg is exported from `isaaclab_physx.sim` / `isaaclab_newton.sim`, and `linear_damping` / `settling_damping` exist. - [ ] IMU Sensor Renamed to PVA; New Lightweight IMU Sensor — AntoineRichard, ooctipus, StafaH — Check the gravity claims: PVA acceleration excludes gravity and IMU always includes it. Confirm that `ImuData` only exposes `ang_vel_b` / `lin_acc_b`. Verified: `pva_orientation` / `pva_projected_gravity` exist and `gravity_bias` is gone. - [ ] Sensor Pose Properties Deprecation — ooctipus, AntoineRichard — Confirm that `ContactSensorData.pose_w` / `pos_w` / `quat_w` emit a deprecation warning on every backend, and run the `FrameTransformer` replacement snippet. - [ ] Contact force property names — ooctipus, AntoineRichard, yufengsjtu — Check every row of the backend table on PhysX, OVPhysX and Newton: the warn paths and the `NotImplementedError` for `net_friction_forces_w*` on PhysX. Verified: every listed property exists on the base and backend data classes. - [ ] Articulation Joint Wrench Data Moved to `JointWrenchSensor` — ooctipus, AntoineRichard, StafaH — Run both scene snippets. Confirm the body-ordering claim: PhysX includes the root link, Newton reports child bodies only. Verified: `body_incoming_joint_wrench_b` is gone, and `mdp.body_incoming_wrench`, `body_names` and `find_bodies` exist. - [ ] Ray Caster Warp Backend — ooctipus, AntoineRichard, pascal-roth — Run the `RayCasterCfg(ray_alignment="yaw")` snippet. Verified: `env_mask` is the first kernel argument and `RayCaster.meshes` is keyed by `(prim_path, device)`. Fixed: `attach_yaw_only` is removed, not deprecated. - [ ] Quaternion Format / Quaternion Finder Tool / Runtime Quaternion Access Detector / Quaternion Utility API Changes / Quaternion Migration Checklist — AntoineRichard, StafaH — Run `scripts/tools/find_quaternions.py` with every documented flag (`--path`, `--base`, `--check-identity`, `--likely-wxyz`, `--all-quats`, `--fix`, `--fix-identity-only`, `--dry-run`, `--force`) and check the sample output format. Verified: `WARN_ON_TORCH_QUATF_ACCESS` exists in `proxy_array.py`. Fixed: `convert_quat` still exists. - [ ] ProxyArray Backend for Asset and Sensor Data / ProxyArray Interop — AntoineRichard, StafaH, ooctipus — Confirm that the affected-classes table should also list the Newton and OVPhysX sensors. Run the `torch.*` bridge and confirm its one-time `DeprecationWarning`. Verified: the `wp.to_torch` shim, `__torch_function__` and `__cuda_array_interface__` all exist. - [ ] Write Method Index/Mask Split — AntoineRichard — Confirm that every listed `_index` / `_mask` writer exists on Articulation, RigidObject and RigidObjectCollection for every backend. Fixed: the legacy writers are deprecated forwarders, not removed, and the Data Access and Math overview card now uses keyword arguments. - [ ] Timestamped buffers — ooctipus, AntoineRichard — Run the `TimestampedBuffer(wp.zeros(...))` snippet. Verified: `TimestampedBufferWarp` is gone. - [ ] Reinforcement Learning CLI Entrypoints / Unified Checkpoint and Iteration Arguments — StafaH, ooctipus, kellyguo11 (RLinf rows: mingxueg-nv) — Run `isaaclab train` and `isaaclab play` for each of `rsl_rl`, `rl_games`, `skrl`, `sb3` and `rlinf`, plus the `torch.distributed.run` command. Check the `--checkpoint latest|best|pretrained` support matrix and the RLinf `--model_path` / `--checkpoint` semantics. Verified: `scripts/reinforcement_learning/train.py` exists. - [ ] Visualizer CLI and Headless Behavior — matthewtrepte, StafaH, kellyguo11 — Confirm that `--headless` is rejected, then check `HEADLESS=1` with `--viz kit` (plus `--enable_cameras`) and with `--viz newton_gl`, and run `--video viz:kit`. - [ ] Viewport Camera Configuration (`ViewerCfg` deprecated) — matthewtrepte, ooctipus — Confirm the `viewer.*` shim and the `ViewportCameraController` warning. Run the `KitVisualizerCfg(origin_type="asset", origin_track_path=...)` snippet. Check the custom-visualizer `initialize(..., cameras=, stage=)` paragraph against `base_visualizer.py`. Verified: `resolve_camera_sources` and `get_visualized_env_ids` exist. - [ ] Streaming Camera View (`tiled_cam_*` fields removed) — matthewtrepte, ooctipus, pbarejko — Run the `NewtonGLVisualizerCfg(streaming_*)` snippet with a scene-declared camera. Confirm that the removed helpers are gone. Verified: `resolve_streaming_envs` and `Camera.set_world_poses_from_view` exist. - [ ] Newton Visualizer Type Split — matthewtrepte, StafaH — Confirm that `NewtonVisualizerCfg` warns, that `--viz newton` aliases to `newton_gl`, and that `visualizer:newton` / `viz:newton_gl` work as video sources. - [ ] Video Recording (`gym.wrappers.RecordVideo` replaced) — matthewtrepte, ooctipus — Run the `VideoRecorderCfg(source="viz", ...)` snippet. Confirm `eye` / `lookat` were removed and `recording_hooks` is gone. Verified: `SimulationContext.add_render_callback` exists. - [ ] URDF Importer — kellyguo11, stevfeng, ooctipus — With the Isaac Sim 6.1 importer, run `convert_urdf.py` with the documented flags and the Python before/after snippet. Confirm that the deprecated settings warn and that the output path is `{usd_dir}/{robot_name}/{robot_name}.usda`. Verified: the CLI flags exist. - [ ] MJCF Importer — kellyguo11, stevfeng — Run `convert_mjcf.py` with the documented flags and the Python snippet. The Python before/after example still drops `fix_base`, which is now supported again; decide whether to keep it. Fixed: `fix_base` / `link_density` are no longer listed as removed, and `collision_type` examples are valid values. - [ ] Benchmark Workflows — AntoineRichard, StafaH, ooctipus — Run the runtime, training, play and startup commands and `--benchmark_formatter schema,omniperf`. The guide says the "transitional runtime, startup, training, and play scripts were removed", but `scripts/benchmarks/{runtime,startup,training,play}.py` still exist as supported launchers; clarify which scripts are meant. The PhysX micro-benchmarks now live under `source/isaaclab_physx/benchmark/{assets,sensors}/`. Verified: `isaaclab.test.benchmark` is gone and the formatter names match `BenchmarkFormatter`. - [ ] XR Teleoperation: Isaac Capture Integration — rwiltz, hougantc-nvda, kellyguo11 — Run the pipeline-builder snippet against the pinned `isaacteleop~=1.4`. Confirm that the deprecated `isaaclab.devices.openxr` classes warn and that the import-mapping table is still accurate. Fixed: install command. - [ ] Section overview cards (Assets, Actuators, and Sensors / Data Access and Math / Reinforcement Learning / Visualizers, Cameras, and Recording / Tools and Integrations) — ooctipus (Assets), AntoineRichard (Data Access), StafaH (Reinforcement Learning), matthewtrepte (Visualizers), kellyguo11 (Tools) — Check each 2.x/3.0 card against the detailed subsections below it, and run the 3.0 card snippets. - [ ] Getting Help — AntoineRichard, kellyguo11 — Check the links. The CHANGELOG link points at `main`. **Isaac Gym / IsaacGymEnvs (`include/from_isaacgymenvs.rst`, `include/comparing_simulation_isaacgym.rst`)** - [ ] Migration from Isaac Gym and IsaacGymEnvs — StafaH, kellyguo11, ooctipus — Compare the snippets with `source/isaaclab_tasks/isaaclab_tasks/core/cartpole`, then run the training and inference commands. Verified: the referenced classes and the `CARTPOLE_CFG` import exist. - [ ] Comparing Simulations Between Isaac Gym and Isaac Lab — kellyguo11, StafaH — Re-run the OmniPVD recording workflow with `isaaclab benchmark runtime` and the current kit args. **Cross-cutting** - [ ] Agent skills sync — StafaH, AntoineRichard — After the reviews above land, update `skills/user/migrate-2x-to-3x/` and `skills/user/migrate-from-isaac-gym/` to match, since the guide is their source of truth. ## Validation - Clean docs build (`uv run --extra dev make -C docs current-docs`, which runs `sphinx-build -W --keep-going`): succeeded with 0 warnings, and the changed passages render. Sphinx does not run in nitpicky mode, so unresolved `py:` cross-references would not fail this build. The symbol check below covers them. - `pre-commit run --files docs/source/migration/migrating_to_isaaclab_3-0.rst`: all hooks passed. - Static symbol check: a throwaway script, not committed, resolved every `:class:` / `:func:` / `:meth:` / `:attr:` / `:mod:` target and every `from X import Y` in the four migration files against `source/`. The only unresolved targets were intentional 2.x "before" snippets. I also used targeted greps for the CLI flags, file paths and deprecation messages listed above. I did not run any snippet in a simulator. - Docs-only change outside `source/<pkg>/`, so no changelog fragment is needed. ## Type of change - Documentation update ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `uv run isaaclab --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have validated the changed behavior with focused coverage and applied the [test-audit criteria](https://github.com/isaac-sim/IsaacLab/blob/develop/skills/developer/test-audit/SKILL.md) to any test changes - [ ] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package (do **not** edit `CHANGELOG.rst` or bump package versions — CI handles that) - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there * [6Aiii] Use native Newton RTX with a borrowed scene stage (isaac-sim#8303) # Description Newton RTX now uses native `ViewerRTX(ovstage=...)` with a simulation-owned scene stage instead of rebuilding viewer USD from the Newton model. Authored lighting, materials, and clone placements reach the viewer directly; Newton retains its window, perspective camera, and debug markers. OVStage and OVRTX share private copy batching that omits children already supplied by their parent. GL and RTX share camera selection and model-reset code. Contact rendering uses the sensor interface directly; selected PhysX environments retain the correct body-pose ordering. Marker inputs normalize directly to the simulation device, including host arrays and partial prototype-index updates. Window defaults merge per field without sharing mutable state. Newton and Kit use shared `WindowCfg(size=...)`; Newton windows use a wall-clock `fps` limit (30 by default) instead of skipping simulation frames. Scene-camera images stay on the GPU for display, and window resizing scales fixed-resolution images without resizing sensors. Backend construction stays inside the visualizer, using the simulation owner passed to `initialize(sim, cameras=...)`. This is **PR6Aiii**. Shared `ImageViewCfg`, window/recorder frame caching, and removal of duplicate CPU composition are split into **PR6Aiv (isaac-sim#8432)**. Follows merged isaac-sim#8103, isaac-sim#8319, and isaac-sim#8381; incorporates isaac-sim#8221 without isaac-sim#8232. **Migration:** Use Camera View instead of Open/Hide. Remove RTX `rtx_environment`, `world_spacing`, and GL model options; author lights and placement in the scene. Use GL for dragging and model overlays. Custom visualizers must adopt `initialize(sim, cameras=...)`. Move `window_width`/`window_height` to `window=WindowCfg(size=(width, height))`, replace Newton `update_frequency` with `window.fps`, and use `render_tiled_rgba_array()` for GPU images. Runtime material randomization is not yet propagated to the borrowed stage. ## Validation The review cleanup passed 121 tests on GPU0, including the full marker suite and native RTX motion/pause/marker integration; the two lighting cases below remain skipped. The extended existing tests reproduced the window aliasing, partial-default inheritance, and marker-device bugs before their fixes. The RTX media configuration now constructs successfully. Formatting/lint and changelog checks passed; full CI is being rerun. Startup to the first rendered image, in seconds: **baseline → combined implementation**, measured at preserved revision `00adda3a9` against `a3acc244d` before this split. These measurements include the shared-view follow-up and are not a new measurement of the isolated PR6Aiii branch. Every case includes the **Newton RTX viewer** at 640×480; RGB adds one 64×64 OVRTX sensor per environment. Timings include process launch, physics, scene, and viewer setup. | Task / physics | Sensor cameras | 1,024 environments | 4,096 environments | |---|---|---:|---:| | ANYmal rough / Newton MJWarp | None | 55.8 → **28.4** | 251.8 → **29.3** | | ANYmal rough / Newton MJWarp | RGB | 60.1 → **32.5** | 258.7 → **44.1** | | ANYmal rough / OVPhysX | None | 64.7 → **38.8** | 294.1 → **70.7** | | ANYmal rough / OVPhysX | RGB | 74.7 → **38.4** | 302.3 → **92.6** | | Kuka–Allegro lift / Newton MJWarp | None | 46.1 → **17.3** | RAM limit → **28.9** | | Kuka–Allegro lift / Newton MJWarp | RGB | 45.2 → **21.9** | RAM limit → **42.1** | | Kuka–Allegro lift / OVPhysX | None | 102.1 → **71.6** | RAM limit → **121.9** | | Kuka–Allegro lift / OVPhysX | RGB | 101.4 → **78.3** | RAM limit → **141.5** | Single runs with warmed caches and identical dependencies on an RTX 5090, GPU0 only. All 16 PR cases passed image validation and three rollout steps. Four 4,096-environment Kuka baselines exceeded available host RAM; these have no valid timing and need a repeat after memory is freed. The other 12 baselines passed. [Benchmark setup](isaac-sim#8303 (comment)). ## Temporary test skip and follow-up The two lighting/lifetime cases using an OVRTX sensor are temporarily skipped because the sensor and native viewer create separate OVRTX renderers; the second can stall when the first has loaded a scene but never rendered. The two Warp-sensor cases remain enabled and passed on GPU0 (2 passed, 2 skipped in 18 seconds). This skips affected coverage; it does not fix the runtime stall. Re-enable those cases after [Newton isaac-sim#4627](newton-physics/newton#4627) merges and Isaac Lab adopts its shared-renderer API. The test body and its ownership, lighting, and sensor-buffer assertions remain intact. The shared-renderer integration will also address stale deformable geometry, pose-offset inference on hard reset, and unnecessary perspective-scene construction for sensor-only windows. These are confirmed limitations of the current separate-stage path, not fixed by this cleanup. GL sensor navigation still reads input one frame late. Fixing that requires an input-update phase before image composition in Newton; the current code does not add a second input pump. ## Type of change - New feature - Breaking change - Bug fix - Documentation update ## Release backport - [ ] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Checklist - [x] Read the contribution guidelines - [x] Ran formatting/lint and changelog checks - [x] Updated documentation and migration guidance - [x] Validated the split with existing focused tests - [x] Added package changelog fragments - [x] Contributor already listed - [x] Clean local documentation build - [ ] Pass GPU CI * [Tests] Serialize flaky Kit lifecycle tests in CI (isaac-sim#8447) # Description Two independent Kit lifecycle operations deadlocked in the same CI run for isaac-sim#8443: - the Spot LEAPP export wrote and validated its artifacts, cleared `SimulationContext`, and then timed out in native Kit shutdown; - the Galbot suction RMPFlow case timed out while synchronously enabling `isaacsim.robot.surface_gripper` during the PhysX reset callback. Both files were running alongside several independent Kit processes through the package scheduler. Keep their behavioral coverage, but run each file alone and run the LEAPP cases serially. This avoids concurrent native extension loading and shutdown without skipping tests or increasing their timeout. Failed jobs: - https://github.com/isaac-sim/IsaacLab/actions/runs/38010614299/job/114089646270 - https://github.com/isaac-sim/IsaacLab/actions/runs/38010614299/job/114089646003 This branch is rebased onto isaac-sim#8443 after it merged. ## Validation - [Final `Docker + Tests` workflow](https://github.com/isaac-sim/IsaacLab/actions/runs/38016776634): passed - [`isaaclab_tasks [3/3]`](https://github.com/isaac-sim/IsaacLab/actions/runs/38016776634/job/114109605708): passed, including all four RMPFlow cases - [`isaaclab_rl`](https://github.com/isaac-sim/IsaacLab/actions/runs/38016776634/job/114109605911): passed; LEAPP export flow had 17 passed and 1 unavailable-checkpoint skip, including the Spot case - [`rendering-correctness-kitless (legacy)`](https://github.com/isaac-sim/IsaacLab/actions/runs/38016776634/job/114109605883): passed with the merged isaac-sim#8443 goldens - All PR checks passed: 49 successful and 11 intentionally skipped - `PYTHONPATH=tools:source/isaaclab uv run pytest --noconftest tools/test_file_scheduler.py -q` (9 passed) - `ISAACLAB_CHANGELOG_BASE_REF=upstream/develop uv run isaaclab -f` - `uv run python tools/changelog/cli.py check upstream/develop --include-worktree` ### CI timing impact Both measurements used the `Docker + Tests` workflow on `cuda:0`, the same 18-case LEAPP suite (17 passed, 1 unavailable-checkpoint skip), its declared mix of default PhysX, Newton MJWarp, Isaac Sim PhysX, and OvPhysX presets, and the same restored Warp cache key (387 MB restored, 578 MB final). The runners differed, so the comparison is directional rather than a hardware-normalized benchmark. | | Parallel baseline | Serial candidate | | --- | ---: | ---: | | Revision | isaac-sim#8443 `976de17` | isaac-sim#8447 `fc66fed` | | Runner | `g6e.4xlarge` | `g7.4xlarge` | | Full `isaaclab_rl` job | 13m 52s | 19m 20s | | LEAPP file wall time | 388.63s | 1051.96s | The candidate adds about five and a half minutes to the full RL job while keeping it far below the workflow budget. (`d6372b0`, the next isaac-sim#8443 revision, changed only changelog-fragment text.) ## Type of change - Bug fix (CI / test infrastructure) ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Screenshots Not applicable. ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `uv run isaaclab --format` - [x] Documentation changes are not required for this CI-only change - [x] My changes generate no new warnings - [x] I have validated the changed behavior with focused coverage and applied the [test-audit criteria](https://github.com/isaac-sim/IsaacLab/blob/develop/skills/developer/test-audit/SKILL.md) - [x] No source package is touched, so no package changelog fragment is required - [x] My name already exists in `CONTRIBUTORS.md` * Add mesh_collision_props slot to all rigid-object spawners (isaac-sim#8349) # Description Adds the `mesh_collision_props` fragment slot to every rigid-object spawner: the USD, URDF and MJCF file spawners, the shape spawners and the mesh spawners. Several deprecation messages already pointed users at "the spawner's `mesh_collision_props` slot", but only `MeshFileCfg` had it. This makes that guidance true and migrates the last in-repo users of the deprecated mesh-collision cfgs. **The slot** - Lives on `RigidObjectSpawnerCfg`. It accepts a `{pattern: fragments}` mapping, a bare fragment, or a list. - Applies only to matched prims that already carry `UsdPhysics.CollisionAPI`. It never creates a collider, and a pattern that matches none logs a warning. - Default target: - File spawners use `"(/.*)?"`, meaning every collider under the spawn prim. That matches the reach of the legacy nested `mesh_collision_property`, so migrating authors identical USD. - Shape and mesh spawners target their geometry prim. On mesh spawners the slot overrides the built-in default approximation. - Legacy `MeshCollisionBaseCfg` / `*PropertiesCfg` values are still accepted in the slot. They are routed through the deprecated writer and warn as before. - Setting it together with any deformable setting raises `ValueError`, on the mesh spawners and on the USD/URDF/MJCF file spawners. - `MeshFileCfg` keeps its existing narrower override, which takes a bare fragment or a list but not the `{pattern: fragments}` mapping. It anchors at each converted mesh prim, which is a single collider, so a mapping would add nothing. **Deprecation guidance and docs** - The Newton mesh/SDF collision warnings now say which fragments go in `collision_props` and which in `mesh_collision_props`. - The `NewtonSDFCollisionCfg` docstring said it authors an approximation token. It doesn't, and neither did the legacy class: Newton enables SDF from `NewtonSDFCollisionAPI` itself. - The schema-fragments concept page and the migration guide are updated. **nist Factory** (`factory_assets_cfg.py`): the robot, socket and plug presets move to `collision_props` + `mesh_collision_props` fragments, with all-`None` fragments dropped. The PhysX presets are unchanged. **Implementation:** The spawner selects existing colliders with the public prim matcher and calls the existing single-prim mesh-collision writer. Coverage is folded into the existing file, shape, mesh, and deformable suites; the two standalone test files and duplicate changelog entry were removed. ## Verification - **Parity on the real assets** (franka_mimic, bolt_m16, nut_m16; schemas, every attribute and relationship): legacy and migrated are identical. All 7 negative controls are flagged. - **Through the gym entry point:** `IsaacContrib-Factory-Franka` cfgs for the default, physx, isaacsim_physx and newton_mjwarp presets were spawned and compared against develop. All 12 are identical, and the branch emits no legacy deprecation warnings. - **Newton runtime:** the Factory task steps 20 times on newton_mjwarp with finite rewards. - **Sphere collider:** the legacy path also applies `PhysicsMeshCollisionAPI` to the franka force-sensor Sphere collider. The slot reproduces this so that migration stays USD-identical. Newton models built with and without it are identical, so it is inert. - **After rebasing:** 116 kitless routing, Factory parity, schema-fragment parity, and deprecation checks passed. The repository formatting and changelog hooks passed. Kit integration checks are pending CI. ## Type of change - New feature (non-breaking change which adds functionality) ## Checklist - [x] I have read and understood the contribution guidelines - [x] I have run the `pre-commit` checks - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there --------- Co-authored-by: Octi Zhang <[email protected]> * Fix convert_instanceable mesh path and migrate schema docs to fragments (isaac-sim#8353) # Description The schema-fragment migration left `convert_instanceable.py` passing the removed `collision_approximation` argument to `MeshConverterCfg`, so converting a mesh raised `TypeError`. The script now passes a `UsdPhysicsMeshCollisionCfg` fragment, or `None` when collisions are disabled. `MujocoJointCfg(actuatorgravcomp=True)` also overwrote an explicitly authored body `mjc:gravcomp=0.0`. It now supplies `1.0` only when that attribute has no authored value. The existing joint-drive test covers both `0.0` and a nonzero authored value. The affected guides and Newton asset skill now use the fragment API, with the legacy schema page labeled as deprecated. The Cartpole example edits its existing Newton articulation fragment instead of adding a duplicate. Deprecated PhysX schema docstrings now agree with their 3.2 removal warnings. # Validation - Repository formatter and pre-commit checks passed (`uv run isaaclab -f`). - Skill validation passed (`tools/skills/cli.py check`). - A Kitless USD probe passed for unset, `0.0`, and `0.5` body gravcomp; converter configuration and the Cartpole example instantiated successfully. - The integration test could not run locally because Isaac Sim/Kit is unavailable in this environment. Sphinx is also unavailable locally; the documentation build remains for CI. --------- Co-authored-by: Octi Zhang <[email protected]> * [CI][Auto Version Bump] Compile changelog fragments (schedule) Bumped packages: - isaaclab: 35.2.0 → 36.0.0 - isaaclab_experimental: 0.2.6 → 0.2.7 - isaaclab_mimic: 2.1.2 → 2.1.3 - isaaclab_newton: 9.1.5 → 9.2.0 - isaaclab_ov: 4.1.3 → 5.0.0 - isaaclab_physx: 7.4.4 → 7.5.0 - isaaclab_rl: 4.0.1 → 5.0.0 - isaaclab_tasks: 25.0.1 → 25.0.2 - isaaclab_tasks_experimental: 1.0.0 → 1.0.1 - isaaclab_teleop: 0.10.2 → 0.10.3 - isaaclab_visualizers: 2.0.2 → 3.0.0 * Fix unintended stacking cubes in Agibot place scenes (isaac-sim#8454) # Description Agibot Toy2Box and upright mug place tasks reused the stacking `ObjectTableSceneCfg`. When that shared scene gained three default stacking cubes, both place tasks also began spawning and resetting those unrelated rigid bodies. Introduce a dedicated `AgibotPlaceSceneCfg` with the robot, end-effector sensor, task-supplied table, ground plane, and lighting. Toy2Box now contains only the toy truck and box; upright mug contains only the mug. Their existing table geometry and poses are preserved. Both Agibot Mimic variants inherit the corrected scene. Audited all five registered Galbot tasks: they are stacking tasks that explicitly configure and use all three cubes, so they require no change. The regression checks assert the place tasks' configured rigid objects. Both cases fail on the original code because of `cube_1`, `cube_2`, and `cube_3`, and pass with the dedicated scene. This removes the unintended cubes involved in the reported reset issue; it does not claim to fix a general PhysX collision defect. ## Validation - `uv run --no-sync python -m pytest source/isaaclab_tasks/test/contrib/test_agibot_place_env_cfg.py -q`: 5 passed. The two added cases failed on the original implementation for the expected extra cubes. - Instantiated and validated both registered Agibot tasks, all five registered Galbot tasks, and both Agibot Mimic configs after resolving presets. - `uv run --no-sync isaaclab -f`: passed all repository formatting and lint hooks. - `uv run --no-sync python tools/changelog/cli.py check develop --include-worktree`: passed. - `git diff --cached --check`: passed. Full Kit simulation was not completed: first launch requested acceptance of the NVIDIA Omniverse EULA. The requested QA branch currently pins Isaac Sim 6.1.0.0, whereas the report names 6.2 rc9; its Kit asset root points at 6.2. The full teleop extra also failed while compiling `imgui` 2.0.0 on Python 3.12. Configuration validation used the local `isaaclab_teleop` package without the optional XR/UI dependencies. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Checklist - [x] I have read and understood the contribution guidelines. - [x] I have run the pre-commit checks with `uv run isaaclab --format` (using `--no-sync` to preserve the validated environment). - [x] I have validated the changed behavior with focused coverage and applied the test-audit criteria. - [x] I have added a changelog fragment for the touched package. - [x] My name already exists in `CONTRIBUTORS.md`. - [ ] Full Isaac Sim 6.2 rc9 visual/reset reproduction. --------- Co-authored-by: Ege Sekkin <[email protected]> Co-authored-by: vidurv-nvidia <[email protected]> Co-authored-by: Octi Zhang <[email protected]> Co-authored-by: Antoine RICHARD <[email protected]> Co-authored-by: Kelly Guo <[email protected]> Co-authored-by: isaaclab-bot[bot] <282401363+isaaclab-bot[bot]@users.noreply.github.com> Co-authored-by: Rebecca Zhang <[email protected]>
Description
Visualizers borrow scene-declared cameras instead of creating their own sensors. The scene owns capture and lifetime; each viewer selects existing outputs and environment tiles.
SceneCameraCfgreferences a sensor, whilePerspectiveCameraCfgconfigures an interactive view.This is 6Ai, the shared camera and image-composition foundation. The stack continues with shared OVRTX products in 6Aii (#8319) and interactive GL/RTX camera views in 6Aiii (#8303). Visualizer launch selection remains in #8126.
Visualizers prepare environment indices, grid dimensions, and depth colors directly when the view or source layout changes.
isaaclab.utils.images.compose_image()consumes explicit arrays and display settings, and channel-specialized Warp kernels write RGB, depth, normals, and segmentation into reusable device RGBA storage. A single shared kernel body generates four variants using static branches; the display mode is not a kernel argument. The GPU compositor and its kernel live in the existing image utilities; shared display-layout calculations stay incamera_view.py. Kit consumes that device image directly.render_tiled_rgb_array()is the explicit readback boundary for recording and web clients. SimulationContext resolves camera references once and supplies the bound cameras and authored stage. Visualizers do not receive ClonePlan or rediscover scene cameras. Initial perspective poses use the configured eye and look-at fields directly. BaseVisualizer selects visible environments once; viewers, markers, and camera tiles consume that final selection. Unused generated-camera setup and redundant pose and environment-selection helpers have been removed.Migration: Declare cameras with scene
CameraCfgobjects. Replace generatedstreaming_cam_*and deprecatedtiled_cam_*settings withcameras,streaming_view, andstreaming_envs. Custom visualizers must forward the requiredcameraslist and optionalstageduring initialization and callsuper().close()after native teardown. Useget_visualized_env_ids()after initialization instead of the removednewton_adapter.resolve_visible_env_indicesandapply_viewer_visible_worldshelpers.Validation
Type of change
Release backport
developChecklist