|
|
@ -106,7 +106,9 @@ const AP_Scheduler::Task Copter::scheduler_tasks[] = { |
|
|
|
SCHED_TASK(update_altitude, 10, 100), |
|
|
|
SCHED_TASK(update_altitude, 10, 100), |
|
|
|
SCHED_TASK(run_nav_updates, 50, 100), |
|
|
|
SCHED_TASK(run_nav_updates, 50, 100), |
|
|
|
SCHED_TASK(update_throttle_hover,100, 90), |
|
|
|
SCHED_TASK(update_throttle_hover,100, 90), |
|
|
|
|
|
|
|
#if MODE_SMARTRTL_ENABLED == ENABLED |
|
|
|
SCHED_TASK_CLASS(Copter::ModeSmartRTL, &copter.mode_smartrtl, save_position, 3, 100), |
|
|
|
SCHED_TASK_CLASS(Copter::ModeSmartRTL, &copter.mode_smartrtl, save_position, 3, 100), |
|
|
|
|
|
|
|
#endif |
|
|
|
SCHED_TASK(three_hz_loop, 3, 75), |
|
|
|
SCHED_TASK(three_hz_loop, 3, 75), |
|
|
|
SCHED_TASK(compass_accumulate, 100, 100), |
|
|
|
SCHED_TASK(compass_accumulate, 100, 100), |
|
|
|
SCHED_TASK_CLASS(AP_Baro, &copter.barometer, accumulate, 50, 90), |
|
|
|
SCHED_TASK_CLASS(AP_Baro, &copter.barometer, accumulate, 50, 90), |
|
|
|