Remove MjcActuatorAPI in favor of typed MjcTransmission.

PiperOrigin-RevId: 781498554
Change-Id: Ib6ce5038645f6ca08638a9d316b0347dc121bc62
This commit is contained in:
Sam Haves
2025-07-10 05:58:08 -07:00
committed by Copybara-Service
parent 2d69610abd
commit fbea72d767
12 changed files with 437 additions and 321 deletions
@@ -251,8 +251,8 @@ class "MjcMeshCollisionAPI" (
)
}
class "MjcActuatorAPI" (
doc = "API describing a Mujoco actuator."
class MjcTransmission "MjcTransmission" (
doc = "Known as actuator in MuJoCo, this prim represents force transmission to joints, bodies, or sites."
)
{
uniform int mjc:actDim = -1 (
@@ -333,6 +333,9 @@ class "MjcActuatorAPI" (
rel mjc:sliderSite (
doc = "Used only for the slider-crank transmission type. The target site is the pin joining the slider and the connecting rod. The slider moves along the z-axis of the slidersite frame. Therefore the site should be oriented as needed when it is defined in the kinematic tree; its orientation cannot be changed in the actuator definition."
)
rel mjc:target (
doc = "Actuator transmission target."
)
}
class MjcKeyframe "MjcKeyframe" (