Commit 7f59c693 authored by Bryan Godbolt's avatar Bryan Godbolt

fixed directions on airfoil calibrator

parent d2557030
This diff is collapsed.
......@@ -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<double>(logExtrema())));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment