1 #ifndef PHIDGETS_API_IMU_H 2 #define PHIDGETS_API_IMU_H 20 double cc_offset1,
double cc_offset2,
21 double cc_gain0,
double cc_gain1,
22 double cc_gain2,
double cc_T0,
23 double cc_T1,
double cc_T2,
double cc_T3,
24 double cc_T4,
double cc_T5);
26 virtual void dataHandler(
const double acceleration[3],
27 const double angularRate[3],
28 const double magneticField[3],
double timestamp);
34 CPhidgetSpatial_SpatialEventDataHandle *data,
40 #endif // PHIDGETS_API_IMU_H
void setDataRate(int rate)
virtual void dataHandler(const double acceleration[3], const double angularRate[3], const double magneticField[3], double timestamp)
int setCompassCorrectionParameters(double cc_mag_field, double cc_offset0, double cc_offset1, double cc_offset2, double cc_gain0, double cc_gain1, double cc_gain2, double cc_T0, double cc_T1, double cc_T2, double cc_T3, double cc_T4, double cc_T5)
static int SpatialDataHandler(CPhidgetSpatialHandle spatial, void *userptr, CPhidgetSpatial_SpatialEventDataHandle *data, int count)
CPhidgetSpatialHandle imu_handle_