Files
autopilot/misc/rtsp_ai_player/aienginegimbalserverudpresponse.h
T
Nffj84 a3d9137b77 Changed serial connection to UDP connection.
Added ZR10 support.
Added automation to choose configuration.
2024-10-14 21:18:27 +03:00

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);
};