Repository navigation
Remove camera_path_relative_to_env_0 - #7983
Conversation
(cherry picked from commit e5f1bdbe917af29e70fd9fa0c6b24344465285a0)
There was a problem hiding this comment.
Isaac Lab Review Bot
The OVRTX path derivation is consistently moved from the shared camera spec into the backend, but the PR removes a public CameraRenderSpec field outright, violating the repository requirement for prior deprecation and a migration path.
- Design and architecture: Deriving cloned camera paths inside OVRTX cleanly localizes the backend-specific env_0 assumption. The legacy and ovstage paths consistently derive their logical per-environment paths from the authored source camera.
- API:
CameraRenderSpec.camera_path_relative_to_env_0is a documented public dataclass field. Removing it immediately breaks keyword and positional construction as well as external backends that read it. Retain it as a deprecated, optional, ignored field for a deprecation cycle before removal. - Implementation: The changed OVRTX consumers, scene-partition updates, transform filtering, USD scope generation, and tests consistently use
camera_prim_paths[0]; no separate material implementation defect is established beyond the unsupported public API removal.
Significant concerns. Posted 1 actionable finding inline.
Automated review; human maintainers own approval decisions.
| view_count: Number of camera prims (must match ``len(camera_prim_paths)``). | ||
| camera_path_relative_to_env_0: Camera prim path with ``/World/envs/env_0/`` prefix | ||
| stripped; required by OVRTX. Empty string if the first camera is not under env 0. | ||
| camera_prim_paths: Absolute paths of the authored camera prims. When the renderer |
There was a problem hiding this comment.
🟡 Warning · Api — Public spec field removed without deprecation
CameraRenderSpec is a public dataclass consumed by render backends, so deleting camera_path_relative_to_env_0 immediately breaks keyword constructors (TypeError) and any backend reading the attribute, and shifts the positional signature. Repository policy forbids removing a public API without a prior deprecation and migration path. Keep the field as an optional, ignored deprecated member (default "") while OVRTX derives paths from camera_prim_paths, and remove it after the deprecation cycle.
|
|
run-ci |
(cherry picked from commit ef821d9)
…#7941, #7977, #7983, #7991, #8003) (#8002) ## Description Backports the rendering changes and related release fixes: - #7941 — routes rigid rendering transforms through `SceneDataProvider` and preserves shared Fabric bindings. - #7977 — batches due camera captures by renderer and fixes moving and cloned camera updates. This supersedes #8001. - #7983 — removes `CameraRenderSpec.camera_path_relative_to_env_0` and derives and validates the OVRTX source camera path from `camera_prim_paths`. The rendering changes were developed with this interface, so it is required by their OVRTX tests. - #7991 — fixes Newton's deprecated joint friction writers and the PhysX rigid object collection `body_mask` writer signatures. - #8003 — consolidates redundant Newton tests to shorten the Newton CI job without changing runtime code. #7941 required conflict resolution in the OVRTX legacy and OvStage transform binding functions: the release branch's Newton model path collection was replaced by SDP-published paths. #7983 was then integrated with those SDP paths. Each added commit records its source commit. Custom scene-data backends must follow the `transforms_version` publication contract described in the included migration documentation. Direct callers of `BaseRenderer.render()` must pass a sequence, for example `render([data])`. Callers constructing `CameraRenderSpec` must remove the `camera_path_relative_to_env_0` argument; OVRTX now derives it from `camera_prim_paths`. ## Validation - Rendering and scene-data focused tests from the original backport passed locally: 27 renderer tests and 50 scene-data / PhysX renderer tests. OVRTX runtime cases were skipped locally because the optional `ovrtx` module is unavailable. - #7991: the Newton deprecated friction writer test passed, and 72 rigid object collection mask writer cases passed. The new friction test fails without the fix and passes with it. - #8003: all 8 revised contact lifecycle cases passed. Kit-based Newton asset tests remain for CI. - `uv run isaaclab -f` passed after all additions with the changelog base set to `release/3.0.0`, as did `git diff --check`. - The original backport's documentation build passed with warnings treated as errors. Full GPU and Kit CI is running on the updated PR. ## Type of change - Rendering bug fixes and performance improvement - Backend API bug fixes and breaking renderer / scene-data interface changes with migration guidance - Newton test consolidation - Documentation and changelog fragments for affected source packages ## Release backport This PR targets `release/3.0.0`; no further backport is needed. ## Checklist - [x] Contribution guidance reviewed - [x] Focused local tests and formatting checks passed - [x] Public documentation and package changelog fragments included - [ ] Full GPU and Kit CI passed --------- Co-authored-by: ooctipus <[email protected]> Co-authored-by: Piotr Barejko <[email protected]>
(cherry picked from commit e5f1bdbe917af29e70fd9fa0c6b24344465285a0)
Description
Remove confusing field from Camera spec
Fixes # (issue)
Type of change
Release backport
developScreenshots
Please attach before and after screenshots of the change if applicable.
Checklist
Docker and GPU tests run on demand. Push the commits you want tested, then
comment
run-cion the pull request.pre-commitchecks with./isaaclab.sh --formatsource/<pkg>/changelog.d/for every touched package (do not editCHANGELOG.rstor bumpextension.toml— CI handles that)CONTRIBUTORS.mdor my name already exists there