Browse Source

Sub: call periodic fence update function

master
Peter Barker 5 years ago committed by Randy Mackay
parent
commit
3ef94a69ad
  1. 3
      ArduSub/ArduSub.cpp

3
ArduSub/ArduSub.cpp

@ -40,6 +40,9 @@ const AP_Scheduler::Task Sub::scheduler_tasks[] = { @@ -40,6 +40,9 @@ const AP_Scheduler::Task Sub::scheduler_tasks[] = {
SCHED_TASK(one_hz_loop, 1, 100),
SCHED_TASK_CLASS(GCS, (GCS*)&sub._gcs, update_receive, 400, 180),
SCHED_TASK_CLASS(GCS, (GCS*)&sub._gcs, update_send, 400, 550),
#if AC_FENCE == ENABLED
SCHED_TASK_CLASS(AC_Fence, &sub.fence, update, 10, 100),
#endif
#if MOUNT == ENABLED
SCHED_TASK_CLASS(AP_Mount, &sub.camera_mount, update, 50, 75),
#endif

Loading…
Cancel
Save