FailSafeConfig.h 1.08 KB
Newer Older
1 2 3 4 5
#ifndef FAILSAFECONFIG_H
#define FAILSAFECONFIG_H

#include <QWidget>
#include "ui_FailSafeConfig.h"
6 7
#include "AP2ConfigWidget.h"
class FailSafeConfig : public AP2ConfigWidget
8 9 10 11 12 13
{
    Q_OBJECT
    
public:
    explicit FailSafeConfig(QWidget *parent = 0);
    ~FailSafeConfig();
14 15 16 17 18 19
private slots:
    void activeUASSet(UASInterface *uas);
    void remoteControlChannelRawChanges(int chan,float value);
    void hilActuatorsChanged(uint64_t time, float act1, float act2, float act3, float act4, float act5, float act6, float act7, float act8);
    void armingChanged(bool armed);
    void parameterChanged(int uas, int component, QString parameterName, QVariant value);
20 21 22 23 24 25 26 27
    void batteryFailChecked(bool checked);
    void fsLongClicked(bool checked);
    void fsShortClicked(bool checked);
    void gcsChecked(bool checked);
    void throttleActionChecked(bool checked);
    void throttleChecked(bool checked);
    void throttlePwmChanged();
    void throttleFailSafeChanged(int index);
28
    void gpsStatusChanged(UASInterface* uas,int fixtype);
29 30 31 32 33
private:
    Ui::FailSafeConfig ui;
};

#endif // FAILSAFECONFIG_H