void AP_AHRS_MPU6000::init() { _mpu6000->dmp_init(); push_gains_to_dmp(); push_offsets_to_ins(); };
void AP_AHRS_MPU6000::init( AP_PeriodicProcess * scheduler ) { _mpu6000->dmp_init(); push_gains_to_dmp(); _mpu6000->push_gyro_offsets_to_dmp(); };
void AP_AHRS_MPU6000::init() { // suspend timer so interrupts on spi bus do not interfere with // communication to mpu6000 hal.scheduler->suspend_timer_procs(); _mpu6000->dmp_init(); push_gains_to_dmp(); _mpu6000->push_gyro_offsets_to_dmp(); // restart timer hal.scheduler->resume_timer_procs(); };