添加指令界面可以修改参数
This commit is contained in:
@@ -80,7 +80,7 @@ public slots:
|
||||
//读取和写入指令
|
||||
void ReadCmd(uint8_t m_sysid, uint8_t m_compid, uint8_t type);
|
||||
void WriteCmd(uint8_t m_sysid, uint8_t m_compid , const char *id, uint8_t type, float value);
|
||||
|
||||
void WriteCmd2(uint8_t m_sysid, uint8_t m_compid ,QVariant id,QVariant type,QVariant value);
|
||||
|
||||
|
||||
//线程对外接口
|
||||
@@ -94,6 +94,17 @@ public slots:
|
||||
|
||||
void Parse(mavlink_message_t msg);
|
||||
|
||||
|
||||
|
||||
QVariant setvalue(mavlink_param_value_t param);
|
||||
float getvalue(QVariant param,uint8_t type);
|
||||
|
||||
QVariant settype(mavlink_param_value_t param);
|
||||
uint8_t gettype(QVariant type);
|
||||
|
||||
QString setid(char *id);
|
||||
char * getid(QString id);
|
||||
|
||||
private slots:
|
||||
//线程私有接口
|
||||
void SendMessage(mavlink_message_t msg);
|
||||
|
||||
Reference in New Issue
Block a user