|
|
|
@ -857,8 +857,8 @@ void Tracker::mavlink_delay_cb()
@@ -857,8 +857,8 @@ void Tracker::mavlink_delay_cb()
|
|
|
|
|
uint32_t tnow = AP_HAL::millis(); |
|
|
|
|
if (tnow - last_1hz > 1000) { |
|
|
|
|
last_1hz = tnow; |
|
|
|
|
gcs_send_message(MSG_HEARTBEAT); |
|
|
|
|
gcs_send_message(MSG_EXTENDED_STATUS1); |
|
|
|
|
gcs().send_message(MSG_HEARTBEAT); |
|
|
|
|
gcs().send_message(MSG_EXTENDED_STATUS1); |
|
|
|
|
} |
|
|
|
|
if (tnow - last_50hz > 20) { |
|
|
|
|
last_50hz = tnow; |
|
|
|
@ -874,14 +874,6 @@ void Tracker::mavlink_delay_cb()
@@ -874,14 +874,6 @@ void Tracker::mavlink_delay_cb()
|
|
|
|
|
tracker.in_mavlink_delay = false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* send a message on both GCS links |
|
|
|
|
*/ |
|
|
|
|
void Tracker::gcs_send_message(enum ap_message id) |
|
|
|
|
{ |
|
|
|
|
gcs().send_message(id); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* send data streams in the given rate range on both links |
|
|
|
|
*/ |
|
|
|
@ -903,6 +895,6 @@ void Tracker::gcs_update(void)
@@ -903,6 +895,6 @@ void Tracker::gcs_update(void)
|
|
|
|
|
*/ |
|
|
|
|
void Tracker::gcs_retry_deferred(void) |
|
|
|
|
{ |
|
|
|
|
gcs_send_message(MSG_RETRY_DEFERRED); |
|
|
|
|
gcs().send_message(MSG_RETRY_DEFERRED); |
|
|
|
|
gcs().service_statustext(); |
|
|
|
|
} |
|
|
|
|