Remove MjcActuatorAPI in favor of typed MjcTransmission.
PiperOrigin-RevId: 781498554 Change-Id: Ib6ce5038645f6ca08638a9d316b0347dc121bc62
This commit is contained in:
committed by
Copybara-Service
parent
2d69610abd
commit
fbea72d767
@@ -55,15 +55,15 @@ struct MjcPhysicsTokensType {
|
||||
MJCPHYSICS_API MjcPhysicsTokensType();
|
||||
/// \brief "affine"
|
||||
///
|
||||
/// Possible value for MjcPhysicsActuatorAPI::GetMjcBiasTypeAttr(), Possible
|
||||
/// value for MjcPhysicsActuatorAPI::GetMjcGainTypeAttr()
|
||||
/// Possible value for MjcPhysicsTransmission::GetMjcBiasTypeAttr(), Possible
|
||||
/// value for MjcPhysicsTransmission::GetMjcGainTypeAttr()
|
||||
const TfToken affine;
|
||||
/// \brief "auto"
|
||||
///
|
||||
/// Fallback value for MjcPhysicsSceneAPI::GetJacobianAttr(), Fallback value
|
||||
/// for MjcPhysicsActuatorAPI::GetMjcActLimitedAttr(), Fallback value for
|
||||
/// MjcPhysicsActuatorAPI::GetMjcCtrlLimitedAttr(), Fallback value for
|
||||
/// MjcPhysicsActuatorAPI::GetMjcForceLimitedAttr(), Fallback value for
|
||||
/// for MjcPhysicsTransmission::GetMjcActLimitedAttr(), Fallback value for
|
||||
/// MjcPhysicsTransmission::GetMjcCtrlLimitedAttr(), Fallback value for
|
||||
/// MjcPhysicsTransmission::GetMjcForceLimitedAttr(), Fallback value for
|
||||
/// MjcPhysicsJointAPI::GetMjcActuatorfrclimitedAttr(), This token represents
|
||||
/// the auto constraint Jacobian and matrices computed from it.
|
||||
const TfToken auto_;
|
||||
@@ -97,22 +97,22 @@ struct MjcPhysicsTokensType {
|
||||
const TfToken exact;
|
||||
/// \brief "false"
|
||||
///
|
||||
/// Possible value for MjcPhysicsActuatorAPI::GetMjcActLimitedAttr(), Possible
|
||||
/// value for MjcPhysicsActuatorAPI::GetMjcCtrlLimitedAttr(), Possible value
|
||||
/// for MjcPhysicsActuatorAPI::GetMjcForceLimitedAttr(), Possible value for
|
||||
/// MjcPhysicsJointAPI::GetMjcActuatorfrclimitedAttr()
|
||||
/// Possible value for MjcPhysicsTransmission::GetMjcActLimitedAttr(),
|
||||
/// Possible value for MjcPhysicsTransmission::GetMjcCtrlLimitedAttr(),
|
||||
/// Possible value for MjcPhysicsTransmission::GetMjcForceLimitedAttr(),
|
||||
/// Possible value for MjcPhysicsJointAPI::GetMjcActuatorfrclimitedAttr()
|
||||
const TfToken false_;
|
||||
/// \brief "filter"
|
||||
///
|
||||
/// Possible value for MjcPhysicsActuatorAPI::GetMjcDynTypeAttr()
|
||||
/// Possible value for MjcPhysicsTransmission::GetMjcDynTypeAttr()
|
||||
const TfToken filter;
|
||||
/// \brief "filterexact"
|
||||
///
|
||||
/// Possible value for MjcPhysicsActuatorAPI::GetMjcDynTypeAttr()
|
||||
/// Possible value for MjcPhysicsTransmission::GetMjcDynTypeAttr()
|
||||
const TfToken filterexact;
|
||||
/// \brief "fixed"
|
||||
///
|
||||
/// Fallback value for MjcPhysicsActuatorAPI::GetMjcGainTypeAttr()
|
||||
/// Fallback value for MjcPhysicsTransmission::GetMjcGainTypeAttr()
|
||||
const TfToken fixed;
|
||||
/// \brief "implicit"
|
||||
///
|
||||
@@ -126,7 +126,7 @@ struct MjcPhysicsTokensType {
|
||||
const TfToken implicitfast;
|
||||
/// \brief "integrator"
|
||||
///
|
||||
/// Possible value for MjcPhysicsActuatorAPI::GetMjcDynTypeAttr()
|
||||
/// Possible value for MjcPhysicsTransmission::GetMjcDynTypeAttr()
|
||||
const TfToken integrator;
|
||||
/// \brief "legacy"
|
||||
///
|
||||
@@ -138,23 +138,23 @@ struct MjcPhysicsTokensType {
|
||||
const TfToken mjcAct;
|
||||
/// \brief "mjc:actDim"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcActDim;
|
||||
/// \brief "mjc:actEarly"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcActEarly;
|
||||
/// \brief "mjc:actLimited"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcActLimited;
|
||||
/// \brief "mjc:actRange:max"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcActRangeMax;
|
||||
/// \brief "mjc:actRange:min"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcActRangeMin;
|
||||
/// \brief "mjc:actuatorfrclimited"
|
||||
///
|
||||
@@ -178,15 +178,15 @@ struct MjcPhysicsTokensType {
|
||||
const TfToken mjcArmature;
|
||||
/// \brief "mjc:biasPrm"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcBiasPrm;
|
||||
/// \brief "mjc:biasType"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcBiasType;
|
||||
/// \brief "mjc:crankLength"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcCrankLength;
|
||||
/// \brief "mjc:ctrl"
|
||||
///
|
||||
@@ -194,15 +194,15 @@ struct MjcPhysicsTokensType {
|
||||
const TfToken mjcCtrl;
|
||||
/// \brief "mjc:ctrlLimited"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcCtrlLimited;
|
||||
/// \brief "mjc:ctrlRange:max"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcCtrlRangeMax;
|
||||
/// \brief "mjc:ctrlRange:min"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcCtrlRangeMin;
|
||||
/// \brief "mjc:damping"
|
||||
///
|
||||
@@ -210,11 +210,11 @@ struct MjcPhysicsTokensType {
|
||||
const TfToken mjcDamping;
|
||||
/// \brief "mjc:dynPrm"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcDynPrm;
|
||||
/// \brief "mjc:dynType"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcDynType;
|
||||
/// \brief "mjc:flag:actuation"
|
||||
///
|
||||
@@ -310,15 +310,15 @@ struct MjcPhysicsTokensType {
|
||||
const TfToken mjcFlagWarmstart;
|
||||
/// \brief "mjc:forceLimited"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcForceLimited;
|
||||
/// \brief "mjc:forceRange:max"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcForceRangeMax;
|
||||
/// \brief "mjc:forceRange:min"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcForceRangeMin;
|
||||
/// \brief "mjc:frictionloss"
|
||||
///
|
||||
@@ -326,31 +326,35 @@ struct MjcPhysicsTokensType {
|
||||
const TfToken mjcFrictionloss;
|
||||
/// \brief "mjc:gainPrm"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcGainPrm;
|
||||
/// \brief "mjc:gainType"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcGainType;
|
||||
/// \brief "mjc:gear"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcGear;
|
||||
/// \brief "mjc:group"
|
||||
///
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcGroup;
|
||||
/// \brief "mjc:inertia"
|
||||
///
|
||||
/// MjcPhysicsMeshCollisionAPI
|
||||
const TfToken mjcInertia;
|
||||
/// \brief "mjc:jointInParent"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcJointInParent;
|
||||
/// \brief "mjc:lengthRange:max"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcLengthRangeMax;
|
||||
/// \brief "mjc:lengthRange:min"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcLengthRangeMin;
|
||||
/// \brief "mjc:margin"
|
||||
///
|
||||
@@ -486,7 +490,7 @@ struct MjcPhysicsTokensType {
|
||||
const TfToken mjcRef;
|
||||
/// \brief "mjc:refSite"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcRefSite;
|
||||
/// \brief "mjc:shellinertia"
|
||||
///
|
||||
@@ -494,7 +498,7 @@ struct MjcPhysicsTokensType {
|
||||
const TfToken mjcShellinertia;
|
||||
/// \brief "mjc:sliderSite"
|
||||
///
|
||||
/// MjcPhysicsActuatorAPI
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcSliderSite;
|
||||
/// \brief "mjc:solimpfriction"
|
||||
///
|
||||
@@ -524,11 +528,15 @@ struct MjcPhysicsTokensType {
|
||||
///
|
||||
/// MjcPhysicsJointAPI
|
||||
const TfToken mjcStiffness;
|
||||
/// \brief "mjc:target"
|
||||
///
|
||||
/// MjcPhysicsTransmission
|
||||
const TfToken mjcTarget;
|
||||
/// \brief "muscle"
|
||||
///
|
||||
/// Possible value for MjcPhysicsActuatorAPI::GetMjcBiasTypeAttr(), Possible
|
||||
/// value for MjcPhysicsActuatorAPI::GetMjcDynTypeAttr(), Possible value for
|
||||
/// MjcPhysicsActuatorAPI::GetMjcGainTypeAttr()
|
||||
/// Possible value for MjcPhysicsTransmission::GetMjcBiasTypeAttr(), Possible
|
||||
/// value for MjcPhysicsTransmission::GetMjcDynTypeAttr(), Possible value for
|
||||
/// MjcPhysicsTransmission::GetMjcGainTypeAttr()
|
||||
const TfToken muscle;
|
||||
/// \brief "newton"
|
||||
///
|
||||
@@ -537,8 +545,8 @@ struct MjcPhysicsTokensType {
|
||||
const TfToken newton;
|
||||
/// \brief "none"
|
||||
///
|
||||
/// Fallback value for MjcPhysicsActuatorAPI::GetMjcBiasTypeAttr(), Fallback
|
||||
/// value for MjcPhysicsActuatorAPI::GetMjcDynTypeAttr()
|
||||
/// Fallback value for MjcPhysicsTransmission::GetMjcBiasTypeAttr(), Fallback
|
||||
/// value for MjcPhysicsTransmission::GetMjcDynTypeAttr()
|
||||
const TfToken none;
|
||||
/// \brief "pgs"
|
||||
///
|
||||
@@ -566,21 +574,17 @@ struct MjcPhysicsTokensType {
|
||||
const TfToken sparse;
|
||||
/// \brief "true"
|
||||
///
|
||||
/// Possible value for MjcPhysicsActuatorAPI::GetMjcActLimitedAttr(), Possible
|
||||
/// value for MjcPhysicsActuatorAPI::GetMjcCtrlLimitedAttr(), Possible value
|
||||
/// for MjcPhysicsActuatorAPI::GetMjcForceLimitedAttr(), Possible value for
|
||||
/// MjcPhysicsJointAPI::GetMjcActuatorfrclimitedAttr()
|
||||
/// Possible value for MjcPhysicsTransmission::GetMjcActLimitedAttr(),
|
||||
/// Possible value for MjcPhysicsTransmission::GetMjcCtrlLimitedAttr(),
|
||||
/// Possible value for MjcPhysicsTransmission::GetMjcForceLimitedAttr(),
|
||||
/// Possible value for MjcPhysicsJointAPI::GetMjcActuatorfrclimitedAttr()
|
||||
const TfToken true_;
|
||||
/// \brief "user"
|
||||
///
|
||||
/// Possible value for MjcPhysicsActuatorAPI::GetMjcBiasTypeAttr(), Possible
|
||||
/// value for MjcPhysicsActuatorAPI::GetMjcDynTypeAttr(), Possible value for
|
||||
/// MjcPhysicsActuatorAPI::GetMjcGainTypeAttr()
|
||||
/// Possible value for MjcPhysicsTransmission::GetMjcBiasTypeAttr(), Possible
|
||||
/// value for MjcPhysicsTransmission::GetMjcDynTypeAttr(), Possible value for
|
||||
/// MjcPhysicsTransmission::GetMjcGainTypeAttr()
|
||||
const TfToken user;
|
||||
/// \brief "MjcActuatorAPI"
|
||||
///
|
||||
/// Schema identifier and family for MjcPhysicsActuatorAPI
|
||||
const TfToken MjcActuatorAPI;
|
||||
/// \brief "MjcCollisionAPI"
|
||||
///
|
||||
/// Schema identifier and family for MjcPhysicsCollisionAPI
|
||||
@@ -605,6 +609,10 @@ struct MjcPhysicsTokensType {
|
||||
///
|
||||
/// Schema identifier and family for MjcPhysicsSiteAPI
|
||||
const TfToken MjcSiteAPI;
|
||||
/// \brief "MjcTransmission"
|
||||
///
|
||||
/// Schema identifier and family for MjcPhysicsTransmission
|
||||
const TfToken MjcTransmission;
|
||||
/// A vector of all of the tokens listed above.
|
||||
const std::vector<TfToken> allTokens;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user