From 5e2d7b1eaa149655ecb5ef9a6066320b13cac44b Mon Sep 17 00:00:00 2001 From: Arthur Benemann Date: Mon, 10 Nov 2014 17:27:59 -0800 Subject: [PATCH] Plane: Implement MSG_CAMERA_FEEDBACK on planes --- ArduPlane/GCS_Mavlink.pde | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ArduPlane/GCS_Mavlink.pde b/ArduPlane/GCS_Mavlink.pde index b219c4e080..57aa76f8c2 100644 --- a/ArduPlane/GCS_Mavlink.pde +++ b/ArduPlane/GCS_Mavlink.pde @@ -643,6 +643,13 @@ bool GCS_MAVLINK::try_send_message(enum ap_message id) #endif break; + case MSG_CAMERA_FEEDBACK: +#if CAMERA == ENABLED + CHECK_PAYLOAD_SIZE(CAMERA_FEEDBACK); + camera.send_feedback(chan, gps, ahrs, current_loc); +#endif + break; + case MSG_BATTERY2: CHECK_PAYLOAD_SIZE(BATTERY2); gcs[chan-MAVLINK_COMM_0].send_battery2(battery);