PxQuadMAV.h 793 Bytes
Newer Older
1 2 3 4 5 6 7
#ifndef PXQUADMAV_H
#define PXQUADMAV_H

#include "UAS.h"

class PxQuadMAV : public UAS
{
8
    Q_OBJECT
9 10
public:
    PxQuadMAV(MAVLinkProtocol* mavlink, int id);
11 12 13
public slots:
    /** @brief Receive a MAVLink message from this MAV */
    void receiveMessage(LinkInterface* link, mavlink_message_t message);
14 15
    /** @brief Send a command to an onboard process */
    void sendProcessCommand(int watchdogId, int processId, unsigned int command);
16
signals:
pixhawk's avatar
pixhawk committed
17
    void watchdogReceived(int systemId, int watchdogId, unsigned int processCount);
18 19
    void processReceived(int systemId, int watchdogId, int processId, QString name, QString arguments, int timeout);
    void processChanged(int systemId, int watchdogId, int processId, int state, bool muted, int crashed, int pid);
20 21 22
};

#endif // PXQUADMAV_H