添加遥控器功能
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include "sbusparser.h"
|
||||
//#include "QAxObject"
|
||||
|
||||
#include "rcprocess.h"
|
||||
|
||||
#ifdef QtMavlinkNode
|
||||
#include <mavlinknodeglobal.h>
|
||||
@@ -83,7 +84,7 @@ public:
|
||||
commandprocess *Commander = nullptr;
|
||||
statusprocess *Status = nullptr;
|
||||
terminal *Terminal = nullptr;
|
||||
|
||||
rcprocess *RC = nullptr;
|
||||
|
||||
bool isCommunicationLost = false;
|
||||
|
||||
@@ -106,11 +107,7 @@ public:
|
||||
|
||||
float rssi = 100;
|
||||
|
||||
uint16_t rcin[20];
|
||||
int rcin_cnt = 0;
|
||||
bool rcin_update = true;
|
||||
|
||||
bool remote_enabled;
|
||||
|
||||
QByteArray rtkrawdata;
|
||||
|
||||
@@ -178,7 +175,7 @@ signals:
|
||||
void signal_servo_output_raw(mavlink_servo_output_raw_t *servo);
|
||||
|
||||
|
||||
void new_remote_ctrl(QList<uint16_t>);
|
||||
|
||||
|
||||
void updateDlink(float rssi,uint64_t in,uint64_t out);
|
||||
void CommuniationLost(bool);
|
||||
@@ -279,7 +276,7 @@ protected:
|
||||
|
||||
QThread *Parameterthread;
|
||||
|
||||
SBusParser sbus;
|
||||
|
||||
|
||||
QTimer *gdt_timer = nullptr;
|
||||
QTimer *timer = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user