QGXPX4UAS.h 548 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#ifndef QGXPX4UAS_H
#define QGXPX4UAS_H

#include "UAS.h"

class QGXPX4UAS : public UAS
{
    Q_OBJECT
    Q_INTERFACES(UASInterface)
public:
    QGXPX4UAS(MAVLinkProtocol* mavlink, QThread* thread, int id);

public slots:
    /** @brief Receive a MAVLink message from this MAV */
    void receiveMessage(LinkInterface* link, mavlink_message_t message);

    virtual void processParamValueMsgHook(mavlink_message_t& msg, const QString& paramName,const mavlink_param_value_t& rawValue, mavlink_param_union_t& paramValue);

};

#endif // QGXPX4UAS_H