Skip to content

Switch DROID to the gripper USD with mesh colliders - #1766

Open
xyao-nv wants to merge 4 commits into
mainfrom
xyao/fix/droid_gripper_collision_usd
Open

xyao-nv wants to merge 4 commits into
mainfrom
xyao/fix/droid_gripper_collision_usd

Conversation

@xyao-nv

@xyao-nv xyao-nv commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Point the DROID embodiment at franka_robotiq_2f_85_flattened_v2.usd on S3, which authors the Robotiq gripper's collision on its meshes instead of on Xform groups.

Why this change?

The current DROID robot USD, franka_robotiq_2f_85_flattened.usd, applies the collision schemas of the Robotiq 2F-85 gripper to 11 Xform prims. Each Xform groups one mesh. Two consumers handle that badly:

  • Newton's USD importer builds no shape from an Xform collider and skips the meshes under it, so the gripper gets no shapes. Under Newton physics, spawn_newton_droid works around this with move_collision_schemas_to_meshes, whose docstring asks for the USD to be re-authored instead. The Newton Warp renderer builds its scene with the same importer, so under PhysX it draws the robot without its gripper. This is one of the two reasons Add a camera renderer option for Newton Warp #1707 restricts Newton Warp to Newton physics.
  • PhysX ignores MassAPI on meshes that are not colliders, so the masses authored on the gripper meshes never apply. PhysX derives them from the default density instead: about 0.43 kg for the gripper, while the real 2F-85 weighs about 0.9 kg.

What changes?

  • _DROID_ROBOT_PRIM.robot_usd_path points at franka_robotiq_2f_85_flattened_v2.usd. It sits next to the original on the staging bucket. The original file is unchanged, so released Arena versions keep loading it.
  • In v2, the Physics and PhysX collision schemas of the 11 groups, with their attributes, move onto each group's child mesh. Collision geometry, joints, materials, and appearance are unchanged.
  • A docstring on _DROID_ROBOT_PRIM records how v2 differs from the original file.

Effects:

  • Newton Warp draws the gripper under PhysX. The Newton-only assert from Add a camera renderer option for Newton Warp #1707 stays for now: under PhysX, cameras on robot links still stay at their start pose until Arena pins an Isaac Lab release with Fix sensor freshness, reset cadence, and native coverage IsaacLab#8780, which is on Isaac Lab release/3.1.0.
  • Under Newton physics, move_collision_schemas_to_meshes no longer has anything to move for DROID, and Newton builds the same model as before.
  • Under PhysX, the authored gripper masses apply: about 0.85 kg instead of 0.43 kg (base_link 0.29 → 0.61 kg, each inner finger 0.0095 → 0.039 kg). DROID results under PhysX can shift slightly.

Validation

The checks compare the two files on the same code, with only the robot USD swapped.

  • PhysX collision geometry: the PhysX property query reports the same volume and bounding box for every gripper collider with both files.
  • Isaac RTX: DROID camera images at the same robot pose match, except for edge pixels from a sub-pixel pose shift.
  • Newton: identical body masses, inertias, and shape properties (friction, gap, margin, collision groups, transforms).
  • Policy evaluations with PhysX and Isaac RTX, using the droid_pnp_openpi and droid_pnp_gr00t Experiments with 20 episodes per placement seed. Both files ran the same layouts, and outcomes are paired by layout:
Policy Placement seeds Original v2 Success with only original / only v2 p
pi05 42, 0 34/40 37/40 2 / 5 0.45
GR00T N1.6-DROID 42 3/20 4/20 1 / 2 1.0

franka_robotiq_2f_85_flattened_v2.usd moves the Robotiq gripper's collision
schemas from 11 Xform groups onto their child meshes. Newton's USD importer
then creates the gripper shapes, so the Newton Warp renderer draws the
gripper under PhysX. Under PhysX, the masses authored on the gripper meshes
now apply: about 0.85 kg for the gripper instead of 0.43 kg from the
default density.

