diff --git a/ground/gcs/src/plugins/config/autotune.ui b/ground/gcs/src/plugins/config/autotune.ui index 973218646..8a7a01adf 100644 --- a/ground/gcs/src/plugins/config/autotune.ui +++ b/ground/gcs/src/plugins/config/autotune.ui @@ -66,7 +66,7 @@ - + Qt::Vertical @@ -82,7 +82,7 @@ - + @@ -965,110 +965,7 @@ - - - - - 0 - 0 - - - - Module Control - - - - - - 0 - - - QLayout::SetDefaultConstraint - - - 0 - - - - - - 900 - 16777215 - - - - Qt::StrongFocus - - - Allow AutoTune module to be started all time, without any AutoTune set in one FlightMode. - - - Enable AutoTune module - - - - - - - - 0 - 0 - - - - After enabling the module, you must power cycle before using and configuring. - - - true - - - - - - - - - true - - - - 0 - 0 - - - - - 200 - 30 - - - - - 200 - 200 - - - - - - - border: 1px solid grey; -border-radius: 5; -margin:1px; -font:bold; - - - Stopped - - - Qt::AlignCenter - - - - - - - + true @@ -1649,7 +1546,7 @@ font:bold; - + @@ -2090,6 +1987,130 @@ font:bold; + + + + 6 + + + 0 + + + + + + 0 + 0 + + + + Module Control + + + + 0 + + + 9 + + + + + + 900 + 16777215 + + + + Qt::StrongFocus + + + Allow AutoTune module to be started all time, without any AutoTune set in one FlightMode. + + + Enable AutoTune module + + + + + + + + 0 + 0 + + + + After enabling the module, you must power cycle before using and configuring. + + + true + + + + + + + + + + + 0 + 0 + + + + Module Status + + + + 9 + + + + + true + + + + 0 + 0 + + + + + 200 + 30 + + + + + 200 + 200 + + + + + + + border: 1px solid grey; +border-radius: 5; +margin:1px; +font:bold; + + + Stopped + + + Qt::AlignCenter + + + + + + + + diff --git a/ground/gcs/src/plugins/config/configautotunewidget.cpp b/ground/gcs/src/plugins/config/configautotunewidget.cpp index a08c3b86d..0bb8c9daf 100644 --- a/ground/gcs/src/plugins/config/configautotunewidget.cpp +++ b/ground/gcs/src/plugins/config/configautotunewidget.cpp @@ -80,7 +80,7 @@ void ConfigAutoTuneWidget::refreshWidgetsValuesImpl(UAVObject *obj) TaskInfo *taskInfo = TaskInfo::GetInstance(getObjectManager()); bool moduleEnabled = (hwSettings->getOptionalModules(HwSettings::OPTIONALMODULES_AUTOTUNE) == HwSettings::OPTIONALMODULES_ENABLED); - bool moduleRunning = (taskInfo->runningAutoTune() == true); + bool moduleRunning = (taskInfo->runningAutoTune() == TaskInfo_Running::True); if (obj == systemIdentStateObj) { m_autotune->stateComplete->setText((systemIdentStateObj->getComplete() == SystemIdentState::COMPLETE_TRUE) ? tr("True") : tr("False"));