Skip to content

[Backport release/3.0.0] Preserve duplicate FrameTransformer offsets (#7902) - #7930

Merged
StafaH merged 1 commit into
isaac-sim:release/3.0.0from
ooctipus:backport/frame-transformer-7902-release-3.0
Sep 21, 2026
Merged

StafaH merged 1 commit into
isaac-sim:release/3.0.0from
ooctipus:backport/frame-transformer-7902-release-3.0

Conversation

@ooctipus

Copy link
Copy Markdown
Collaborator

Backports #7902 to release/3.0.0.

When distinct target bodies share an implicit frame name, FrameTransformer reused the last configured offset for both. This preserves each body's offset in the PhysX and OVPhysX backends and extends the existing duplicate-body-name tests with distinct offsets.

Clean cherry-pick of f29bd84, including both changelog fragments. The backport validator confirms an exact patch; all six files match the merged source commit.

Validation:

  • 12 targeted regression cases passed: PhysX CPU (4), OVPhysX CPU (4), and OVPhysX CUDA (4).
  • Restoring the pre-fix initializer reproduced the expected offset assertion failure in both backends.
  • uv run isaaclab -f and git diff --check passed.

Local PhysX validation used Isaac Sim 6.0.1; CI covers the pinned 6.1 environment.

Preserve distinct per-body offsets when target bodies share an implicit
frame name in the PhysX and OVPhysX backends.

(cherry picked from commit f29bd84)
@ooctipus

Copy link
Copy Markdown
Collaborator Author

run-ci

@github-actions github-actions Bot added the isaac-lab Related to Isaac Lab team label Sep 21, 2026
@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 21, 2026
@greptile-apps

greptile-apps Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The PR appears safe to merge, with no actionable correctness, security, or repository-rule violations identified.

Summary

This backport preserves independently configured offsets when distinct target bodies share an implicit frame name.

  • Keys target offsets by both normalized body path and frame name in the PhysX and OVPhysX implementations.
  • Extends duplicate-body-name regression coverage with distinct offsets and transformed-position assertions.
  • Adds matching changelog fragments for both backends.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[Target frame configuration] --> B[Resolve body path]
  B --> C[Derive implicit or explicit frame name]
  C --> D[Store offset by body path and frame name]
  D --> E[Build backend target-body ordering]
  E --> F[Look up each body's frame offset]
  F --> G[Apply the correct offset to each target output]
Loading

Reviews (1) · Last reviewed commit: "Backport duplicate FrameTransformer offs..."

@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

Reviewed the backport’s body-qualified offset lookup in both PhysX and OVPhysX FrameTransformer implementations. Keying target offsets by (body_name, frame_name) directly fixes distinct bodies sharing an implicit frame name, with matching regression coverage and changelog fragments.

  • Design and architecture: The change is symmetric across both backends and updates both the offset producer and consumer paths. Existing frame expansion, duplicate-frame indexing, source-frame handling, and frame ordering behavior remain unchanged.
  • API: The modified target_offsets mapping is local to initialization, so no public configuration, attribute, return type, buffer shape, or target-frame naming contract changes. Duplicate implicit frame names remain supported for compatibility.
  • Implementation: The producer and consumer use the same relative body-path identity, keeping tuple-key lookups consistent across plan-aware and legacy path resolution. Tests exercise distinct offsets for duplicate implicit names and calculate expected world positions from body poses. The unchanged set-based ordering remains a non-blocking existing tradeoff.

No blocking issues. No inline issue met the actionable-evidence threshold; the assessment above records the review feedback.

Automated review; human maintainers own approval decisions.

@StafaH
StafaH merged commit a637fb1 into isaac-sim:release/3.0.0 Sep 21, 2026
54 checks passed
@ooctipus
ooctipus deleted the backport/frame-transformer-7902-release-3.0 branch October 14, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants