Skip to content
senseSoarMAV.h 668 B
Newer Older
oberion's avatar
oberion committed
#ifndef _SENSESOARMAV_H_
#define _SENSESOARMAV_H_



#include "UAS.h"
#include "../../mavlink/include/mavlink/v1.0/common/mavlink.h"
oberion's avatar
oberion committed
#include <QTimer>


class senseSoarMAV : public UAS
{
	Q_OBJECT
	Q_INTERFACES(UASInterface)

public:
	senseSoarMAV(MAVLinkProtocol* mavlink, int id);
	~senseSoarMAV(void);
public slots:
    /** @brief Receive a MAVLink message from this MAV */
    void receiveMessage(LinkInterface* link, mavlink_message_t message);
protected:
	float m_rotVel[3]; // Rotational velocity in the body frame
oberion's avatar
oberion committed
	uint8_t senseSoarState;
oberion's avatar
oberion committed
private:
	void quat2euler(const double *quat, double &roll, double &pitch, double &yaw); 
};