Repository navigation
Fixes collision synchronization in cuRobo planner - #4212
Conversation
Greptile OverviewGreptile SummaryAdds coordinate transformation from world frame to robot base frame when syncing object poses with cuRobo's world model, addressing collision detection issues when the robot is not at the origin. However, the fix is incomplete. The PR correctly transforms object poses for the world model update (lines 631-637), but fails to apply the same transformation in the collision checker update loop (lines 673-686). This means the collision checker still receives world-frame coordinates instead of robot base-frame coordinates, which will cause the same collision detection bugs the PR intended to fix.
Confidence Score: 1/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant IL as Isaac Lab
participant SP as _sync_object_poses
participant RO as Rigid Objects
participant WM as World Model
participant CC as Collision Checker
Note over SP: Collision Synchronization Flow
SP->>RO: Get object mappings
loop For each dynamic object
SP->>RO: Get world-frame pose (root_pos_w, root_quat_w)
SP->>SP: Subtract env_origin
SP->>SP: Transform to robot base frame (subtract_frame_transforms)
Note over SP: ✅ Lines 631-637: Added in this PR
SP->>SP: Convert to cuRobo device
SP->>WM: Update object pose in world model
end
alt If objects updated > 0
loop For each dynamic object
SP->>RO: Get world-frame pose (root_pos_w, root_quat_w)
SP->>SP: Subtract env_origin
Note over SP: ❌ Lines 673-680: Missing transformation!
SP->>SP: Convert to cuRobo device
SP->>CC: update_obstacle_pose() with world-frame coords
Note right of CC: Incorrect: expects robot base frame
end
end
|
There was a problem hiding this comment.
Additional Comments (1)
-
source/isaaclab_mimic/isaaclab_mimic/motion_planners/curobo/curobo_planner.py, line 673-680 (link)logic: Missing coordinate transformation from world frame to robot base frame. The world model update loop (lines 631-637) correctly transforms object poses, but this collision checker update loop still uses world-frame coordinates.
1 file reviewed, 1 comment
2ef7fc8 to
f3061a4
Compare
|
run-ci |
|
@njawale42 fyi |
|
Backported to |
## Summary Fix cuRobo collision synchronization when the robot base is away from the world origin. Each dynamic obstacle pose is converted from world coordinates into the robot frame used by the static collision world, then submitted once to cuRobo's collision checker. The checker also updates its CPU world-model reference, so the duplicate manual update and second pose-read loop are removed. The fix uses Isaac Lab 3.0's XYZW quaternion convention and ProxyArray `.torch` access. The existing cube-stack test now checks the synchronized obstacle pose with a nonzero environment origin. A required `isaaclab_mimic` changelog fragment documents the fix. ## Validation - `uv run isaaclab -f` and `git diff --check` passed. - The cuRobo simulator test could not complete locally: the available `isaacsim`, `mimic`, and `test` extras install the other dependencies, but cuRobo itself is installed by the dedicated Docker setup and is absent from this environment. ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` --------- Co-authored-by: Mustafa Haiderbhai <[email protected]> (cherry picked from commit 3baa7ac)
Summary
Fix cuRobo collision synchronization when the robot base is away from the world origin. Each dynamic obstacle pose is converted from world coordinates into the robot frame used by the static collision world, then submitted once to cuRobo's collision checker. The checker also updates its CPU world-model reference, so the duplicate manual update and second pose-read loop are removed.
The fix uses Isaac Lab 3.0's XYZW quaternion convention and ProxyArray
.torchaccess. The existing cube-stack test now checks the synchronized obstacle pose with a nonzero environment origin. A requiredisaaclab_mimicchangelog fragment documents the fix.Validation
uv run isaaclab -fandgit diff --checkpassed.isaacsim,mimic, andtestextras install the other dependencies, but cuRobo itself is installed by the dedicated Docker setup and is absent from this environment.Release backport
develop