Add inheritrange attribute to mjcPhysics MjcActuator

PiperOrigin-RevId: 783363012
Change-Id: I7d0476aae70c3acc3ed4808a8741b7eb12948dba
This commit is contained in:
Sam Haves
2025-07-15 09:29:28 -07:00
committed by Copybara-Service
parent 5e666635f6
commit cdf5bcb693
9 changed files with 98 additions and 1 deletions
@@ -1180,6 +1180,9 @@ class ModelWriter {
WriteUniformAttribute(actuator_path, pxr::SdfValueTypeNames->Bool,
MjcPhysicsTokens->mjcActEarly,
(bool)actuator->actearly);
WriteUniformAttribute(actuator_path, pxr::SdfValueTypeNames->Double,
MjcPhysicsTokens->mjcInheritRange,
actuator->inheritrange);
WriteUniformAttribute(
actuator_path, pxr::SdfValueTypeNames->DoubleArray,