52 explicit SetupWizard(
bool autoLaunched =
false, QWidget *parent =
nullptr);
78 m_calibrationBias = bias;
79 m_calibrationPerformed =
true;
86 m_actuatorSettings = actuatorSettings;
110 if (!m_connectionManager) {
112 Q_ASSERT(m_connectionManager);
114 return m_connectionManager;
121 void customBackClicked();
122 void pageChanged(
int currId);
123 void boardIgnorePrompt();
135 PAGE_INPUT_NOT_SUPPORTED,
137 PAGE_BIAS_CALIBRATION,
138 PAGE_OUTPUT_CALIBRATION,
141 PAGE_NOTYETIMPLEMENTED,
142 PAGE_BOARDTYPE_UNKNOWN,
147 bool saveHardwareSettings()
const;
148 bool canAutoUpdate()
const;
159 bool m_calibrationPerformed;
162 bool m_motorCalibrationPerformed;
165 bool m_restartNeeded;
172 #endif // SETUPWIZARD_H
The SetupWizard class is the main interface to the setup wizard. It provides selects the sequence of ...
InputType
Types of input to configure for the default port.
SetupWizard::ESC_TYPE getESCType() const
SetupWizard::VEHICLE_TYPE getVehicleType() const
SetupWizard::RADIO_SETTING getRadioSetting() const
void setInputType(Core::IBoardType::InputType type)
void setRestartNeeded(bool needed)
void boardIgnored(QByteArray uuid)
virtual ConnectionManager * connectionManager() const =0
void setGPSSetting(SetupWizard::GPS_SETTING setting)
SetupWizard(bool autoLaunched=false, QWidget *parent=nullptr)
bool isRestartNeeded() const
void setVehicleType(SetupWizard::VEHICLE_TYPE type)
void setLevellingBias(accelGyroBias bias)
void setVehicleSubType(SetupWizard::VEHICLE_SUB_TYPE type)
void setActuatorSettings(QList< actuatorChannelSettings > actuatorSettings)
Core::ConnectionManager * getConnectionManager()
Core::IBoardType * getControllerType() const
bool isMotorCalibrationPerformed() const
static ICore * instance()
SetupWizard::GPS_SETTING getGPSSetting() const
QList< actuatorChannelSettings > getActuatorSettings() const
SetupWizard::VEHICLE_SUB_TYPE getVehicleSubType() const
void setControllerType(Core::IBoardType *type)
void setRadioSetting(SetupWizard::RADIO_SETTING setting)
bool isCalibrationPerformed() const
Core::IBoardType::InputType getInputType() const
void setESCType(SetupWizard::ESC_TYPE type)
accelGyroBias getCalibrationBias() const