AccelCalibrationConfig.h 713 Bytes
Newer Older
1 2 3 4 5
#ifndef ACCELCALIBRATIONCONFIG_H
#define ACCELCALIBRATIONCONFIG_H

#include <QWidget>
#include "ui_AccelCalibrationConfig.h"
6 7
#include "UASManager.h"
#include "UASInterface.h"
8 9 10
#include "AP2ConfigWidget.h"

class AccelCalibrationConfig : public AP2ConfigWidget
11 12 13 14 15 16
{
    Q_OBJECT
    
public:
    explicit AccelCalibrationConfig(QWidget *parent = 0);
    ~AccelCalibrationConfig();
17 18
protected:
    void hideEvent(QHideEvent *evt);
19 20 21 22
private slots:
    void activeUASSet(UASInterface *uas);
    void calibrateButtonClicked();
    void uasTextMessageReceived(int uasid, int componentid, int severity, QString text);
23
private:
24
    int m_accelAckCount;
25 26 27 28
    Ui::AccelCalibrationConfig ui;
};

#endif // ACCELCALIBRATIONCONFIG_H