setSensorsRate

abstract fun setSensorsRate(rate: SensorRate)

Set the inertial sensors rate.

NOTE:

The rate can't be changed while the sensors are active. Changing the rate via setSensorsRate also calls disableInertialSensors

Its on the caller responsibility to re-enable the required sensors

Default value: SensorRate.rate0 (the fastest)

See also