mirror of https://github.com/ArduPilot/ardupilot
Sub: move heartbeat sending to gcs instead of by vehicles
This commit is contained in:
parent
08d5e7d4ae
commit
5519527874
|
@ -39,7 +39,6 @@ const AP_Scheduler::Task Sub::scheduler_tasks[] = {
|
||||||
SCHED_TASK_CLASS(AP_Notify, &sub.notify, update, 50, 90),
|
SCHED_TASK_CLASS(AP_Notify, &sub.notify, update, 50, 90),
|
||||||
SCHED_TASK(one_hz_loop, 1, 100),
|
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_receive, 400, 180),
|
||||||
SCHED_TASK(gcs_send_heartbeat, 1, 110),
|
|
||||||
SCHED_TASK_CLASS(GCS, (GCS*)&sub._gcs, update_send, 400, 550),
|
SCHED_TASK_CLASS(GCS, (GCS*)&sub._gcs, update_send, 400, 550),
|
||||||
#if MOUNT == ENABLED
|
#if MOUNT == ENABLED
|
||||||
SCHED_TASK_CLASS(AP_Mount, &sub.camera_mount, update, 50, 75),
|
SCHED_TASK_CLASS(AP_Mount, &sub.camera_mount, update, 50, 75),
|
||||||
|
|
Loading…
Reference in New Issue