feat(schemas): collision schema-fragment API (additive)#5
Draft
vidurv-nvidia wants to merge 2 commits into
Draft
feat(schemas): collision schema-fragment API (additive)#5vidurv-nvidia wants to merge 2 commits into
vidurv-nvidia wants to merge 2 commits into
Conversation
Add the additive single-namespace collision fragment family mirroring the rigid-body pilot: the CollisionFragment marker and UsdPhysicsCollisionCfg in core, PhysxCollisionCfg in isaaclab_physx, and NewtonCollisionCfg in isaaclab_newton. Add the apply_collision_properties family writer that applies UsdPhysics.CollisionAPI as the implicit anchor and dispatches each fragment via its func. Widen the collision_props spawner and mesh-converter slots to accept a fragment list and add a transition bridge at every spawn site so legacy CollisionPropertiesCfg cfgs keep working. Export the new public names from the core, sim-level, physx, and newton stubs, add a fragment test file, and add changelog fragments.
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.
Description
Additive collision fragment family
Mirrors the rigid-body pilot. Stacked on the rigid-body framework branch (base will retarget to
developonce that lands).CollisionFragment,UsdPhysicsCollisionCfg(physics:collisionEnabled),apply_collision_properties(anchorCollisionAPI)PhysxCollisionCfg(physxCollision:*inclcontact_offset/rest_offset)NewtonCollisionCfg(newton:contactMargin/contactGap)collision_propsaccepts a fragment list + transition bridge; legacy cfgs untouched.Status: authored, ruff + pre-commit clean, exports verified. Not yet Isaac-Sim verified (CI / per-family sim run pending). Decision:
contact_offset/rest_offsetlive on the PhysX fragment (Newton reads via bridge).Fixes # (N/A — part of the staged physics schema-fragment refactor; no tracked public issue)
Type of change
Screenshots
N/A — no user-facing visual changes.
Checklist
ruff+ruff-format) on the changed files./isaaclab.sh -d; not separately authored)source/<pkg>/changelog.d/for every touched packageCONTRIBUTORS.md