feat(schemas): mass schema-fragment API (additive)#6
Draft
vidurv-nvidia wants to merge 3 commits into
Draft
Conversation
Add the additive mass schema-fragment framework mirroring the rigid-body pilot. Mass is a pure-UsdPhysics family with no backend split. - Add MassFragment marker and MassCfg fragment (physics:mass / physics:density) in core schemas_cfg. - Add apply_mass_properties writer applying UsdPhysics.MassAPI as the implicit anchor, then dispatching each fragment via its func. - Widen the RigidObjectSpawnerCfg mass_props slot to accept a MassFragment or list, with transition bridges at the shapes, meshes, from_files, and mesh_converter spawn sites. - Export the new public names and add a test plus changelog fragment. The legacy MassPropertiesCfg and define_/modify_mass_properties remain the canonical names and are left untouched.
No behavior change; collapse over-explained inline comments to terse intent.
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 mass fragment family (pure UsdPhysics, no backend split)
MassFragment,MassCfg(physics:mass/density),apply_mass_properties(anchorMassAPI)MassPropertiesCfgkept as canonical (not deprecated);MassCfgadded alongside.mass_propsaccepts a fragment list + bridge.Status: authored, ruff + pre-commit clean. Not yet Isaac-Sim verified (CI pending). Stacked on the rigid-body framework branch.
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