Set Vtail mix to use 50% elevator and rudder, to avoid clipping and make the mix more beginner-friendly.
Reversed some servo travels. Positive channel values are now supposed to consistently move control surfaces upward, while negative are supposed to move them downward.
This commit is contained in:
Kjell Kernen
2014-05-19 11:15:11 +02:00
parent aaa313be76
commit ca9d1e47ff
+3 -3
View File
@@ -571,7 +571,7 @@ bool BankPage::validatePage() {
return (bookChannel(elevon1CB, AILERONS_INPUT, 100, ELEVATOR_INPUT, 100 ));
}
return( bookChannel(elevon1CB, AILERONS_INPUT, 100, ELEVATOR_INPUT, 100 ) &&
bookChannel(elevon2CB, AILERONS_INPUT, 100, ELEVATOR_INPUT, 100 ));
bookChannel(elevon2CB, AILERONS_INPUT, -100, ELEVATOR_INPUT, 100 ));
}
void BankPage::oneElevonChannel(){ elevon2CB->setEnabled(false);}
@@ -633,8 +633,8 @@ void VTailPage::initializePage(){
bool VTailPage::validatePage() {
releaseBookings();
return (bookChannel(tail1CB, ELEVATOR_INPUT, 100, RUDDER_INPUT, 100) &&
bookChannel(tail2CB, ELEVATOR_INPUT, 100, RUDDER_INPUT, 100 ));
return (bookChannel(tail1CB, ELEVATOR_INPUT, 50, RUDDER_INPUT, 50) &&
bookChannel(tail2CB, ELEVATOR_INPUT, 50, RUDDER_INPUT, -50 ));
}
TailPage::TailPage(WizardDialog *dlg, QString image, QString title, QString text, int nextPage)