mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 19:26:34 +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,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QUdpSocket>
|
||||
#include <QJsonDocument>
|
||||
|
||||
class UdpServer : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit UdpServer(int portNumber, QObject *parent = nullptr);
|
||||
|
||||
private slots:
|
||||
void readPendingDatagrams();
|
||||
|
||||
private:
|
||||
QUdpSocket *mUdpSocket;
|
||||
|
||||
signals:
|
||||
void newJsonDocument(QJsonDocument);
|
||||
};
|
||||
Reference in New Issue
Block a user