Checked against the original USD with the v2 file from the staging bucket:
- PhysX DROID pick-and-place on paired layouts: pi05 34/40 vs 37/40 success,
  GR00T N1.6-DROID 3/20 vs 4/20.
- Isaac RTX camera images match apart from edge pixels.
- Newton builds the same model: identical body masses, inertias, and shape
  properties.

Signed-off-by: Xinjie Yao <[email protected]>
With the v2 DROID USD, Newton Warp draws the gripper under PhysX, so only
link-mounted camera poses still need Newton physics. Isaac Lab #8780 refreshes
those poses under PhysX. It is on Isaac Lab release/3.1.0 but not in Arena's
current pin e3f7d9ff1f, so the Newton-only assert stays until Arena moves to
that release.

Signed-off-by: Xinjie Yao <[email protected]>
@xyao-nv
xyao-nv marked this pull request as ready for review November 25, 2026 23:22
@greptile-apps

greptile-apps Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · The reviewed code appears safe to merge; no actionable issue was found.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The reviewed code appears safe to merge; no actionable issue was found.

Summary

DROID now uses franka_robotiq_2f_85_flattened_v2.usd, which puts the gripper’s collision schemas on meshes.

  • DROID loads a gripper USD with collision data on its meshes.

Reviews (1) · Last reviewed commit: "Note when Newton Warp can run with PhysX" · Reviewed by Greptile

@arena-review-bot

Copy link
Copy Markdown
Contributor

🤖 Isaac Lab-Arena Review Bot

Summary

This PR points the DROID embodiment at franka_robotiq_2f_85_flattened_v2.usd, which puts the Robotiq gripper's collision schemas on its meshes. It also updates the Newton Warp comment in ArenaEnvBuilder._apply_camera_renderer. The swap is small and the validation is thorough. What's left is cleanup that the new USD makes possible: the schema-moving helper is now unused for DROID, the new docstring is long, and a docs page still describes the old gripper behavior.

Findings

🔵 Improvement: isaaclab_arena/embodiments/droid/droid.py:74: move_collision_schemas_to_meshes is now dead code for its only caller, spawn_newton_droid. Its own TODO asks for it to be removed once the USD is re-authored, which this PR does.
🔵 Improvement: isaaclab_arena/embodiments/droid/droid.py:66: The _DROID_ROBOT_PRIM docstring mostly compares v2 with the old file and lists the features it affects. A short description of what the USD is would follow AGENTS.md better.
🔵 Improvement: isaaclab_arena/environments/arena_env_builder.py:157: docs/pages/concepts/environment/physics_backend_selection.rst:96-98 still says that with PhysX "the DROID gripper is not drawn".

Test Coverage and CI Cost

Pre-commit failed on head 8c7af64, though it passes on base 9c4fa40. Because of that, the test jobs were skipped, so CI hasn't run the suite against v2 yet. The bot can't read the job logs, so I don't know which hook failed. Local black and flake8 runs on both changed files are clean; the other hooks weren't checked. Please check the job log.

Verdict

Minor fixes needed

@peterd-NV peterd-NV left a comment

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.

One note on asset cache name.

The v2 DROID USD authors the gripper's collision on its meshes, so
move_collision_schemas_to_meshes has nothing to move. Delete it, and assert
in the DROID Newton prim test that every robot collider is geometry.

Rename the composed robot-on-stand file for v2, so it never shares a path
with the file older checkouts compose from the original USD.

Shorten the DROID USD docstring, and drop the missing gripper from the
physics backend docs as a reason for the Newton-only Newton Warp assert.
Add a test that fails once a Newton Warp camera on a PhysX body follows the
body, which is when that assert can allow PhysX.

Signed-off-by: Xinjie Yao <[email protected]>
@xyao-nv
xyao-nv enabled auto-merge (squash) November 30, 2026 22:54

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants