74 const double SI_K = 273.15;
82 double gToMetersPerSec2(
double g);
83 float gToMetersPerSec2(
float g);
85 double degToRad(
double deg);
86 float degToRad(
float deg);
88 double cToK(
double c);
91 double fToK(
double f);
99 #endif // _IMU_CONST_H const double SI_PaAtm
1 atmosphere in Pascals
const double SI_PaBar
1 bar in Pascals
static const int IMU_ECODE_NO_CAP
no capabilities
static const int IMU_ECODE_TIMEDOUT
operation timed out error
const double SI_g0
m/s^2 accel. in standard gravity
static const int IMU_OK
not an error, success
static const int IMU_ECODE_BUSY
resource busy error
static const int IMU_ECODE_RANGE
value out-of-range
static const int IMU_ECODE_SYS
system (errno) error
static const int IMU_ECODE_NO_SENSOR
no sensor
static const int IMU_ECODE_GEN
general, unspecified error
const double SI_K
0 Celsius in Kelvins
static const int IMU_ECODE_NUMOF
number of error codes
RoadNarrows Robotics standard namespace.
static const int IMU_ECODE_BADEC
bad error code
const double SI_PaPsi
1 psi in Pascals
static const int IMU_ECODE_INTERNAL
internal error (bug)