添加多机显示
This commit is contained in:
@@ -77,6 +77,9 @@ public:
|
||||
|
||||
|
||||
signals:
|
||||
|
||||
void addVehicles(int sysid,int compid);
|
||||
|
||||
void SendMessageTo(quint8 ch, quint8 *data,quint16 len);
|
||||
void recievemsg(mavlink_message_t msg);
|
||||
|
||||
@@ -110,6 +113,10 @@ private slots:
|
||||
void CommandParse(mavlink_message_t msg);
|
||||
//
|
||||
|
||||
//check for new vehicle
|
||||
void CheckVehicle(int sysid, int compid);
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
enum SourceType{
|
||||
@@ -118,7 +125,7 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
uint8_t GCS_System_ID;
|
||||
uint8_t GCS_System_ID;
|
||||
|
||||
bool running_flag = false;
|
||||
quint32 running_frq = 200;//200Hz
|
||||
@@ -129,6 +136,10 @@ protected:
|
||||
QThread *Parameterthread;
|
||||
|
||||
|
||||
QHash<int,int> vehicleList;
|
||||
|
||||
|
||||
|
||||
_buffdef serial_buff;
|
||||
_buffdef client_buff;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user