Repository navigation
Add task-owned recording cameras with heading tracking - #7760
AntoineRichard wants to merge 3 commits into
Conversation
|
run-ci |
|
| pose = self._camera_controller.update(dt) | ||
| if pose is not None: | ||
| if self._pending_world_camera_pose is not None: | ||
| pose = self._pending_world_camera_pose | ||
| self._set_camera_pose_cfg(*pose) | ||
| self._apply_camera_pose(pose) |
There was a problem hiding this comment.
Tracking Discards Camera Edits
When an asset-tracking camera is active, SimulationContext.set_camera_view() forwards the requested world-space view to each backend. Kit, Rerun, and Viser apply it without converting it back into the camera's configured tracking offsets. On the next visualizer step, this code recalculates the pose from the unchanged cfg.eye and cfg.lookat, so the requested view is immediately lost. This affects the new locomotion cameras that track robot. Newton already persists these edits through _set_camera_pose_cfg(), so the public API now behaves differently across backends.
There was a problem hiding this comment.
Isaac Lab Review Bot
The shared camera controller coherently unifies task-owned fixed and heading-tracking views across Kit, Newton GL/RTX, Rerun, and Viser. One maintainability and UX issue remains: Rerun re-sends its complete blueprint on every asset-tracking update.
- Design and architecture: Centralizing environment selection, position tracking, yaw-only smoothing, and offset preservation in
_CameraControlleris a sound consolidation. However, coupling each Rerun camera update to full blueprint activation makes continuous tracking unnecessarily disruptive to viewer layout state. - API: The new
VisualizerCfg.origin_*fields preserve world-space defaults while adding environment- and asset-relative views, andcamera_env_indexprovides a clear read-only resolved selection. The documented visibility validation behavior is consistent with the implementation. - Implementation: Camera tracking paths, heading smoothing, center-environment selection, deferred asset readiness, backend integration, and Kit scene partition updates were traced. Rerun’s
_apply_camera_posedeterministically callsrr.send_blueprintat render rate for moving asset cameras, potentially rebuilding layout and overriding user panel state on every frame; this should be reduced or updated through a less disruptive camera-control path.
Minor fixes needed. Posted 1 actionable finding inline.
Automated review; human maintainers own approval decisions.
| @@ -689,6 +691,10 @@ def _apply_camera_pose(self, pose: tuple[tuple[float, float, float], tuple[float | |||
| # by a 3D view, hiding the streaming composite panel entirely. | |||
| if self._streaming_view_active: | |||
| return | |||
| if self._viewer._live_plot_manager_names: | |||
There was a problem hiding this comment.
🔵 Suggestion · Implementation — Rerun re-sends blueprint every tracking step
With origin_type="asset" (now the default for velocity, Ant and Humanoid tasks), _update_camera_tracking(dt) calls _apply_camera_pose on every render step, so rr.send_blueprint runs at render rate in both the live-plot and default branches. Re-activating the blueprint each frame rebuilds the viewer layout and can discard user panel state. Send only when the pose changes appreciably, or cache the constructed blueprint.
| @@ -61,6 +62,45 @@ class VisualizerCfg: | |||
| backend's native background. Scene lighting remains independent of the visible background. | |||
| """ | |||
|
|
|||
| origin_type: Literal["world", "env", "asset"] = "world" | |||
There was a problem hiding this comment.
i think in general we can use the existing visualizer streaming camera tracking feature to handle this usecase, instead of adding a tracking feature to the interactive camera. also, adding tracking to the interactive camera isn't ideal since the user can't move the camera around.
we should extend the visualizer streaming camera tracking for any enhancement features, like smoothing
a4c2160 to
9a5bf4e
Compare
Core tasks own their recording camera through sim.default_visualizer_cfg. Static tasks use fixed views of the center environment; locomotion views follow the robot with smoothed yaw. A shared CameraController drives Kit, Newton GL/RTX, Rerun and Viser, including headless captures. Co-Authored-By: Claude Opus 5.5 <[email protected]>
8213364 to
fa63119
Compare
|
run-ci |
|
i |
The previous eye sat just behind the neighboring environment, 4 m away, which filled the foreground. Move the camera inside the cell and raise it so the whole mechanism and the balanced pole stay in view. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Restore the goal marker position, which only moved the displayed goal marker to suit the recording view, and the camera-variant visualizer overrides that isaac-sim#7760 removed, so those tasks stay as on develop. Let a config that was launched before keep the tracking camera it already has, and match a tracking camera to its sensor by the full path under the environment.
The DR Legs view was a fixed camera on environment 0 sized for a larger robot, so the half-meter biped walked out of a mostly empty frame. It now tracks the center robot and its heading like the velocity tasks, at about a third of their distance. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…8474) ## Summary Reorientation task videos in play mode now show a close view of one hand and its cube, with the goal cube beside it. Before, the five direct and contrib tasks recorded from the distant default camera, the three manager tasks aimed at the world origin, where the play-mode grid has no environment, and the goal cube was drawn behind the hand, outside the view. # Description The visualizer camera is world-framed. `play_mode()` caps the scene at 50 environments (64 for the camera tasks), and neither grid places an environment at the origin. `core/reorient/utils.py` now holds: - `VISUALIZER_CFG` — the manager tasks' existing view, shifted onto the environment at x = 0.375 m of the 50-environment grid; used by every reorientation task. - `CAMERA_VISUALIZER_CFG` — the same view on the environment at (1, -1) m of the 64-environment grid; set by both camera tasks in `play_mode()`. - `GOAL_MARKER_OFFSET` — the goal cube's display offset from the in-hand position, so it sits beside the held cube; the Allegro Hand uses a wider offset to clear its larger hand. Manager tasks use the command's existing `marker_pos_offset`; direct tasks gain `goal_marker_offset`, used when `goal_marker_position` (now `None` by default) is unset. Setting `goal_marker_position` keeps the old fixed placement. The camera tasks drop their fixed override too: the goal cube was never in their tiled camera view and still is not (checked on the saved camera images), so the policy input is unchanged. The marker is display-only; the goal itself is unchanged. Once #7760 lands, the views can switch to `origin_type="env"` and drop the play-grid offsets. The contrib OpenAI config replaces `sim` wholesale, so it sets the view explicitly. Training-size recordings now aim between two environments. The hand-over view is handled in #8361. Related: #7760 | Task | Before | After | | --- | --- | --- | | `Isaac-Reorient-Cube-Shadow-Direct` | default camera | close view | | `Isaac-Reorient-Cube-Shadow-Camera-Direct` | default camera | close view | | `Isaac-Reorient-Cube-Allegro-Direct` | default camera | close view | | `IsaacContrib-Reorient-Cube-Shadow-OpenAI-FF-Direct` | default camera | close view | | `IsaacContrib-Reorient-Cube-Shadow-OpenAI-LSTM-Direct` | default camera | close view | | `Isaac-Reorient-Cube-Shadow` | between environments | close view | | `Isaac-Reorient-Cube-Shadow-Camera` | between environments | close view | | `Isaac-Reorient-Cube-Allegro` | between environments | close view | ## 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` ## Screenshots Last frame of a 60-step zero-action clip in play mode (`play_mode()` applied), kitless Newton GL: `isaaclab zero_agent --task <task> --video --video_length 60 --max_steps 62 physics=newton_mjwarp` with the environment configuration resolved with `play_mode=True`. Before is `develop` at fdade38; after is this branch. | Task | Before | After | | --- | --- | --- | | `Isaac-Reorient-Cube-Shadow-Direct` | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/177bcd7ee996c07ea7d87e5dfcd8a798703cbfca/pr-assets/reorient-play-views/before--Isaac-Reorient-Cube-Shadow-Direct.jpg" width="400"> | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/c883ac51fa687a2d84881e15df50fe20423bbbe7/pr-assets/reorient-play-views-final/after--Isaac-Reorient-Cube-Shadow-Direct.jpg" width="400"> | | `Isaac-Reorient-Cube-Shadow-Camera-Direct` | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/177bcd7ee996c07ea7d87e5dfcd8a798703cbfca/pr-assets/reorient-play-views/before--Isaac-Reorient-Cube-Shadow-Camera-Direct.jpg" width="400"> | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/c883ac51fa687a2d84881e15df50fe20423bbbe7/pr-assets/reorient-play-views-final/after--Isaac-Reorient-Cube-Shadow-Camera-Direct.jpg" width="400"> | | `Isaac-Reorient-Cube-Allegro-Direct` | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/177bcd7ee996c07ea7d87e5dfcd8a798703cbfca/pr-assets/reorient-play-views/before--Isaac-Reorient-Cube-Allegro-Direct.jpg" width="400"> | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/c883ac51fa687a2d84881e15df50fe20423bbbe7/pr-assets/reorient-play-views-final/after--Isaac-Reorient-Cube-Allegro-Direct.jpg" width="400"> | | `IsaacContrib-Reorient-Cube-Shadow-OpenAI-FF-Direct` | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/177bcd7ee996c07ea7d87e5dfcd8a798703cbfca/pr-assets/reorient-play-views/before--IsaacContrib-Reorient-Cube-Shadow-OpenAI-FF-Direct.jpg" width="400"> | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/c883ac51fa687a2d84881e15df50fe20423bbbe7/pr-assets/reorient-play-views-final/after--IsaacContrib-Reorient-Cube-Shadow-OpenAI-FF-Direct.jpg" width="400"> | | `IsaacContrib-Reorient-Cube-Shadow-OpenAI-LSTM-Direct` | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/177bcd7ee996c07ea7d87e5dfcd8a798703cbfca/pr-assets/reorient-play-views/before--IsaacContrib-Reorient-Cube-Shadow-OpenAI-LSTM-Direct.jpg" width="400"> | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/c883ac51fa687a2d84881e15df50fe20423bbbe7/pr-assets/reorient-play-views-final/after--IsaacContrib-Reorient-Cube-Shadow-OpenAI-LSTM-Direct.jpg" width="400"> | | `Isaac-Reorient-Cube-Shadow` | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/177bcd7ee996c07ea7d87e5dfcd8a798703cbfca/pr-assets/reorient-play-views/before--Isaac-Reorient-Cube-Shadow.jpg" width="400"> | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/c883ac51fa687a2d84881e15df50fe20423bbbe7/pr-assets/reorient-play-views-final/after--Isaac-Reorient-Cube-Shadow.jpg" width="400"> | | `Isaac-Reorient-Cube-Shadow-Camera` | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/177bcd7ee996c07ea7d87e5dfcd8a798703cbfca/pr-assets/reorient-play-views/before--Isaac-Reorient-Cube-Shadow-Camera.jpg" width="400"> | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/c883ac51fa687a2d84881e15df50fe20423bbbe7/pr-assets/reorient-play-views-final/after--Isaac-Reorient-Cube-Shadow-Camera.jpg" width="400"> | | `Isaac-Reorient-Cube-Allegro` | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/177bcd7ee996c07ea7d87e5dfcd8a798703cbfca/pr-assets/reorient-play-views/before--Isaac-Reorient-Cube-Allegro.jpg" width="400"> | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/c883ac51fa687a2d84881e15df50fe20423bbbe7/pr-assets/reorient-play-views-final/after--Isaac-Reorient-Cube-Allegro.jpg" width="400"> | ## 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 --------- Co-authored-by: Kelly Guo <[email protected]>
…8474) ## Summary Reorientation task videos in play mode now show a close view of one hand and its cube, with the goal cube beside it. Before, the five direct and contrib tasks recorded from the distant default camera, the three manager tasks aimed at the world origin, where the play-mode grid has no environment, and the goal cube was drawn behind the hand, outside the view. # Description The visualizer camera is world-framed. `play_mode()` caps the scene at 50 environments (64 for the camera tasks), and neither grid places an environment at the origin. `core/reorient/utils.py` now holds: - `VISUALIZER_CFG` — the manager tasks' existing view, shifted onto the environment at x = 0.375 m of the 50-environment grid; used by every reorientation task. - `CAMERA_VISUALIZER_CFG` — the same view on the environment at (1, -1) m of the 64-environment grid; set by both camera tasks in `play_mode()`. - `GOAL_MARKER_OFFSET` — the goal cube's display offset from the in-hand position, so it sits beside the held cube; the Allegro Hand uses a wider offset to clear its larger hand. Manager tasks use the command's existing `marker_pos_offset`; direct tasks gain `goal_marker_offset`, used when `goal_marker_position` (now `None` by default) is unset. Setting `goal_marker_position` keeps the old fixed placement. The camera tasks drop their fixed override too: the goal cube was never in their tiled camera view and still is not (checked on the saved camera images), so the policy input is unchanged. The marker is display-only; the goal itself is unchanged. Once #7760 lands, the views can switch to `origin_type="env"` and drop the play-grid offsets. The contrib OpenAI config replaces `sim` wholesale, so it sets the view explicitly. Training-size recordings now aim between two environments. The hand-over view is handled in #8361. Related: #7760 | Task | Before | After | | --- | --- | --- | | `Isaac-Reorient-Cube-Shadow-Direct` | default camera | close view | | `Isaac-Reorient-Cube-Shadow-Camera-Direct` | default camera | close view | | `Isaac-Reorient-Cube-Allegro-Direct` | default camera | close view | | `IsaacContrib-Reorient-Cube-Shadow-OpenAI-FF-Direct` | default camera | close view | | `IsaacContrib-Reorient-Cube-Shadow-OpenAI-LSTM-Direct` | default camera | close view | | `Isaac-Reorient-Cube-Shadow` | between environments | close view | | `Isaac-Reorient-Cube-Shadow-Camera` | between environments | close view | | `Isaac-Reorient-Cube-Allegro` | between environments | close view | ## 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` ## Screenshots Last frame of a 60-step zero-action clip in play mode (`play_mode()` applied), kitless Newton GL: `isaaclab zero_agent --task <task> --video --video_length 60 --max_steps 62 physics=newton_mjwarp` with the environment configuration resolved with `play_mode=True`. Before is `develop` at fdade38; after is this branch. | Task | Before | After | | --- | --- | --- | | `Isaac-Reorient-Cube-Shadow-Direct` | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/177bcd7ee996c07ea7d87e5dfcd8a798703cbfca/pr-assets/reorient-play-views/before--Isaac-Reorient-Cube-Shadow-Direct.jpg" width="400"> | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/c883ac51fa687a2d84881e15df50fe20423bbbe7/pr-assets/reorient-play-views-final/after--Isaac-Reorient-Cube-Shadow-Direct.jpg" width="400"> | | `Isaac-Reorient-Cube-Shadow-Camera-Direct` | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/177bcd7ee996c07ea7d87e5dfcd8a798703cbfca/pr-assets/reorient-play-views/before--Isaac-Reorient-Cube-Shadow-Camera-Direct.jpg" width="400"> | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/c883ac51fa687a2d84881e15df50fe20423bbbe7/pr-assets/reorient-play-views-final/after--Isaac-Reorient-Cube-Shadow-Camera-Direct.jpg" width="400"> | | `Isaac-Reorient-Cube-Allegro-Direct` | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/177bcd7ee996c07ea7d87e5dfcd8a798703cbfca/pr-assets/reorient-play-views/before--Isaac-Reorient-Cube-Allegro-Direct.jpg" width="400"> | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/c883ac51fa687a2d84881e15df50fe20423bbbe7/pr-assets/reorient-play-views-final/after--Isaac-Reorient-Cube-Allegro-Direct.jpg" width="400"> | | `IsaacContrib-Reorient-Cube-Shadow-OpenAI-FF-Direct` | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/177bcd7ee996c07ea7d87e5dfcd8a798703cbfca/pr-assets/reorient-play-views/before--IsaacContrib-Reorient-Cube-Shadow-OpenAI-FF-Direct.jpg" width="400"> | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/c883ac51fa687a2d84881e15df50fe20423bbbe7/pr-assets/reorient-play-views-final/after--IsaacContrib-Reorient-Cube-Shadow-OpenAI-FF-Direct.jpg" width="400"> | | `IsaacContrib-Reorient-Cube-Shadow-OpenAI-LSTM-Direct` | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/177bcd7ee996c07ea7d87e5dfcd8a798703cbfca/pr-assets/reorient-play-views/before--IsaacContrib-Reorient-Cube-Shadow-OpenAI-LSTM-Direct.jpg" width="400"> | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/c883ac51fa687a2d84881e15df50fe20423bbbe7/pr-assets/reorient-play-views-final/after--IsaacContrib-Reorient-Cube-Shadow-OpenAI-LSTM-Direct.jpg" width="400"> | | `Isaac-Reorient-Cube-Shadow` | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/177bcd7ee996c07ea7d87e5dfcd8a798703cbfca/pr-assets/reorient-play-views/before--Isaac-Reorient-Cube-Shadow.jpg" width="400"> | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/c883ac51fa687a2d84881e15df50fe20423bbbe7/pr-assets/reorient-play-views-final/after--Isaac-Reorient-Cube-Shadow.jpg" width="400"> | | `Isaac-Reorient-Cube-Shadow-Camera` | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/177bcd7ee996c07ea7d87e5dfcd8a798703cbfca/pr-assets/reorient-play-views/before--Isaac-Reorient-Cube-Shadow-Camera.jpg" width="400"> | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/c883ac51fa687a2d84881e15df50fe20423bbbe7/pr-assets/reorient-play-views-final/after--Isaac-Reorient-Cube-Shadow-Camera.jpg" width="400"> | | `Isaac-Reorient-Cube-Allegro` | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/177bcd7ee996c07ea7d87e5dfcd8a798703cbfca/pr-assets/reorient-play-views/before--Isaac-Reorient-Cube-Allegro.jpg" width="400"> | <img src="https://raw.githubusercontent.com/hujc7/IsaacLab/c883ac51fa687a2d84881e15df50fe20423bbbe7/pr-assets/reorient-play-views-final/after--Isaac-Reorient-Cube-Allegro.jpg" width="400"> | ## 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 --------- Co-authored-by: Kelly Guo <[email protected]> (cherry picked from commit 4f718b8)
## Summary Both Shadow Hand handover tasks (`-Direct` and manager) now pass the object back and forth until a drop or timeout, instead of stopping at one delivery. # Description | Area | Now | |---|---| | Goal | Starts at the left hand; switches hands after 20 cumulative steps inside the success distance (`success_steps_required`, must be positive) | | Metrics | `Metrics/success_rate` = `goals / (goals + 1)`; new `Metrics/consecutive_success` = transfers per episode | | Manager offset | `position_offset` is in each hand's local root frame | | Recording view | Faces the center hand pair head-on (temporary, until #7760's env-relative camera) | - Shared `HandoverGoal` drives both workflows; its per-step update is mask-based, with no host sync. - Manager commands do not count post-autoreset poses as success steps. - **Breaking:** retrain policies; single-goal success rates are not comparable; update custom manager offsets. **Validation** - `pytest test_handover_env.py test_reorient_utils.py test_handover_env_cfg.py test_handover_physics_presets.py` (in `source/isaaclab_tasks/test/core/`): 17 passed, RTX PRO 6000. Real Newton scenes cover both workflows; negative controls fail without goal switching or reset masking. - Trained alternating policy (RSL-RL, success rate 0.89) plays in Newton GL and Kit; training not rerun on this revision. ## Type of change - Breaking change: continuous handover objective, metric semantics, and manager offset frame. ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Screenshots Default recording view, Kit visualizer, `Isaac-Shadow-Handover-Direct`:  ## Checklist - [x] I have read and understood the contribution guidelines. - [x] `isaaclab --format` passed. - [x] Docstrings and changelog describe the changed behavior and metrics. - [ ] No new warnings: only existing dependency and articulation API deprecations. - [x] Tests added; they fail without goal switching or reset masking. - [x] `isaaclab_tasks` changelog fragment and minor bump added. - [x] My name already exists in `CONTRIBUTORS.md`. --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
## Summary Both Shadow Hand handover tasks (`-Direct` and manager) now pass the object back and forth until a drop or timeout, instead of stopping at one delivery. # Description | Area | Now | |---|---| | Goal | Starts at the left hand; switches hands after 20 cumulative steps inside the success distance (`success_steps_required`, must be positive) | | Metrics | `Metrics/success_rate` = `goals / (goals + 1)`; new `Metrics/consecutive_success` = transfers per episode | | Manager offset | `position_offset` is in each hand's local root frame | | Recording view | Faces the center hand pair head-on (temporary, until #7760's env-relative camera) | - Shared `HandoverGoal` drives both workflows; its per-step update is mask-based, with no host sync. - Manager commands do not count post-autoreset poses as success steps. - **Breaking:** retrain policies; single-goal success rates are not comparable; update custom manager offsets. **Validation** - `pytest test_handover_env.py test_reorient_utils.py test_handover_env_cfg.py test_handover_physics_presets.py` (in `source/isaaclab_tasks/test/core/`): 17 passed, RTX PRO 6000. Real Newton scenes cover both workflows; negative controls fail without goal switching or reset masking. - Trained alternating policy (RSL-RL, success rate 0.89) plays in Newton GL and Kit; training not rerun on this revision. ## Type of change - Breaking change: continuous handover objective, metric semantics, and manager offset frame. ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Screenshots Default recording view, Kit visualizer, `Isaac-Shadow-Handover-Direct`:  ## Checklist - [x] I have read and understood the contribution guidelines. - [x] `isaaclab --format` passed. - [x] Docstrings and changelog describe the changed behavior and metrics. - [ ] No new warnings: only existing dependency and articulation API deprecations. - [x] Tests added; they fail without goal switching or reset masking. - [x] `isaaclab_tasks` changelog fragment and minor bump added. - [x] My name already exists in `CONTRIBUTORS.md`. --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> (cherry picked from commit 229ecb5)
Description
Core tasks now own their recording camera in
sim.default_visualizer_cfg, so the existingisaaclab play --videocommand produces a task-specific view. Static tasks use fixed cameras; locomotion cameras follow the selected robot's position and yaw while keeping the horizon level.Type of change
Release backport
developValidation
uv run --no-sync isaaclab -fpassed.uv run --isolated --extra dev -- make -C docs current-docs SPHINXOPTS="-j 2"passed with warnings treated as errors before the bot-review follow-up.Known UI limitation
Kit initializes its camera sliders from configured offsets, but the edit callback interprets
those values as world coordinates. With a translated or heading-tracked camera, editing one
slider can therefore move the other coordinates. This existing initialization mismatch remains
a follow-up; the shared inverse-heading conversion preserves world-space edits once supplied.
Checklist
uv run isaaclab -fCONTRIBUTORS.md