/*
 * conf_imu_rev4.h
 *
 * Created: 20/11/2013 22:21:49
 *  Author: sfx
 */ 


#ifndef CONF_IMU_REV4_H_
#define CONF_IMU_REV4_H_


#define RAW_GYRO_X 0
#define RAW_GYRO_Y 1
#define RAW_GYRO_Z 2

#define RAW_ACC_X 0
#define RAW_ACC_Y 1
#define RAW_ACC_Z 2

#define RAW_COMPASS_X 2
#define RAW_COMPASS_Y 0
#define RAW_COMPASS_Z 1

// from datasheet: FS 2000dps --> 70 mdps/digit
// scale = 1/(0.07 * PI / 180.0) = 818.5111
#define RAW_GYRO_X_SCALE  818.5111
#define RAW_GYRO_Y_SCALE  818.5111
#define RAW_GYRO_Z_SCALE  818.5111

#define GYRO_AXIS_X  1.0
#define GYRO_AXIS_Y -1.0
#define GYRO_AXIS_Z -1.0

#define RAW_ACC_X_SCALE  4033.35
#define RAW_ACC_Y_SCALE  3997.92
#define RAW_ACC_Z_SCALE  4081.49

#define ACC_BIAIS_X  -123.22
#define ACC_BIAIS_Y   143.87
#define ACC_BIAIS_Z   207.7505405

#define ACC_AXIS_X  1.0
#define ACC_AXIS_Y -1.0
#define ACC_AXIS_Z -1.0

#define RAW_MAG_X_SCALE 619.57
#define RAW_MAG_Y_SCALE 638.39
#define RAW_MAG_Z_SCALE 563.41

#define MAG_BIAIS_X   -121.169232
#define MAG_BIAIS_Y   -189.6727777
#define MAG_BIAIS_Z   -162.58148486

#define MAG_AXIS_X -1.0
#define MAG_AXIS_Y -1.0
#define MAG_AXIS_Z -1.0

#endif /* CONF_IMU_REV4_H_ */
Add calibration file for board J2 (MAV102)
Add calibration file for board J2 (MAV102)
