From 1792991012b6fd0f257508d18ca50db24211db1d Mon Sep 17 00:00:00 2001 From: Laurent Lalanne Date: Fri, 20 Feb 2015 12:16:59 +0100 Subject: [PATCH] OP-1734 Display min/max servo values --- .../src/plugins/setupwizard/pages/outputcalibrationpage.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ground/openpilotgcs/src/plugins/setupwizard/pages/outputcalibrationpage.cpp b/ground/openpilotgcs/src/plugins/setupwizard/pages/outputcalibrationpage.cpp index e90084cec..6ddfdbd6e 100644 --- a/ground/openpilotgcs/src/plugins/setupwizard/pages/outputcalibrationpage.cpp +++ b/ground/openpilotgcs/src/plugins/setupwizard/pages/outputcalibrationpage.cpp @@ -662,6 +662,7 @@ void OutputCalibrationPage::on_servoMinAngleSlider_valueChanged(int position) quint16 value = ui->servoMinAngleSlider->value(); m_calibrationUtil->setChannelOutputValue(value); m_actuatorSettings[getCurrentChannel()].channelMin = value; + ui->servoPWMValue->setText(tr("Output value : %1 µs (Min)").arg(value)); // Adjust neutral and max if (ui->reverseCheckbox->isChecked()) { @@ -688,6 +689,7 @@ void OutputCalibrationPage::on_servoMaxAngleSlider_valueChanged(int position) quint16 value = ui->servoMaxAngleSlider->value(); m_calibrationUtil->setChannelOutputValue(value); m_actuatorSettings[getCurrentChannel()].channelMax = value; + ui->servoPWMValue->setText(tr("Output value : %1 µs (Max)").arg(value)); // Adjust neutral and min if (ui->reverseCheckbox->isChecked()) {