From 976d14bdc25c2c2c9a215862db7f6ae35d0a9fa5 Mon Sep 17 00:00:00 2001 From: Gus Grubba Date: Tue, 26 Mar 2019 23:45:41 -0400 Subject: [PATCH] Request capture status when taking photos --- src/Camera/QGCCameraControl.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Camera/QGCCameraControl.cc b/src/Camera/QGCCameraControl.cc index cf98ea185..8ba5927ae 100644 --- a/src/Camera/QGCCameraControl.cc +++ b/src/Camera/QGCCameraControl.cc @@ -669,6 +669,9 @@ QGCCameraControl::_mavCommandResult(int vehicleId, int component, int command, i case MAV_CMD_REQUEST_STORAGE_INFORMATION: _storageInfoRetries = 0; break; + case MAV_CMD_IMAGE_START_CAPTURE: + _captureStatusTimer.start(1000); + break; } } else { if(noReponseFromVehicle || result == MAV_RESULT_TEMPORARILY_REJECTED || result == MAV_RESULT_FAILED) { -- 2.22.0