From 558e1043e47ec90869007df6c5c07decea2dab19 Mon Sep 17 00:00:00 2001 From: Gus Grubba Date: Wed, 19 Jul 2017 03:36:05 -0400 Subject: [PATCH] Error messages --- src/Camera/QGCCameraControl.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Camera/QGCCameraControl.cc b/src/Camera/QGCCameraControl.cc index 42ef6179c..14c418caf 100644 --- a/src/Camera/QGCCameraControl.cc +++ b/src/Camera/QGCCameraControl.cc @@ -407,6 +407,12 @@ QGCCameraControl::_mavCommandResult(int vehicleId, int component, int command, i _setVideoStatus(VIDEO_CAPTURE_STATUS_STOPPED); break; } + } else { + if(noReponseFromVehicle) { + qCDebug(CameraControlLog) << "No response for" << command; + } else { + qCDebug(CameraControlLog) << "Bad response for" << command; + } } } -- 2.22.0