raisim::World::SleepSettings
struct · #include <raisim/World.hpp>
Sleeping-island configuration (see setSleepingParameters()).
Public attributes
enabled
cpp
bool enabledWhether sleeping islands are enabled.
linearVelThreshold
cpp
double linearVelThresholdLinear speed below which a body counts as quiet (m/s).
angularVelThreshold
cpp
double angularVelThresholdAngular speed below which a body counts as quiet (rad/s).
quietSteps
cpp
int quietStepsNumber of consecutive quiet steps before an island sleeps.