mirror of https://github.com/ArduPilot/ardupilot
Plane: Send BATTERY_STATUS
This commit is contained in:
parent
1e816b8be5
commit
b850c1041f
|
@ -684,6 +684,9 @@ bool GCS_MAVLINK_Plane::try_send_message(enum ap_message id)
|
|||
CHECK_PAYLOAD_SIZE(ADSB_VEHICLE);
|
||||
plane.adsb.send_adsb_vehicle(chan);
|
||||
break;
|
||||
case MSG_BATTERY_STATUS:
|
||||
send_battery_status(plane.battery);
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
@ -895,6 +898,7 @@ GCS_MAVLINK_Plane::data_stream_send(void)
|
|||
send_message(MSG_MAG_CAL_REPORT);
|
||||
send_message(MSG_MAG_CAL_PROGRESS);
|
||||
send_message(MSG_BATTERY2);
|
||||
send_message(MSG_BATTERY_STATUS);
|
||||
send_message(MSG_MOUNT_STATUS);
|
||||
send_message(MSG_OPTICAL_FLOW);
|
||||
send_message(MSG_EKF_STATUS_REPORT);
|
||||
|
|
Loading…
Reference in New Issue