Skip to content
QGCMapWidget.h 778 B
Newer Older
lm's avatar
lm committed
#ifndef QGCMAPWIDGET_H
#define QGCMAPWIDGET_H

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

lm's avatar
lm committed
class UASInterface;

lm's avatar
lm committed
class QGCMapWidget : public mapcontrol::OPMapWidget
lm's avatar
lm committed
{
    Q_OBJECT
public:
    explicit QGCMapWidget(QWidget *parent = 0);
lm's avatar
lm committed
    ~QGCMapWidget();
lm's avatar
lm committed

signals:

public slots:
lm's avatar
lm committed
    void addUAS(UASInterface* uas);
    void updateGlobalPosition(UASInterface* uas, double lat, double lon, double alt, quint64 usec);
    /** @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

};

#endif // QGCMAPWIDGET_H