From 5db16aec234af48dc193dd37768b18379b3fa8a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Wed, 14 Dec 2016 18:30:46 +0100 Subject: [PATCH] MAVLinkLogManager: disable automatic start of log streaming It's not desired to have automatic log streaming for several reasons: - There's already SD logging (which is the case for the majority of the users) - The link does not provide the necessary bandwidth (eg. wireless telemetry) --- src/Vehicle/MAVLinkLogManager.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Vehicle/MAVLinkLogManager.cc b/src/Vehicle/MAVLinkLogManager.cc index 11effa34c..94e9b3467 100644 --- a/src/Vehicle/MAVLinkLogManager.cc +++ b/src/Vehicle/MAVLinkLogManager.cc @@ -298,7 +298,7 @@ MAVLinkLogProcessor::processStreamData(uint16_t sequence, uint8_t first_message, MAVLinkLogManager::MAVLinkLogManager(QGCApplication* app) : QGCTool(app) , _enableAutoUpload(true) - , _enableAutoStart(true) + , _enableAutoStart(false) , _nam(NULL) , _currentLogfile(NULL) , _vehicle(NULL) @@ -317,7 +317,7 @@ MAVLinkLogManager::MAVLinkLogManager(QGCApplication* app) setUploadURL(settings.value(kPx4URLKey, QString(kDefaultPx4URL)).toString()); setVideoURL(settings.value(kVideoURLKey, QString()).toString()); setEnableAutoUpload(settings.value(kEnableAutoUploadKey, true).toBool()); - setEnableAutoStart(settings.value(kEnableAutoStartKey, true).toBool()); + setEnableAutoStart(settings.value(kEnableAutoStartKey, false).toBool()); setDeleteAfterUpload(settings.value(kEnableDeletetKey, false).toBool()); setWindSpeed(settings.value(kWindSpeedKey, -1).toInt()); setRating(settings.value(kRateKey, "notset").toString()); -- 2.22.0