|
|
|
@ -71,7 +71,7 @@ MAV_STATE GCS_MAVLINK_Tracker::system_status() const
@@ -71,7 +71,7 @@ MAV_STATE GCS_MAVLINK_Tracker::system_status() const
|
|
|
|
|
return MAV_STATE_ACTIVE; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void Tracker::send_extended_status1(mavlink_channel_t chan) |
|
|
|
|
void Tracker::send_sys_status(mavlink_channel_t chan) |
|
|
|
|
{ |
|
|
|
|
int16_t battery_current = -1; |
|
|
|
|
int8_t battery_remaining = -1; |
|
|
|
@ -137,7 +137,7 @@ bool GCS_MAVLINK_Tracker::try_send_message(enum ap_message id)
@@ -137,7 +137,7 @@ bool GCS_MAVLINK_Tracker::try_send_message(enum ap_message id)
|
|
|
|
|
|
|
|
|
|
case MSG_EXTENDED_STATUS1: |
|
|
|
|
CHECK_PAYLOAD_SIZE(SYS_STATUS); |
|
|
|
|
tracker.send_extended_status1(chan); |
|
|
|
|
tracker.send_sys_status(chan); |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
default: |
|
|
|
|