CameraGimbalConfig.h 778 Bytes
Newer Older
1 2 3 4
#ifndef CAMERAGIMBALCONFIG_H
#define CAMERAGIMBALCONFIG_H

#include <QWidget>
5
#include "AP2ConfigWidget.h"
6 7
#include "ui_CameraGimbalConfig.h"

8
class CameraGimbalConfig : public AP2ConfigWidget
9 10 11 12 13 14
{
    Q_OBJECT
    
public:
    explicit CameraGimbalConfig(QWidget *parent = 0);
    ~CameraGimbalConfig();
15 16 17 18 19 20
private slots:
    void parameterChanged(int uas, int component, QString parameterName, QVariant value);
    void updateTilt();
    void updateRoll();
    void updatePan();
    void updateShutter();
21 22 23
    void updateRetractAngles();
    void updateNeutralAngles();
    void updateControlAngles();
24 25
private:
    Ui::CameraGimbalConfig ui;
26 27 28 29
    QString m_shutterPrefix;
    QString m_rollPrefix;
    QString m_tiltPrefix;
    QString m_panPrefix;
30 31 32
};

#endif // CAMERAGIMBALCONFIG_H