Copter: update GCS at main loop rate

Reducing message intervals doesn't work as well otherwise
This commit is contained in:
Peter Barker 2018-08-08 15:34:47 +10:00 committed by Randy Mackay
parent fe6342107b
commit ef3654e343

View File

@ -137,8 +137,8 @@ const AP_Scheduler::Task Copter::scheduler_tasks[] = {
SCHED_TASK(lost_vehicle_check, 10, 50),
SCHED_TASK_CLASS(GCS, (GCS*)&copter._gcs, update, 400, 180),
SCHED_TASK(gcs_send_heartbeat, 1, 110),
SCHED_TASK_CLASS(GCS, (GCS*)&copter._gcs, retry_deferred, 50, 550),
SCHED_TASK_CLASS(GCS, (GCS*)&copter._gcs, data_stream_send, 50, 550),
SCHED_TASK_CLASS(GCS, (GCS*)&copter._gcs, retry_deferred, 400, 550),
SCHED_TASK_CLASS(GCS, (GCS*)&copter._gcs, data_stream_send, 400, 550),
#if MOUNT == ENABLED
SCHED_TASK_CLASS(AP_Mount, &copter.camera_mount, update, 50, 75),
#endif