raisim::GranularPoolSleepController::Options
struct · #include <raisim/object/granular/GranularPoolSleepController.hpp>
Controller parameters. All distances and thresholds must be finite and nonnegative.
Public attributes
policy
cpp
Policy policySleep policy.
halo
cpp
double haloDistance added to WakeSphere::radius when testing whether a grain center is within reach (m).
speedThreshold
cpp
double speedThresholdLinear speed below which a grain counts as quiet (m/s); it must also be below angularSpeedThreshold.
angularSpeedThreshold
cpp
double angularSpeedThresholdAngular speed below which a grain counts as quiet (rad/s).
quietSteps
cpp
unsigned quietStepsConsecutive quiet updates before a grain sleeps (QUIET policy).
extraWakeDistance
cpp
double extraWakeDistanceExtra wake reach for the WAKE_ONCE policy (m).
keepAboveZ
cpp
std::optional<double> keepAboveZIf set, grains whose center z is at or above this value (m) are kept awake.