Remove unused mjOption.apirate.
PiperOrigin-RevId: 815633571 Change-Id: Ib98f3eb2df47f96fa1fe6e987a3a0cd23a9479f6
This commit is contained in:
committed by
Copybara-Service
parent
a849fedcd2
commit
431f96572e
@@ -170,31 +170,6 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
|
||||
UsdAttribute CreateTimestepAttr(VtValue const& defaultValue = VtValue(),
|
||||
bool writeSparsely = false) const;
|
||||
|
||||
public:
|
||||
// --------------------------------------------------------------------- //
|
||||
// APIRATE
|
||||
// --------------------------------------------------------------------- //
|
||||
/// Determines the rate (in Hz) at which an external API allows
|
||||
/// the update function to be executed.
|
||||
///
|
||||
/// | ||
|
||||
/// | -- | -- |
|
||||
/// | Declaration | `uniform double mjc:option:apirate = 100` |
|
||||
/// | C++ Type | double |
|
||||
/// | \ref Usd_Datatypes "Usd Type" | SdfValueTypeNames->Double |
|
||||
/// | \ref SdfVariability "Variability" | SdfVariabilityUniform |
|
||||
MJCPHYSICS_API
|
||||
UsdAttribute GetApiRateAttr() const;
|
||||
|
||||
/// See GetApiRateAttr(), and also
|
||||
/// \ref Usd_Create_Or_Get_Property for when to use Get vs Create.
|
||||
/// If specified, author \p defaultValue as the attribute's default,
|
||||
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
|
||||
/// the default for \p writeSparsely is \c false.
|
||||
MJCPHYSICS_API
|
||||
UsdAttribute CreateApiRateAttr(VtValue const& defaultValue = VtValue(),
|
||||
bool writeSparsely = false) const;
|
||||
|
||||
public:
|
||||
// --------------------------------------------------------------------- //
|
||||
// IMPRATIO
|
||||
|
||||
@@ -455,10 +455,6 @@ struct MjcPhysicsTokensType {
|
||||
///
|
||||
/// MjcPhysicsSceneAPI
|
||||
const TfToken mjcOptionActuatorgroupdisable;
|
||||
/// \brief "mjc:option:apirate"
|
||||
///
|
||||
/// MjcPhysicsSceneAPI
|
||||
const TfToken mjcOptionApirate;
|
||||
/// \brief "mjc:option:ccd_iterations"
|
||||
///
|
||||
/// MjcPhysicsSceneAPI
|
||||
|
||||
@@ -469,7 +469,6 @@ typedef struct mjVFS_ mjVFS;
|
||||
struct mjOption_ { // physics options
|
||||
// timing parameters
|
||||
mjtNum timestep; // timestep
|
||||
mjtNum apirate; // update rate for remote API (Hz)
|
||||
|
||||
// solver parameters
|
||||
mjtNum impratio; // ratio of friction-to-normal contact impedance
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
// scalar fields of mjOption
|
||||
#define MJOPTION_FLOATS \
|
||||
X( mjtNum, timestep ) \
|
||||
X( mjtNum, apirate ) \
|
||||
X( mjtNum, impratio ) \
|
||||
X( mjtNum, tolerance ) \
|
||||
X( mjtNum, ls_tolerance ) \
|
||||
|
||||
Reference in New Issue
Block a user