mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 08:36:33 +00:00
Changed directory structure and renamed applications
- autopilot -> drone_controller - rtsp_ai_player -> ai_controller - added top level qmake project file - updated documentation - moved small demo applications from tmp/ to misc/
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <QObject>
|
||||
#include <QUdpSocket>
|
||||
|
||||
|
||||
#define SERVER_IP "192.168.0.25"
|
||||
#define SERVER_PORT 37260
|
||||
#define RECV_BUF_SIZE 1024
|
||||
|
||||
|
||||
class AiEngineGimbalServerUDP : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit AiEngineGimbalServerUDP(QObject *parent = nullptr);
|
||||
|
||||
public:
|
||||
~AiEngineGimbalServerUDP();
|
||||
|
||||
public slots:
|
||||
void sendCommand(const QByteArray &command);
|
||||
QByteArray readResponse();
|
||||
|
||||
private:
|
||||
QUdpSocket *mUdpSocket;
|
||||
};
|
||||
Reference in New Issue
Block a user