|
|
|
@ -175,9 +175,6 @@ const AP_Scheduler::Task Copter::scheduler_tasks[] = {
@@ -175,9 +175,6 @@ const AP_Scheduler::Task Copter::scheduler_tasks[] = {
|
|
|
|
|
SCHED_TASK(three_hz_loop, 3, 75, 57), |
|
|
|
|
SCHED_TASK_CLASS(AP_ServoRelayEvents, &copter.ServoRelayEvents, update_events, 50, 75, 60), |
|
|
|
|
SCHED_TASK_CLASS(AP_Baro, &copter.barometer, accumulate, 50, 90, 63), |
|
|
|
|
#if AC_FENCE == ENABLED |
|
|
|
|
SCHED_TASK_CLASS(AC_Fence, &copter.fence, update, 10, 100, 66), |
|
|
|
|
#endif |
|
|
|
|
#if PRECISION_LANDING == ENABLED |
|
|
|
|
SCHED_TASK(update_precland, 400, 50, 69), |
|
|
|
|
#endif |
|
|
|
@ -579,7 +576,7 @@ void Copter::three_hz_loop()
@@ -579,7 +576,7 @@ void Copter::three_hz_loop()
|
|
|
|
|
#if AC_FENCE == ENABLED |
|
|
|
|
// check if we have breached a fence
|
|
|
|
|
fence_check(); |
|
|
|
|
#endif // AC_FENCE_ENABLED
|
|
|
|
|
#endif // AP_FENCE_ENABLED
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// update ch6 in flight tuning
|
|
|
|
|