From e2089acc0e4196aebc60c47b2c8d0c0b599d5d24 Mon Sep 17 00:00:00 2001 From: Anton Babushkin Date: Thu, 7 Nov 2013 20:09:59 +0400 Subject: [PATCH] Use onboard remaining battery estimate by default --- src/uas/UAS.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uas/UAS.cc b/src/uas/UAS.cc index e50e1dc76..45a25b4fb 100644 --- a/src/uas/UAS.cc +++ b/src/uas/UAS.cc @@ -85,7 +85,7 @@ UAS::UAS(MAVLinkProtocol* protocol, int id) : UASInterface(), currentVoltage(12.6f), lpVoltage(12.0f), currentCurrent(0.4f), - batteryRemainingEstimateEnabled(true), + batteryRemainingEstimateEnabled(false), // chargeLevel not initialized // timeRemaining not initialized lowBattAlarm(false), @@ -211,7 +211,7 @@ UAS::UAS(MAVLinkProtocol* protocol, int id) : UASInterface(), actions.append(newAction); color = UASInterface::getNextColor(); - setBatterySpecs(QString("9V,9.5V,12.6V")); + setBatterySpecs(QString("")); connect(statusTimeout, SIGNAL(timeout()), this, SLOT(updateState())); connect(this, SIGNAL(systemSpecsChanged(int)), this, SLOT(writeSettings())); statusTimeout->start(500); -- 2.22.0