mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 22:36:34 +00:00
45c19baa45
- autopilot -> drone_controller - rtsp_ai_player -> ai_controller - added top level qmake project file - updated documentation - moved small demo applications from tmp/ to misc/
25 lines
525 B
C++
25 lines
525 B
C++
/**
|
|
* This is a serial response class for Siyi Gimbal Cameras.
|
|
* Other cameras might need their own serial response class.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <QString>
|
|
#include <QByteArray>
|
|
#include <QObject>
|
|
|
|
|
|
enum MESSAGE_IDX { STX = 0, CTRL = 2, Data_len = 3, SEQ = 5, CMD_ID = 7, DATA = 8 };
|
|
|
|
|
|
class AiEngineGimbalServerUDPResponse : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit AiEngineGimbalServerUDPResponse(QObject *parent = nullptr);
|
|
|
|
public:
|
|
QHash<QString, QVariant> getResponceValues(QByteArray response);
|
|
};
|