Add backend-agnostic deformable pick-and-place#922
Draft
TuurStuyck wants to merge 5 commits into
Draft
Conversation
Introduce a deformable (FEM soft-body) pick-and-place task on the Newton VBD backend: pre-tetrahedralized sphere/cube TetMesh assets and their generator, nodal-state reset events, centroid-based success/drop, and a registered maple-table environment. Enable the Newton path for the DROID gripper (Robotiq collision meshes) and GR1T2 (Isaac Sim 6 URDF export), and wire deformable support through the scene, placement, and relation-solver interfaces. Signed-off-by: tstuyck <tstuyck@nvidia.com>
Introduce physics_presets.py as the single source of truth mapping each preset to its backend, config, soft-body capability, and replicate_physics policy, and generate ArenaPhysicsCfg from it. Add deformable_spawn.py: a backend-neutral DeformableMaterial and a single build_deformable_spawn adapter (the only place naming PhysX/Newton deformable cfg classes), plus backend_object_preset which fans one per-backend spawn builder across every registry variant. Adding a new Newton solver variant is now one registry entry. Signed-off-by: tstuyck <tstuyck@nvidia.com>
Split the rigid-shaped machinery out of ObjectBase into a new SpawnableObjectBase (parent of Object/ObjectReference) so ObjectBase only declares the config- and pose-accessor contract. Reparent DeformableObject as a peer that provides its own hooks and is declared backend-neutrally (usd_path + DeformableMaterial), and shrink the procedural sphere/cube library objects to neutral material declarations naming no backend or preset. Signed-off-by: tstuyck <tstuyck@nvidia.com>
Replace the ObjectType.DEFORMABLE scan and newton-name string checks in the env builder with registry-driven queries: requires_soft_body_solver() on the asset plus the preset registry's soft-body and replicate_physics metadata. The builder no longer names any backend, variant, or object type. Signed-off-by: tstuyck <tstuyck@nvidia.com>
Make the predicate pose/velocity accessors dispatch on asset type so they work for rigid and deformable objects alike, add a velocity gate to objects_in_proximity and an object_is_below_height predicate, and repoint the deformable task at them. Removes the bespoke deformable-centroid termination functions. Signed-off-by: tstuyck <tstuyck@nvidia.com>
TuurStuyck
force-pushed
the
tstuyck/feature/deformable-pick-place
branch
from
July 24, 2026 22:45
dd30a52 to
0a8dff1
Compare
TuurStuyck
changed the base branch from
alex/feature/upgrade_lab_to_beta2
to
main
July 24, 2026 22:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Deformable pick-and-place, backend/variant-agnostic
Detailed description
physics_presets.py) as the single source of truth (backend, config, soft-body capability,replicate_physics) and a backend-neutral deformable spawn adapter (deformable_spawn.py) — the only place naming PhysX/Newton cfg classes. Adding a new Newton solver variant is one registry entry.DeformableObjectonto a cfg-agnosticObjectBase(newSpawnableObjectBaseholds the rigid machinery), so deformables are a clean peer of rigid objects rather than a special case.requires_soft_body_solver()) and registry metadata instead ofObjectType/name checks, and unifies the deformable terminations with the rigid predicate layer.ObjectType.DEFORMABLE; verified by tests (registry drift/metadata, per-object spawn numeric-equivalence, hierarchy, builder matrix) and the end-to-end Newton smoke test.