feat(schemas): tendons schema-fragment API (additive)#10
Draft
vidurv-nvidia wants to merge 4 commits into
Draft
Conversation
Add the additive schema-fragment framework for the tendons family, mirroring the merged rigid-body pilot. Core gains the FixedTendonFragment / SpatialTendonFragment markers and the apply_fixed_tendon_properties / apply_spatial_tendon_properties family writers. Tendons are a tune-not-apply family, so the writers dispatch each fragment's func without applying a new anchor schema. PhysX gains PhysxFixedTendonCfg / PhysxSpatialTendonCfg data-carrier fragments that override func with thin apply_fixed_tendon / apply_spatial_tendon wrappers delegating to the existing multi-instance modify_fixed_/spatial_tendon_properties writers. The from_files spawn slots are widened to accept fragment lists with a transition bridge; legacy cfgs and writers stay intact. The legacy writer's mjc:* branch is kept inline with a future-split-candidate note.
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 tendons fragment family (override func, tune-not-apply)
FixedTendonFragment/SpatialTendonFragmentmarkers +apply_fixed_tendon_properties/apply_spatial_tendon_propertiesPhysxFixedTendonCfg/PhysxSpatialTendonCfgoverridefuncto delegate to the existing multi-instance tendon writers (tune existingPhysxTendonAxisRootAPI:<inst>).fixed_tendons_props/spatial_tendons_propsaccept fragment lists + bridge.Decision: the legacy
mjc:*tendon branch is kept inline (future split candidate, commented). Status: authored, ruff clean, sim verification pending.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