#ifndef AIRFOILSERVOCALIBRATOR_H #define AIRFOILSERVOCALIBRATOR_H #include #include #include #include #include #include #include "AbstractCalibrator.h" class AirfoilServoCalibrator : public AbstractCalibrator { Q_OBJECT public: enum AirfoilType { AILERON, ELEVATOR, RUDDER }; explicit AirfoilServoCalibrator(AirfoilType type = AILERON, QWidget *parent = 0); signals: void highSetpointChanged(float); void centerSetpointChanged(float); void lowSetpointChanged(float); protected slots: void setHigh(); void setCenter(); void setLow(); protected: QLabel *highPulseWidth; QLabel *centerPulseWidth; QLabel *lowPulseWidth; float high; float center; float low; }; #endif // AIRFOILSERVOCALIBRATOR_H