CompassConfig.h 613 Bytes
Newer Older
1 2 3 4 5
#ifndef COMPASSCONFIG_H
#define COMPASSCONFIG_H

#include <QWidget>
#include "ui_CompassConfig.h"
6 7
#include "UASManager.h"
#include "UASInterface.h"
8 9
#include "AP2ConfigWidget.h"
class CompassConfig : public AP2ConfigWidget
10 11 12 13 14 15
{
    Q_OBJECT
    
public:
    explicit CompassConfig(QWidget *parent = 0);
    ~CompassConfig();
16 17 18 19 20
private slots:
    void parameterChanged(int uas, int component, QString parameterName, QVariant value);
    void enableClicked(bool enabled);
    void autoDecClicked(bool enabled);
    void orientationComboChanged(int index);
21 22 23 24 25
private:
    Ui::CompassConfig ui;
};

#endif // COMPASSCONFIG_H