Rleg
2
|
Functions | |
void | calibrate_all (IMU_DATA_STRUCT *imu_data) |
Calibrate all sensors. More... | |
void | calibrate_imu (IMU_DATA_STRUCT *imu_data) |
Calibrate imu sensors. More... | |
void calibrate_all | ( | IMU_DATA_STRUCT * | imu_data | ) |
Calibrate all sensors.
Definition at line 8 of file calibration.c.
References calibrate_imu().
Referenced by control_task(), and periodic_task_1().
void calibrate_imu | ( | IMU_DATA_STRUCT * | imu_data | ) |
Calibrate imu sensors.
Definition at line 14 of file calibration.c.
References IMU_DATA_STRUCT::acc, IMU_DATA_STRUCT::calibrated::acc, ACC_BIAS_X, ACC_BIAS_Y, ACC_BIAS_Z, ACC_FS_X, ACC_FS_Y, ACC_FS_Z, IMU_DATA_STRUCT::calib, IMU_DATA_STRUCT::calib_temp, IMU_DATA_STRUCT::gyr, IMU_DATA_STRUCT::calibrated::gyr, GYR_BIAS_X, GYR_BIAS_Y, GYR_BIAS_Z, GYR_FS_X, GYR_FS_Y, GYR_FS_Z, IMU_DATA_STRUCT::mag, IMU_DATA_STRUCT::calibrated::mag, MAG_BIAS_X, MAG_BIAS_Y, MAG_BIAS_Z, MAG_FS_X, MAG_FS_Y, MAG_FS_Z, IMU_DATA_STRUCT::temp, DATA_XYZ::x, DATA_XYZ_DOUBLE::x, DATA_XYZ::y, DATA_XYZ_DOUBLE::y, DATA_XYZ::z, and DATA_XYZ_DOUBLE::z.
Referenced by calibrate_all().