From 7f59c693e82a703a1566579ba658e81b20da0ae0 Mon Sep 17 00:00:00 2001 From: Bryan Godbolt Date: Thu, 6 Jan 2011 11:51:21 -0700 Subject: [PATCH] fixed directions on airfoil calibrator --- settings/ParameterList.xml | 454 +++++++++--------- .../AirfoilServoCalibrator.cc | 14 +- 2 files changed, 233 insertions(+), 235 deletions(-) diff --git a/settings/ParameterList.xml b/settings/ParameterList.xml index ac386300a..445f4d5a7 100644 --- a/settings/ParameterList.xml +++ b/settings/ParameterList.xml @@ -1,227 +1,227 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/ui/RadioCalibration/AirfoilServoCalibrator.cc b/src/ui/RadioCalibration/AirfoilServoCalibrator.cc index 99f134cc8..87e9616f5 100644 --- a/src/ui/RadioCalibration/AirfoilServoCalibrator.cc +++ b/src/ui/RadioCalibration/AirfoilServoCalibrator.cc @@ -39,21 +39,21 @@ AirfoilServoCalibrator::AirfoilServoCalibrator(AirfoilType type, QWidget *parent QLabel *lowPulseString; if (type == AILERON) { - highPulseString = new QLabel(tr("Bank Left")); + highPulseString = new QLabel(tr("Bank Right")); centerPulseString = new QLabel(tr("Center")); - lowPulseString = new QLabel(tr("Bank Right")); + lowPulseString = new QLabel(tr("Bank Left")); } else if (type == ELEVATOR) { - highPulseString = new QLabel(tr("Nose Down")); + highPulseString = new QLabel(tr("Nose Up")); centerPulseString = new QLabel(tr("Center")); - lowPulseString = new QLabel(tr("Nose Up")); + lowPulseString = new QLabel(tr("Nose Down")); } else if (type == RUDDER) { - highPulseString = new QLabel(tr("Nose Left")); + highPulseString = new QLabel(tr("Nose Right")); centerPulseString = new QLabel(tr("Center")); - lowPulseString = new QLabel(tr("Nose Right")); + lowPulseString = new QLabel(tr("Nose Left")); } else { @@ -86,8 +86,6 @@ AirfoilServoCalibrator::AirfoilServoCalibrator(AirfoilType type, QWidget *parent connect(lowButton, SIGNAL(clicked()), this, SLOT(setLow())); } - - void AirfoilServoCalibrator::setHigh() { highPulseWidth->setText(QString::number(static_cast(logExtrema()))); -- 2.22.0