ArduPlanePidConfig.h 596 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifndef ARDUPLANEPIDCONFIG_H
#define ARDUPLANEPIDCONFIG_H

#include <QWidget>
#include "ui_ArduPlanePidConfig.h"
#include "AP2ConfigWidget.h"

class ArduPlanePidConfig : public AP2ConfigWidget
{
    Q_OBJECT
    
public:
    explicit ArduPlanePidConfig(QWidget *parent = 0);
    ~ArduPlanePidConfig();
private slots:
    void parameterChanged(int uas, int component, QString parameterName, QVariant value);
17 18
    void writeButtonClicked();
    void refreshButtonClicked();
19
private:
20
    QMap<QString,QDoubleSpinBox*> m_nameToBoxMap;
21 22 23 24
    Ui::ArduPlanePidConfig ui;
};

#endif // ARDUPLANEPIDCONFIG_H