peripherals  1.4.2
RoadNarrows Robotics Hardware Peripherals Package
imuConst.h File Reference

IMU constants. More...

Go to the source code of this file.

Namespaces

 rnr
 RoadNarrows Robotics standard namespace.
 

Functions

double rnr::gToMetersPerSec2 (double g)
 
float rnr::gToMetersPerSec2 (float g)
 
double rnr::degToRad (double deg)
 
float rnr::degToRad (float deg)
 
double rnr::cToK (double c)
 
float rnr::cToK (float c)
 
double rnr::fToK (double f)
 
float rnr::fToK (float f)
 

Variables

static const int rnr::IMU_OK = 0
 not an error, success More...
 
static const int rnr::IMU_ECODE_GEN = 1
 general, unspecified error More...
 
static const int rnr::IMU_ECODE_SYS = 2
 system (errno) error More...
 
static const int rnr::IMU_ECODE_INTERNAL = 3
 internal error (bug) More...
 
static const int rnr::IMU_ECODE_NO_SENSOR = 4
 no sensor More...
 
static const int rnr::IMU_ECODE_NO_CAP = 5
 no capabilities More...
 
static const int rnr::IMU_ECODE_RANGE = 6
 value out-of-range More...
 
static const int rnr::IMU_ECODE_TIMEDOUT = 7
 operation timed out error More...
 
static const int rnr::IMU_ECODE_BUSY = 8
 resource busy error More...
 
static const int rnr::IMU_ECODE_BADEC = 9
 bad error code More...
 
static const int rnr::IMU_ECODE_NUMOF = 10
 number of error codes More...
 
const double rnr::SI_g0 = 9.80665
 m/s^2 accel. in standard gravity More...
 
const double rnr::SI_K = 273.15
 0 Celsius in Kelvins More...
 
const double rnr::SI_PaPsi = 6894.75729
 1 psi in Pascals More...
 
const double rnr::SI_PaAtm = 1.01325e5
 1 atmosphere in Pascals More...
 
const double rnr::SI_PaBar = 10000
 1 bar in Pascals More...
 

Detailed Description

IMU constants.

LastChangedDate
2015-02-25 14:46:44 -0700 (Wed, 25 Feb 2015)
Rev
3872
Author
Robin Knight (robin.nosp@m..kni.nosp@m.ght@r.nosp@m.oadn.nosp@m.arrow.nosp@m.s.co.nosp@m.m)

Definition in file imuConst.h.