QGCMapWidget.h 778 Bytes
Newer Older
lm's avatar
lm committed
1 2 3
#ifndef QGCMAPWIDGET_H
#define QGCMAPWIDGET_H

lm's avatar
lm committed
4 5
#include "opmapcontrol.h"

lm's avatar
lm committed
6 7
class UASInterface;

lm's avatar
lm committed
8
class QGCMapWidget : public mapcontrol::OPMapWidget
lm's avatar
lm committed
9 10 11 12
{
    Q_OBJECT
public:
    explicit QGCMapWidget(QWidget *parent = 0);
lm's avatar
lm committed
13
    ~QGCMapWidget();
lm's avatar
lm committed
14 15 16 17

signals:

public slots:
lm's avatar
lm committed
18 19
    void addUAS(UASInterface* uas);
    void updateGlobalPosition(UASInterface* uas, double lat, double lon, double alt, quint64 usec);
20 21 22 23 24 25 26 27
    /** @brief Update the type, size, etc. of this system */
    void updateSystemSpecs(int uas);
    /** @brief Update the whole system state */
    void updateSelectedSystem(int uas);

protected:
    /** @brief Update the attitude of this system */
    void updateAttitude(UASInterface* uas, double roll, double pitch, double yaw, quint64 usec);
lm's avatar
lm committed
28 29 30 31

};

#endif // QGCMAPWIDGET_H