Add group support to mjcPhysics equivalents for sites, geoms, actuators, and joints.

PiperOrigin-RevId: 781945497
Change-Id: I5c409f05e6bae33c181a51c273f260daea6004fc
This commit is contained in:
Sam Haves
2025-07-11 05:36:35 -07:00
committed by Copybara-Service
parent bbb265da4a
commit 3473e4e451
14 changed files with 234 additions and 24 deletions
@@ -84,6 +84,7 @@ MjcPhysicsTokensType::MjcPhysicsTokensType()
mjcGainPrm("mjc:gainPrm", TfToken::Immortal),
mjcGainType("mjc:gainType", TfToken::Immortal),
mjcGear("mjc:gear", TfToken::Immortal),
mjcGroup("mjc:group", TfToken::Immortal),
mjcInertia("mjc:inertia", TfToken::Immortal),
mjcJointInParent("mjc:jointInParent", TfToken::Immortal),
mjcLengthRangeMax("mjc:lengthRange:max", TfToken::Immortal),
@@ -146,6 +147,7 @@ MjcPhysicsTokensType::MjcPhysicsTokensType()
true_("true", TfToken::Immortal),
user("user", TfToken::Immortal),
MjcCollisionAPI("MjcCollisionAPI", TfToken::Immortal),
MjcImageableAPI("MjcImageableAPI", TfToken::Immortal),
MjcJointAPI("MjcJointAPI", TfToken::Immortal),
MjcKeyframe("MjcKeyframe", TfToken::Immortal),
MjcMeshCollisionAPI("MjcMeshCollisionAPI", TfToken::Immortal),
@@ -219,6 +221,7 @@ MjcPhysicsTokensType::MjcPhysicsTokensType()
mjcGainPrm,
mjcGainType,
mjcGear,
mjcGroup,
mjcInertia,
mjcJointInParent,
mjcLengthRangeMax,
@@ -278,6 +281,7 @@ MjcPhysicsTokensType::MjcPhysicsTokensType()
true_,
user,
MjcCollisionAPI,
MjcImageableAPI,
MjcJointAPI,
MjcKeyframe,
MjcMeshCollisionAPI,