Skip to content

Add task-owned recording cameras with heading tracking - #7760

Closed
AntoineRichard wants to merge 3 commits into
isaac-sim:mainfrom
AntoineRichard:antoiner/task-camera-tracking
Closed

AntoineRichard wants to merge 3 commits into
isaac-sim:mainfrom
AntoineRichard:antoiner/task-camera-tracking

Conversation

@AntoineRichard

@AntoineRichard AntoineRichard commented Sep 11, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Core tasks now own their recording camera in sim.default_visualizer_cfg, so the existing isaaclab play --video command 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.

  • Added shared camera tracking across Kit, Newton GL/RTX, Rerun, and Viser, with spatial-center environment selection retained across resets. Runtime camera edits persist through the shared setter; Rerun updates a camera transform without resending the layout each frame.
  • Configured camera views across all 45 core task registrations. Heading smoothing uses 0.2 seconds for velocity tasks and 0.5 seconds for Ant and Humanoid.
  • Preserved explicit backend camera overrides and policy camera sensors. Recording needs no separate capture script or new dependencies.

Type of change

  • New feature
  • Documentation update

Release backport

  • Backport this pull request to the active release branch after it merges into develop

Validation

  • 162 unit tests passed across the shared visualizer, simulation context, backend camera, scene-partition, adapter, material, and viewer-release tests. Extended existing tests to reproduce the runtime-edit and repeated-blueprint bugs before fixing them.
  • uv run --no-sync isaaclab -f passed.
  • Confirmed camera tracking through the bound scene provider without a global simulation singleton; all four Cabinet preset values remained unchanged after sharing setup.
  • Standard-play Ant and Go2 OVRTX recordings were validated before rebasing: one environment, Nucleus RSL-RL checkpoints, two seconds at 1080p, full decoding and visual inspection. Go2 used forward-command Hydra overrides.
  • 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

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with uv run isaaclab -f
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove the feature works
  • I have added a changelog fragment for every touched source package
  • My name already exists in CONTRIBUTORS.md

@github-actions github-actions Bot added documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team labels Sep 11, 2026
@AntoineRichard
AntoineRichard marked this pull request as ready for review September 11, 2026 16:57
@AntoineRichard
AntoineRichard requested a review from a team September 11, 2026 16:57
@AntoineRichard

Copy link
Copy Markdown
Collaborator Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Sep 11, 2026
@greptile-apps

greptile-apps Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 4/5

The PR should not merge until runtime camera edits remain effective across all asset-tracking visualizer backends.

Findings

  1. P1 Tracking Discards Camera Edits ▶

Summary

  • Adds a shared camera controller that resolves environment-relative and asset-relative poses.
  • Applies tracking before backend frames and synchronizes Kit’s viewport and recording renderer.
  • Adds heading-following camera defaults to locomotion tasks and fixed views to static tasks.
  • Expands cross-backend tests and recording documentation.
  • One cross-backend runtime camera-edit inconsistency remains for asset-tracking views.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
    T[Task default_visualizer_cfg] --> S[SimulationContext]
    S --> V[Backend visualizer]
    V --> C[Shared CameraController]
    C --> E[Resolve visible environment]
    E --> A[Read tracked asset position and yaw]
    A --> H[Apply optional heading smoothing]
    H --> P[World-space camera pose]
    P --> K[Kit viewport and recorder]
    P --> N[Newton GL or RTX]
    P --> R[Rerun 3D view]
    P --> W[Viser clients]
    U[set_camera_view API] --> V
Loading

Reviews (1) · Last reviewed commit: "Simplify camera setup and reuse scene pr..."

Comment on lines +341 to +346
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)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 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.

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 _CameraController is 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, and camera_env_index provides 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_pose deterministically calls rr.send_blueprint at 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:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

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]>
@AntoineRichard
AntoineRichard force-pushed the antoiner/task-camera-tracking branch 2 times, most recently from 8213364 to fa63119 Compare October 7, 2026 14:06
@AntoineRichard

Copy link
Copy Markdown
Collaborator Author

run-ci

@AntoineRichard

Copy link
Copy Markdown
Collaborator Author

i

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Oct 7, 2026
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]>
hujc7 added a commit to hujc7/IsaacLab that referenced this pull request Oct 8, 2026
matthewtrepte added a commit to matthewtrepte/IsaacLab that referenced this pull request Oct 9, 2026
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]>
kellyguo11 added a commit that referenced this pull request Oct 13, 2026
…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]>
isaaclab-bot Bot pushed a commit that referenced this pull request Oct 13, 2026
…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)
AntoineRichard pushed a commit that referenced this pull request Oct 13, 2026
## 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`:

![Default recording
view](https://raw.githubusercontent.com/hujc7/IsaacLab/jichuanh/pr8361-assets/pr8361/handover-front-view-kit.png)

## 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]>
isaaclab-bot Bot pushed a commit that referenced this pull request Oct 13, 2026
## 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`:

![Default recording
view](https://raw.githubusercontent.com/hujc7/IsaacLab/jichuanh/pr8361-assets/pr8361/handover-front-view-kit.png)

## 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)
@github-project-automation github-project-automation Bot moved this from In progress to Done in Isaac Lab Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants