mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-19 04:52:12 +01:00
Add for other airframe types
This commit is contained in:
parent
b1a7f959b5
commit
ce64aa2ca7
@ -160,20 +160,10 @@ int SetupWizard::nextId() const
|
||||
// case PAGE_REVO_CALIBRATION:
|
||||
// return PAGE_OUTPUT_CALIBRATION;
|
||||
case PAGE_OUTPUT_CALIBRATION:
|
||||
{
|
||||
switch (getVehicleType()) {
|
||||
case VEHICLE_FIXEDWING:
|
||||
return PAGE_AIRFRAME_INITIAL_TUNING;
|
||||
|
||||
// TODO: PID selection pages for multi and heli
|
||||
case VEHICLE_MULTI:
|
||||
case VEHICLE_HELI:
|
||||
case VEHICLE_SURFACE:
|
||||
case VEHICLE_UNKNOWN:
|
||||
return PAGE_SAVE;
|
||||
}
|
||||
}
|
||||
return PAGE_AIRFRAME_INITIAL_TUNING;
|
||||
|
||||
case PAGE_AIRFRAME_INITIAL_TUNING:
|
||||
return PAGE_SAVE;
|
||||
|
||||
case PAGE_GPS:
|
||||
switch (getVehicleType()) {
|
||||
@ -186,9 +176,6 @@ int SetupWizard::nextId() const
|
||||
case PAGE_AIRSPEED:
|
||||
return PAGE_SUMMARY;
|
||||
|
||||
case PAGE_AIRFRAME_INITIAL_TUNING:
|
||||
return PAGE_SAVE;
|
||||
|
||||
case PAGE_SUMMARY:
|
||||
{
|
||||
switch (getControllerType()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user