1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-03-15 07:29:15 +01:00

fix remaining headers

This commit is contained in:
Kevin Finisterre 2014-06-07 23:04:12 -04:00
parent 0fa69ba789
commit 28246cccbe
5 changed files with 13 additions and 13 deletions

View File

@ -122,8 +122,8 @@ void ConnectionDiagram::setupGraphicsScene()
case VehicleConfigurationSource::FIXED_WING_AILERON: case VehicleConfigurationSource::FIXED_WING_AILERON:
elementsToShow << "aileron"; elementsToShow << "aileron";
break; break;
case VehicleConfigurationSource::FIXED_WING_VTAIL: case VehicleConfigurationSource::FIXED_WING_ELEVON:
elementsToShow << "vtail"; elementsToShow << "elevon";
break; break;
default: default:
break; break;

View File

@ -236,8 +236,8 @@ QString SetupWizard::getSummaryText()
case SetupWizard::FIXED_WING_AILERON: case SetupWizard::FIXED_WING_AILERON:
summary.append(tr("Aileron")); summary.append(tr("Aileron"));
break; break;
case SetupWizard::FIXED_WING_VTAIL: case SetupWizard::FIXED_WING_ELEVON:
summary.append(tr("Vtail")); summary.append(tr("Elevon"));
break; break;
default: default:
summary.append(tr("Unknown")); summary.append(tr("Unknown"));

View File

@ -221,8 +221,8 @@ void VehicleConfigurationHelper::applyVehicleConfiguration()
case VehicleConfigurationSource::FIXED_WING_AILERON: case VehicleConfigurationSource::FIXED_WING_AILERON:
setupAileron(); setupAileron();
break; break;
case VehicleConfigurationSource::FIXED_WING_VTAIL: case VehicleConfigurationSource::FIXED_WING_ELEVON:
setupVtail(); setupElevon();
break; break;
default: default:
break; break;
@ -1332,7 +1332,7 @@ void VehicleConfigurationHelper::setupOctoCopter()
applyMultiGUISettings(frame, guiSettings); applyMultiGUISettings(frame, guiSettings);
} }
void VehicleConfigurationHelper::setupVtail() void VehicleConfigurationHelper::setupElevon()
{ {
mixerChannelSettings channels[10]; mixerChannelSettings channels[10];
@ -1348,15 +1348,15 @@ void VehicleConfigurationHelper::setupVtail()
channels[1].type = MIXER_TYPE_SERVO; channels[1].type = MIXER_TYPE_SERVO;
channels[1].throttle1 = 0; channels[1].throttle1 = 0;
channels[1].throttle2 = 0; channels[1].throttle2 = 0;
channels[1].roll = -100; channels[1].roll = -127;
channels[1].pitch = 50; channels[1].pitch = 127;
channels[1].yaw = 0; channels[1].yaw = 0;
channels[2].type = MIXER_TYPE_SERVO; channels[2].type = MIXER_TYPE_SERVO;
channels[2].throttle1 = 0; channels[2].throttle1 = 0;
channels[2].throttle2 = 0; channels[2].throttle2 = 0;
channels[2].roll = 100; channels[2].roll = 127;
channels[2].pitch = -50; channels[2].pitch = -127;
channels[2].yaw = 0; channels[2].yaw = 0;
channels[3].type = MIXER_TYPE_SERVO; channels[3].type = MIXER_TYPE_SERVO;

View File

@ -103,7 +103,7 @@ private:
void setupQuadCopter(); void setupQuadCopter();
void setupHexaCopter(); void setupHexaCopter();
void setupOctoCopter(); void setupOctoCopter();
void setupVtail(); void setupElevon();
void setupAileron(); void setupAileron();
private slots: private slots:

View File

@ -60,7 +60,7 @@ public:
enum VEHICLE_SUB_TYPE { MULTI_ROTOR_UNKNOWN, MULTI_ROTOR_TRI_Y, MULTI_ROTOR_QUAD_X, MULTI_ROTOR_QUAD_PLUS, enum VEHICLE_SUB_TYPE { MULTI_ROTOR_UNKNOWN, MULTI_ROTOR_TRI_Y, MULTI_ROTOR_QUAD_X, MULTI_ROTOR_QUAD_PLUS,
MULTI_ROTOR_HEXA, MULTI_ROTOR_HEXA_H, MULTI_ROTOR_HEXA_COAX_Y, MULTI_ROTOR_OCTO, MULTI_ROTOR_HEXA, MULTI_ROTOR_HEXA_H, MULTI_ROTOR_HEXA_COAX_Y, MULTI_ROTOR_OCTO,
MULTI_ROTOR_OCTO_V, MULTI_ROTOR_OCTO_COAX_X, MULTI_ROTOR_OCTO_COAX_PLUS, FIXED_WING_AILERON, MULTI_ROTOR_OCTO_V, MULTI_ROTOR_OCTO_COAX_X, MULTI_ROTOR_OCTO_COAX_PLUS, FIXED_WING_AILERON,
FIXED_WING_VTAIL, HELI_CCPM }; FIXED_WING_ELEVON, HELI_CCPM };
enum ESC_TYPE { ESC_RAPID, ESC_LEGACY, ESC_UNKNOWN }; enum ESC_TYPE { ESC_RAPID, ESC_LEGACY, ESC_UNKNOWN };
enum INPUT_TYPE { INPUT_PWM, INPUT_PPM, INPUT_SBUS, INPUT_DSMX10, INPUT_DSMX11, INPUT_DSM2, INPUT_UNKNOWN }; enum INPUT_TYPE { INPUT_PWM, INPUT_PPM, INPUT_SBUS, INPUT_DSMX10, INPUT_DSMX11, INPUT_DSM2, INPUT_UNKNOWN };