Skip to content

raisim::World::SleepSettings ​

struct · #include <raisim/World.hpp>

Sleeping-island configuration (see setSleepingParameters()).

Public attributes ​

enabled ​

cpp
bool enabled

Whether sleeping islands are enabled.

linearVelThreshold ​

cpp
double linearVelThreshold

Linear speed below which a body counts as quiet (m/s).

angularVelThreshold ​

cpp
double angularVelThreshold

Angular speed below which a body counts as quiet (rad/s).

quietSteps ​

cpp
int quietSteps

Number of consecutive quiet steps before an island sleeps.

RaiSim — physics for robotics and AI.