29 #ifndef VEHICLECONFIGURATIONHELPER_H
30 #define VEHICLECONFIGURATIONHELPER_H
36 #include <actuatorsettings.h>
37 #include <systemsettings.h>
101 void saveProgress(
int total,
int current, QString description);
104 static const int MIXER_TYPE_DISABLED = 0;
105 static const int MIXER_TYPE_MOTOR = 1;
106 static const int MIXER_TYPE_SERVO = 2;
107 static const float DEFAULT_ENABLED_ACCEL_TAU;
113 void addModifiedObject(
UAVDataObject *
object, QString description);
114 void clearModifiedObjects();
116 void applyHardwareConfiguration();
117 void applyVehicleConfiguration();
118 void applyActuatorConfiguration();
119 void applyFlighModeConfiguration();
120 void applySensorBiasConfiguration();
121 void applyStabilizationConfiguration();
122 void applyManualControlDefaults();
127 void applyMultiGUISettings(SystemSettings::AirframeTypeOptions airframe,
130 bool saveChangesToController(
bool save);
131 QEventLoop m_eventLoop;
132 bool m_transactionOK;
133 bool m_transactionTimeout;
134 int m_currentTransactionObjectID;
137 void resetVehicleConfig();
140 void setupTriCopter();
141 void setupQuadCopter();
142 void setupHexaCopter();
143 void setupOctoCopter();
146 void uavoTransactionCompleted(
UAVObject *
object,
bool success);
147 void uavoTransactionCompleted(
int oid,
bool success);
148 void saveChangesTimeout();
151 #endif // VEHICLECONFIGURATIONHELPER_H
VehicleConfigurationHelper(VehicleConfigurationSource *configSource)
bool setupVehicle(bool save=true)
mixerChannelSettings(int t, int th1, int th2, int r, int p, int y)
void saveProgress(int total, int current, QString description)
bool setupHardwareSettings(bool save=true)
The VehicleConfigurationHelper class provides an interface between the settings selected in the wizar...
save(matfile $(SAVEOBJECTSCODE))