コード例 #1
0
ファイル: AP_AHRS_MPU6000.cpp プロジェクト: Bieghe/Arduino
void
AP_AHRS_MPU6000::init()
{
    _mpu6000->dmp_init();
    push_gains_to_dmp();
    push_offsets_to_ins();
};
コード例 #2
0
void
AP_AHRS_MPU6000::init( AP_PeriodicProcess * scheduler )
{

    _mpu6000->dmp_init();
    push_gains_to_dmp();
    _mpu6000->push_gyro_offsets_to_dmp();

};
コード例 #3
0
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();
};