Repository navigation
[Backport release/3.0.0] Preserve duplicate FrameTransformer offsets (#7902) - #7930
Conversation
Preserve distinct per-body offsets when target bodies share an implicit frame name in the PhysX and OVPhysX backends. (cherry picked from commit f29bd84)
|
run-ci |
|
There was a problem hiding this comment.
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_offsetsmapping 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.
Backports #7902 to
release/3.0.0.When distinct target bodies share an implicit frame name,
FrameTransformerreused 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:
uv run isaaclab -fandgit diff --checkpassed.Local PhysX validation used Isaac Sim 6.0.1; CI covers the pinned 6.1 environment.