Tracker: remove compass accumulate

This commit is contained in:
Randy Mackay 2018-08-02 12:19:00 +09:00 committed by Andrew Tridgell
parent 690bbcdaad
commit b323a5bffe
3 changed files with 0 additions and 12 deletions

View File

@ -41,7 +41,6 @@ const AP_Scheduler::Task Tracker::scheduler_tasks[] = {
SCHED_TASK_CLASS(AP_Baro, &tracker.barometer, update, 10, 1500),
SCHED_TASK(gcs_update, 50, 1700),
SCHED_TASK(gcs_data_stream_send, 50, 3000),
SCHED_TASK(compass_accumulate, 50, 1500),
SCHED_TASK_CLASS(AP_Baro, &tracker.barometer, accumulate, 50, 900),
SCHED_TASK(ten_hz_logging_loop, 10, 300),
#if LOGGING_ENABLED == ENABLED

View File

@ -213,7 +213,6 @@ private:
void read_radio();
void update_ahrs();
void update_compass(void);
void compass_accumulate(void);
void accel_cal_update(void);
void update_GPS(void);
void init_servos();

View File

@ -22,16 +22,6 @@ void Tracker::update_compass(void)
}
}
/*
if the compass is enabled then try to accumulate a reading
*/
void Tracker::compass_accumulate(void)
{
if (g.compass_enabled) {
compass.accumulate();
}
}
/*
calibrate compass
*/