SensorLib 0.5.0
Multi-platform sensor driver library for Arduino, PlatformIO, and ESP-IDF
Loading...
Searching...
No Matches
GyroscopeUtils Namespace Reference

Functions

float rangeToDegreesPerSecond (GyroFullScaleRange range)
 Convert full-scale range enumeration to degrees per second value.
 

Function Documentation

◆ rangeToDegreesPerSecond()

float GyroscopeUtils::rangeToDegreesPerSecond ( GyroFullScaleRange  range)
inline

Convert full-scale range enumeration to degrees per second value.

Parameters
rangeFull-scale range enumeration
Returns
float Corresponding degrees per second value

Definition at line 45 of file GyroscopeUtils.hpp.

References FS_1000_DPS, FS_125_DPS, FS_2000_DPS, FS_250_DPS, FS_4000_DPS, and FS_500_DPS.