PxQuadMAV.h 784 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 17 18 19
signals:
    void watchdogReceived(int systemId, int watchdogId, int processCount);
    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