完善状态界面
This commit is contained in:
Binary file not shown.
+6
-6
@@ -813,14 +813,14 @@
|
||||
<location filename="Setting/Index0/LinkUI/ConnectDialog/ConnectDialog.cpp" line="121"/>
|
||||
<location filename="Setting/Index0/LinkUI/ConnectDialog/ConnectDialog.cpp" line="347"/>
|
||||
<source>115200</source>
|
||||
<translation>115200</translation>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="Setting/Index0/LinkUI/ConnectDialog/ConnectDialog.cpp" line="122"/>
|
||||
<location filename="Setting/Index0/LinkUI/ConnectDialog/ConnectDialog.cpp" line="348"/>
|
||||
<location filename="Setting/Index0/LinkUI/ConnectDialog/ConnectDialog.cpp" line="478"/>
|
||||
<source>8</source>
|
||||
<translation>8</translation>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="Setting/Index0/LinkUI/ConnectDialog/ConnectDialog.cpp" line="123"/>
|
||||
@@ -835,7 +835,7 @@
|
||||
<location filename="Setting/Index0/LinkUI/ConnectDialog/ConnectDialog.cpp" line="124"/>
|
||||
<location filename="Setting/Index0/LinkUI/ConnectDialog/ConnectDialog.cpp" line="350"/>
|
||||
<source>1</source>
|
||||
<translation>1</translation>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>User Name</source>
|
||||
@@ -894,13 +894,13 @@
|
||||
<location filename="Setting/Index0/LinkUI/ConnectDialog/ConnectDialog.cpp" line="359"/>
|
||||
<source>127.0.0.1</source>
|
||||
<oldsource>192.168.0.1</oldsource>
|
||||
<translation type="unfinished">192.168.0.1</translation>
|
||||
<translation type="unfinished">127.0.0.1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="Setting/Index0/LinkUI/ConnectDialog/ConnectDialog.cpp" line="133"/>
|
||||
<location filename="Setting/Index0/LinkUI/ConnectDialog/ConnectDialog.cpp" line="360"/>
|
||||
<source>6061</source>
|
||||
<translation>6061</translation>
|
||||
<translation type="unfinished">6061</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="Setting/Index0/LinkUI/ConnectDialog/ConnectDialog.cpp" line="189"/>
|
||||
@@ -977,7 +977,7 @@
|
||||
<location filename="Setting/Index0/LinkUI/ConnectDialog/ConnectDialog.cpp" line="358"/>
|
||||
<source>6060</source>
|
||||
<oldsource>6062</oldsource>
|
||||
<translation type="unfinished">6061</translation>
|
||||
<translation type="unfinished">6060</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
||||
@@ -117,7 +117,7 @@ void ConnectDialog::setInit(QVariant inter, QVariant device)
|
||||
{
|
||||
m_Type = inter;
|
||||
m_usrName = device;
|
||||
m_Param1 = tr("COM1");//读取最新发现的串口
|
||||
m_Param1 = tr("");//读取最新发现的串口
|
||||
m_Param2 = tr("115200");
|
||||
m_Param3 = tr("8");
|
||||
m_Param4 = tr("NONE");
|
||||
@@ -694,80 +694,6 @@ void ConnectDialog::writeInfo(QVariant Name,
|
||||
Param1,Param2,Param3,
|
||||
Param4,Param5);
|
||||
delete config;
|
||||
|
||||
/*
|
||||
bool isContains = false;
|
||||
|
||||
//读出文件,查找是否有当前的要写入的这个项,没有就新增,有就修改
|
||||
QFile jsonFile(ConnectInfoFile);
|
||||
if (!jsonFile.open(QIODevice::ReadWrite | QIODevice::Text)) {
|
||||
qWarning() << "Unable to open file" << ConnectInfoFile << jsonFile.errorString();
|
||||
return;
|
||||
}
|
||||
|
||||
QByteArray bytes = jsonFile.readAll();
|
||||
jsonFile.close();
|
||||
|
||||
QJsonParseError jsonParseError;
|
||||
QJsonDocument doc = QJsonDocument::fromJson(bytes, &jsonParseError);
|
||||
if (jsonParseError.error != QJsonParseError::NoError) {
|
||||
qWarning() << ConnectInfoFile << "Unable to open json document" << jsonParseError.errorString();
|
||||
}
|
||||
|
||||
QJsonObject root = doc.object();
|
||||
QJsonArray Read_jsonArray = root.value("Connect").toArray();
|
||||
|
||||
|
||||
int count = 0;
|
||||
for(QJsonValue info: Read_jsonArray) {
|
||||
if (info.isObject()) {
|
||||
if(info.toObject().value("Name") == Name)
|
||||
{
|
||||
isContains = true;
|
||||
break;//退出循环
|
||||
}
|
||||
}
|
||||
count ++;
|
||||
}
|
||||
|
||||
//使用QJsonArray添加值,并写入文件
|
||||
QJsonObject jsonObject;
|
||||
jsonObject.insert("Name", Name.toString());
|
||||
jsonObject.insert("Type", Type.toString());
|
||||
jsonObject.insert("Param1", Param1.toString());
|
||||
jsonObject.insert("Param2", Param2.toString());
|
||||
jsonObject.insert("Param3", Param3.toString());
|
||||
jsonObject.insert("Param4", Param4.toString());
|
||||
jsonObject.insert("Param5", Param5.toString());
|
||||
|
||||
if(isContains == false)
|
||||
{
|
||||
Read_jsonArray.append(jsonObject);
|
||||
}
|
||||
else
|
||||
{
|
||||
Read_jsonArray.replace(count,jsonObject);
|
||||
}
|
||||
|
||||
|
||||
//设置根部和数组
|
||||
root.insert("Connect",Read_jsonArray);
|
||||
//设置文档
|
||||
doc.setObject(root);
|
||||
|
||||
QFile file(ConnectInfoFile);
|
||||
if(!file.open(QIODevice::ReadWrite|QFile::Truncate)) {
|
||||
qDebug() << "File open error";
|
||||
}
|
||||
|
||||
file.write(doc.toJson());
|
||||
file.close();
|
||||
|
||||
|
||||
*/
|
||||
|
||||
//重新刷新一下数组
|
||||
//readInfo();
|
||||
}
|
||||
|
||||
|
||||
|
||||
+29
-17
@@ -54,48 +54,60 @@ void StatusUI::setState(uint32_t pos,QVariant real,QVariant meas)
|
||||
{
|
||||
switch (pos) {
|
||||
case 1:
|
||||
ui->label_atteck_real->setText(real.toString());
|
||||
ui->label_atteck_meas->setText(meas.toString());
|
||||
break;
|
||||
case 2:
|
||||
ui->label_pitch_real->setText(real.toString());
|
||||
ui->label_pitch_meas->setText(meas.toString());
|
||||
break;
|
||||
case 3:
|
||||
case 2:
|
||||
ui->label_roll_real->setText(real.toString());
|
||||
ui->label_roll_meas->setText(meas.toString());
|
||||
break;
|
||||
case 4:
|
||||
case 3:
|
||||
ui->label_heading_real->setText(real.toString());
|
||||
ui->label_heading_meas->setText(meas.toString());
|
||||
break;
|
||||
case 5:
|
||||
case 4:
|
||||
ui->label_dis_real->setText(real.toString());
|
||||
ui->label_dis_meas->setText(meas.toString());
|
||||
break;
|
||||
case 6:
|
||||
case 5:
|
||||
ui->label_alt_real->setText(real.toString());
|
||||
ui->label_alt_meas->setText(meas.toString());
|
||||
break;
|
||||
case 7:
|
||||
case 6:
|
||||
ui->label_as_real->setText(real.toString());
|
||||
ui->label_as_meas->setText(meas.toString());
|
||||
break;
|
||||
case 8:
|
||||
ui->label_tas_real->setText(real.toString());
|
||||
ui->label_tas_meas->setText(meas.toString());
|
||||
break;
|
||||
case 9:
|
||||
ui->label_Ma_real->setText(real.toString());
|
||||
ui->label_Ma_meas->setText(meas.toString());
|
||||
break;
|
||||
case 10:
|
||||
case 7:
|
||||
ui->label_rate_real->setText(real.toString());
|
||||
ui->label_rate_meas->setText(meas.toString());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void StatusUI::setDigitalAtmosphereSystem(uint32_t pos,QVariant real,QVariant meas)
|
||||
{
|
||||
switch (pos) {
|
||||
case 1:
|
||||
ui->label_atteck_real->setText(real.toString());
|
||||
ui->label_atteck_meas->setText(meas.toString());
|
||||
break;
|
||||
case 2:
|
||||
ui->label_slide_real->setText(real.toString());
|
||||
//ui->label_slide_meas->setText(meas.toString());
|
||||
break;
|
||||
case 3:
|
||||
ui->label_tas_real->setText(real.toString());
|
||||
ui->label_tas_meas->setText(meas.toString());
|
||||
break;
|
||||
case 4:
|
||||
ui->label_Ma_real->setText(real.toString());
|
||||
ui->label_Ma_meas->setText(meas.toString());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void StatusUI::setServo(uint32_t pos,QVariant real,QVariant meas)
|
||||
{
|
||||
switch (pos) {
|
||||
|
||||
@@ -35,6 +35,7 @@ public:
|
||||
|
||||
public slots:
|
||||
|
||||
void setDigitalAtmosphereSystem(uint32_t pos,QVariant real,QVariant meas);
|
||||
void setState(uint32_t pos,QVariant real,QVariant meas);
|
||||
void setServo(uint32_t pos,QVariant real,QVariant meas);
|
||||
void setEngine(uint32_t pos,QVariant value);
|
||||
|
||||
+777
-749
@@ -6,8 +6,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>413</width>
|
||||
<height>798</height>
|
||||
<width>410</width>
|
||||
<height>854</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
@@ -15,15 +15,15 @@
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_9">
|
||||
<item row="1" column="0">
|
||||
<layout class="QGridLayout" name="gridLayout_4">
|
||||
<item row="1" column="0">
|
||||
<widget class="QGroupBox" name="groupBox_2">
|
||||
<layout class="QGridLayout" name="gridLayout_8">
|
||||
<item row="0" column="0">
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<property name="title">
|
||||
<string>基本状态</string>
|
||||
<string>惯导</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_3">
|
||||
<item row="7" column="1">
|
||||
<widget class="QLabel" name="label_as_real">
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="6" column="2">
|
||||
<widget class="QLabel" name="label_gy2">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
@@ -35,108 +35,8 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="2">
|
||||
<widget class="QLabel" name="label_atteck_meas">
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="2">
|
||||
<widget class="QLabel" name="label_as_meas">
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="0">
|
||||
<widget class="QLabel" name="label_21">
|
||||
<property name="text">
|
||||
<string>海拔[m]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="10" column="0">
|
||||
<widget class="QLabel" name="label_33">
|
||||
<property name="text">
|
||||
<string>升降速率</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<widget class="QLabel" name="label_18">
|
||||
<property name="text">
|
||||
<string>侧偏距[m]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="1">
|
||||
<widget class="QLabel" name="label_tas_real">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="10" column="2">
|
||||
<widget class="QLabel" name="label_rate_meas">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1">
|
||||
<widget class="QLabel" name="label_dis_real">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label_6">
|
||||
<property name="text">
|
||||
<string>攻角[°]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="2">
|
||||
<widget class="QLabel" name="label_roll_meas">
|
||||
<widget class="QLabel" name="label_gz2">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
@@ -149,106 +49,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="9" column="2">
|
||||
<widget class="QLabel" name="label_Ma_meas">
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QLabel" name="label_atteck_real">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="10" column="1">
|
||||
<widget class="QLabel" name="label_rate_real">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="text">
|
||||
<string>指令值</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
<string>实测值</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="2">
|
||||
<widget class="QLabel" name="label_dis_meas">
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="1">
|
||||
<widget class="QLabel" name="label_alt_real">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="0">
|
||||
<widget class="QLabel" name="label_24">
|
||||
<property name="text">
|
||||
<string>表速[m/s]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="2">
|
||||
<widget class="QLabel" name="label_heading_meas">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="2">
|
||||
<widget class="QLabel" name="label_alt_meas">
|
||||
<widget class="QLabel" name="label_pit2">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
@@ -261,60 +62,14 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="0">
|
||||
<widget class="QLabel" name="label_27">
|
||||
<widget class="QLabel" name="label_49">
|
||||
<property name="text">
|
||||
<string>真空速[m/s]</string>
|
||||
<string>滚转</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="2">
|
||||
<widget class="QLabel" name="label_tas_meas">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="9" column="0">
|
||||
<widget class="QLabel" name="label_30">
|
||||
<property name="text">
|
||||
<string>马赫数[Ma]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="9" column="1">
|
||||
<widget class="QLabel" name="label_Ma_real">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="2">
|
||||
<widget class="QLabel" name="label_pitch_meas">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QLabel" name="label_pitch_real">
|
||||
<item row="5" column="1" rowspan="2">
|
||||
<widget class="QLabel" name="label_gy1">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
@@ -327,7 +82,200 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QLabel" name="label_roll_real">
|
||||
<widget class="QLabel" name="label_az1">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0" rowspan="2">
|
||||
<widget class="QLabel" name="label_23">
|
||||
<property name="text">
|
||||
<string>角速率X</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<widget class="QLabel" name="label_41">
|
||||
<property name="text">
|
||||
<string>SBG</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="label_25">
|
||||
<property name="text">
|
||||
<string>加速度Z</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="9" column="0">
|
||||
<widget class="QLabel" name="label_48">
|
||||
<property name="text">
|
||||
<string>俯仰</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="2">
|
||||
<widget class="QLabel" name="label_gx2">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label_11">
|
||||
<property name="text">
|
||||
<string>加速度X</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="2">
|
||||
<widget class="QLabel" name="label_rol2">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="0">
|
||||
<widget class="QLabel" name="label_31">
|
||||
<property name="text">
|
||||
<string>角速率Y</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QLabel" name="label_ax1">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="2">
|
||||
<widget class="QLabel" name="label_az2">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="10" column="2">
|
||||
<widget class="QLabel" name="label_yaw2">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="label_19">
|
||||
<property name="text">
|
||||
<string>加速度Y</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="10" column="0">
|
||||
<widget class="QLabel" name="label_38">
|
||||
<property name="text">
|
||||
<string>航向</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="1">
|
||||
<widget class="QLabel" name="label_gz1">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QLabel" name="label_ay1">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="label_39">
|
||||
<property name="text">
|
||||
<string>内部惯导</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="0">
|
||||
<widget class="QLabel" name="label_29">
|
||||
<property name="text">
|
||||
<string>角速率Z</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="2">
|
||||
<widget class="QLabel" name="label_ay2">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="1">
|
||||
<widget class="QLabel" name="label_rol1">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
@@ -340,7 +288,94 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<widget class="QLabel" name="label_heading_real">
|
||||
<widget class="QLabel" name="label_gx1">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="10" column="1">
|
||||
<widget class="QLabel" name="label_yaw1">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="2">
|
||||
<widget class="QLabel" name="label_ax2">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="9" column="1">
|
||||
<widget class="QLabel" name="label_pit1">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QGroupBox" name="groupBox_2">
|
||||
<property name="title">
|
||||
<string>基本状态</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_3">
|
||||
<item row="1" column="2">
|
||||
<widget class="QLabel" name="label_pitch_meas">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QLabel" name="label_pitch_real">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="9" column="2">
|
||||
<widget class="QLabel" name="label_rate_meas">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
@@ -353,30 +388,349 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QLabel" name="label_15">
|
||||
<widget class="QLabel" name="label_18">
|
||||
<property name="text">
|
||||
<string>航迹角[°]</string>
|
||||
<string>侧偏距[m]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="label_12">
|
||||
<item row="3" column="2">
|
||||
<widget class="QLabel" name="label_heading_meas">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>滚转角[°]</string>
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<item row="9" column="0">
|
||||
<widget class="QLabel" name="label_33">
|
||||
<property name="text">
|
||||
<string>升降速率</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QLabel" name="label_heading_real">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="1">
|
||||
<widget class="QLabel" name="label_as_real">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label_9">
|
||||
<property name="text">
|
||||
<string>俯仰角[°]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QLabel" name="label_roll_real">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="2">
|
||||
<widget class="QLabel" name="label_dis_meas">
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="label_12">
|
||||
<property name="text">
|
||||
<string>滚转角[°]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="label_15">
|
||||
<property name="text">
|
||||
<string>航迹角[°]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="2">
|
||||
<widget class="QLabel" name="label_as_meas">
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<widget class="QLabel" name="label_dis_real">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="2">
|
||||
<widget class="QLabel" name="label_alt_meas">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="2">
|
||||
<widget class="QLabel" name="label_roll_meas">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="9" column="1">
|
||||
<widget class="QLabel" name="label_rate_real">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1">
|
||||
<widget class="QLabel" name="label_alt_real">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<widget class="QLabel" name="label_21">
|
||||
<property name="text">
|
||||
<string>海拔[m]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="0">
|
||||
<widget class="QLabel" name="label_24">
|
||||
<property name="text">
|
||||
<string>表速[m/s]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
<string>实测</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="text">
|
||||
<string>指令</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<item row="1" column="0">
|
||||
<widget class="QGroupBox" name="groupBox_8">
|
||||
<property name="title">
|
||||
<string>大气机</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_12">
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="label_atteck_real">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="label_27">
|
||||
<property name="text">
|
||||
<string>真空速[m/s]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="2">
|
||||
<widget class="QLabel" name="label_tas_meas">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_6">
|
||||
<property name="text">
|
||||
<string>攻角[°]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<widget class="QLabel" name="label_atteck_meas">
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>侧滑角[°]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QLabel" name="label_slide_real">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QLabel" name="label_tas_real">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="label_30">
|
||||
<property name="text">
|
||||
<string>马赫数[Ma]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QLabel" name="label_Ma_real">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="2">
|
||||
<widget class="QLabel" name="label_Ma_meas">
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QGroupBox" name="groupBox_3">
|
||||
<property name="title">
|
||||
<string>舵面指令</string>
|
||||
@@ -550,334 +904,8 @@
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<property name="title">
|
||||
<string>惯导</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="9" column="1">
|
||||
<widget class="QLabel" name="label_pit1">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="label_19">
|
||||
<property name="text">
|
||||
<string>加速度Y</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="2">
|
||||
<widget class="QLabel" name="label_rol2">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="1">
|
||||
<widget class="QLabel" name="label_rol1">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="0">
|
||||
<widget class="QLabel" name="label_49">
|
||||
<property name="text">
|
||||
<string>滚转</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="2">
|
||||
<widget class="QLabel" name="label_ax2">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="9" column="0">
|
||||
<widget class="QLabel" name="label_48">
|
||||
<property name="text">
|
||||
<string>俯仰</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="1">
|
||||
<widget class="QLabel" name="label_gz1">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QLabel" name="label_ay1">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="2">
|
||||
<widget class="QLabel" name="label_gx2">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="2">
|
||||
<widget class="QLabel" name="label_ay2">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="0">
|
||||
<widget class="QLabel" name="label_29">
|
||||
<property name="text">
|
||||
<string>角速率Z</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="10" column="2">
|
||||
<widget class="QLabel" name="label_yaw2">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QLabel" name="label_az1">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="2">
|
||||
<widget class="QLabel" name="label_az2">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0" rowspan="2">
|
||||
<widget class="QLabel" name="label_23">
|
||||
<property name="text">
|
||||
<string>角速率X</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="10" column="0">
|
||||
<widget class="QLabel" name="label_38">
|
||||
<property name="text">
|
||||
<string>航向</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="9" column="2">
|
||||
<widget class="QLabel" name="label_pit2">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QLabel" name="label_ax1">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<widget class="QLabel" name="label_gx1">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="0">
|
||||
<widget class="QLabel" name="label_31">
|
||||
<property name="text">
|
||||
<string>角速率Y</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="10" column="1">
|
||||
<widget class="QLabel" name="label_yaw1">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="2">
|
||||
<widget class="QLabel" name="label_gz2">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1" rowspan="2">
|
||||
<widget class="QLabel" name="label_gy1">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="2">
|
||||
<widget class="QLabel" name="label_gy2">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label_11">
|
||||
<property name="text">
|
||||
<string>加速度X</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="label_25">
|
||||
<property name="text">
|
||||
<string>加速度Z</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="label_39">
|
||||
<property name="text">
|
||||
<string>内部惯导</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<widget class="QLabel" name="label_41">
|
||||
<property name="text">
|
||||
<string>SBG</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<spacer name="verticalSpacer">
|
||||
<item row="4" column="0">
|
||||
<spacer name="verticalSpacer_2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
@@ -892,19 +920,135 @@
|
||||
</layout>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<layout class="QGridLayout" name="gridLayout_8">
|
||||
<item row="4" column="0">
|
||||
<spacer name="verticalSpacer_5">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
<layout class="QGridLayout" name="gridLayout_4">
|
||||
<item row="0" column="0">
|
||||
<widget class="QGroupBox" name="groupBox_7">
|
||||
<property name="title">
|
||||
<string>GPS</string>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
<layout class="QGridLayout" name="gridLayout_11">
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="label_72">
|
||||
<property name="text">
|
||||
<string>速度</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QLabel" name="label_lng">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QLabel" name="label_69">
|
||||
<property name="text">
|
||||
<string>卫星数</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1">
|
||||
<widget class="QLabel" name="label_head">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label_65">
|
||||
<property name="text">
|
||||
<string>经度</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<widget class="QLabel" name="label_64">
|
||||
<property name="text">
|
||||
<string>航迹角</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="label_51">
|
||||
<property name="text">
|
||||
<string>高度</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_59">
|
||||
<property name="text">
|
||||
<string>纬度</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="label_lat">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QLabel" name="label_sp">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QLabel" name="label_alt">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<widget class="QLabel" name="label_sta">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QGroupBox" name="groupBox_4">
|
||||
@@ -1041,6 +1185,19 @@
|
||||
<string>数据链</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_5">
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="label_ssr">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QLabel" name="label_ssp">
|
||||
<property name="styleSheet">
|
||||
@@ -1061,19 +1218,6 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="label_ssr">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label_56">
|
||||
<property name="text">
|
||||
@@ -1213,134 +1357,18 @@
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QGroupBox" name="groupBox_7">
|
||||
<property name="title">
|
||||
<string>GPS</string>
|
||||
<item row="4" column="0">
|
||||
<spacer name="verticalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_11">
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="label_72">
|
||||
<property name="text">
|
||||
<string>速度</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QLabel" name="label_lng">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QLabel" name="label_69">
|
||||
<property name="text">
|
||||
<string>卫星数</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1">
|
||||
<widget class="QLabel" name="label_head">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label_65">
|
||||
<property name="text">
|
||||
<string>经度</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<widget class="QLabel" name="label_64">
|
||||
<property name="text">
|
||||
<string>航迹角</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="label_51">
|
||||
<property name="text">
|
||||
<string>高度</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_59">
|
||||
<property name="text">
|
||||
<string>纬度</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="label_lat">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QLabel" name="label_sp">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QLabel" name="label_alt">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<widget class="QLabel" name="label_sta">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(189, 189, 189);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
|
||||
+28
-21
@@ -741,13 +741,13 @@ void MainWindow::updateUI()//事件驱动式更新数据
|
||||
//c t g m
|
||||
switch (copk->AirSpeedFlag()) {
|
||||
case 0:
|
||||
copk->setSpeed(dlink->mavlinknode->vehicle.vfr_hud.airspeed,copk->AirSpeedFlag());//biaosu
|
||||
copk->setSpeed(dlink->mavlinknode->vehicle.vfr_hud.airspeed,copk->AirSpeedFlag());//表速
|
||||
break;
|
||||
case 1:
|
||||
copk->setSpeed(dlink->mavlinknode->vehicle.emb_atom_com.Airspeed,copk->AirSpeedFlag());//真空速
|
||||
break;
|
||||
case 2:
|
||||
copk->setSpeed(dlink->mavlinknode->vehicle.gps_raw_int.vel,copk->AirSpeedFlag());//地速
|
||||
copk->setSpeed(dlink->mavlinknode->vehicle.gps_raw_int.vel * 0.01,copk->AirSpeedFlag());//地速
|
||||
break;
|
||||
case 3:
|
||||
copk->setSpeed(dlink->mavlinknode->vehicle.emb_atom_com.mach,copk->AirSpeedFlag());//马赫
|
||||
@@ -1019,7 +1019,11 @@ void MainWindow::updateUI()//事件驱动式更新数据
|
||||
healthui->setState(3,getBit(health,9)?(getBit(health,3)?(HealthUI::state::success):(HealthUI::state::warning)):(HealthUI::state::failure));//ECU
|
||||
healthui->setState(5,getBit(health,10)?(getBit(health,4)?(HealthUI::state::success):(HealthUI::state::warning)):(HealthUI::state::failure));//CCM
|
||||
healthui->setState(6,(dlink->mavlinknode->isCommunicationLost)?(HealthUI::state::failure):(HealthUI::state::success));//DLINK
|
||||
//healthui->setState(7,getBit(health,11)?(HealthUI::state::success):(HealthUI::state::failure));//AIR
|
||||
|
||||
// 22 23 24 25 26 27
|
||||
// 5525D 5803A 5607A 4525D atteck slide
|
||||
healthui->setState(7,(getBit(health,26)&getBit(health,27))?(HealthUI::state::success):(HealthUI::state::failure));//AIR
|
||||
|
||||
healthui->setState(8,getBit(health,5)?(getBit(health,11)?(HealthUI::state::success):(HealthUI::state::warning)):(HealthUI::state::failure));//FL
|
||||
|
||||
//dlink->mavlinknode->vehicle.servo_output_raw.servo5_raw
|
||||
@@ -1060,30 +1064,33 @@ void MainWindow::updateUI()//事件驱动式更新数据
|
||||
healthui->setState(30,getBit(health,12)?(HealthUI::state::warning):(HealthUI::state::success));//sel
|
||||
healthui->setValueState(30,getBit(health,12)?(tr("连接内置惯导")):(tr("连接SBG")));//sel
|
||||
|
||||
statusui->setState(1,QString::number(dlink->mavlinknode->vehicle.emb_atom_com.alpha,'f',1),tr(" "));
|
||||
statusui->setDigitalAtmosphereSystem(1,QString::number(dlink->mavlinknode->vehicle.emb_atom_com.alpha,'f',1),tr(" "));
|
||||
|
||||
statusui->setState(2,QString::number(dlink->mavlinknode->vehicle.attitude.pitch * 57.3,'f',1),
|
||||
QString::number(dlink->mavlinknode->vehicle.nav_controller_output.nav_pitch * 57.3,'f',1));
|
||||
statusui->setDigitalAtmosphereSystem(2,QString::number(dlink->mavlinknode->vehicle.emb_atom_com.beta,'f',1),tr(" "));
|
||||
|
||||
statusui->setState(3,QString::number(dlink->mavlinknode->vehicle.attitude.roll * 57.3,'f',1),
|
||||
QString::number(dlink->mavlinknode->vehicle.nav_controller_output.nav_roll * 57.3,'f',1));
|
||||
|
||||
statusui->setState(4,QString::number(to360deg(dlink->mavlinknode->vehicle.global_position_int.hdg),'f',1),
|
||||
QString::number(to360deg(dlink->mavlinknode->vehicle.nav_controller_output.nav_bearing),'f',1));
|
||||
|
||||
statusui->setState(5,QString::number(dlink->mavlinknode->vehicle.nav_controller_output.xtrack_error,'f',1),tr(" "));
|
||||
|
||||
statusui->setState(6,QString::number(dlink->mavlinknode->vehicle.gps_raw_int.alt * 10e-4,'f',1),tr(" "));
|
||||
|
||||
statusui->setState(7,QString::number(dlink->mavlinknode->vehicle.vfr_hud.airspeed,'f',1),tr(" "));
|
||||
|
||||
statusui->setState(8,QString::number(dlink->mavlinknode->vehicle.emb_atom_com.Airspeed,'f',1),
|
||||
statusui->setState(3,QString::number(dlink->mavlinknode->vehicle.emb_atom_com.Airspeed,'f',1),
|
||||
QString::number(dlink->mavlinknode->vehicle.emb_atom_com.Airspeed
|
||||
+dlink->mavlinknode->vehicle.nav_controller_output.aspd_error,'f',1));
|
||||
|
||||
statusui->setState(9,QString::number(dlink->mavlinknode->vehicle.emb_atom_com.mach,'f',2),tr(" "));
|
||||
statusui->setState(4,QString::number(dlink->mavlinknode->vehicle.emb_atom_com.mach,'f',2),tr(" "));
|
||||
|
||||
statusui->setState(10,QString::number(-dlink->mavlinknode->vehicle.global_position_int.vz * 10e-3,'f',1),
|
||||
|
||||
statusui->setState(1,QString::number(dlink->mavlinknode->vehicle.attitude.pitch * 57.3,'f',1),
|
||||
QString::number(dlink->mavlinknode->vehicle.nav_controller_output.nav_pitch * 57.3,'f',1));
|
||||
|
||||
statusui->setState(2,QString::number(dlink->mavlinknode->vehicle.attitude.roll * 57.3,'f',1),
|
||||
QString::number(dlink->mavlinknode->vehicle.nav_controller_output.nav_roll * 57.3,'f',1));
|
||||
|
||||
statusui->setState(3,QString::number(to360deg(dlink->mavlinknode->vehicle.global_position_int.hdg),'f',1),
|
||||
QString::number(to360deg(dlink->mavlinknode->vehicle.nav_controller_output.nav_bearing),'f',1));
|
||||
|
||||
statusui->setState(4,QString::number(dlink->mavlinknode->vehicle.nav_controller_output.xtrack_error,'f',1),tr(" "));
|
||||
|
||||
statusui->setState(5,QString::number(dlink->mavlinknode->vehicle.gps_raw_int.alt * 10e-4,'f',1),tr(" "));
|
||||
|
||||
statusui->setState(6,QString::number(dlink->mavlinknode->vehicle.vfr_hud.airspeed,'f',1),tr(" "));
|
||||
|
||||
statusui->setState(7,QString::number(-dlink->mavlinknode->vehicle.global_position_int.vz * 10e-3,'f',1),
|
||||
QString::number(-dlink->mavlinknode->vehicle.vfr_hud.climb,'f',1));
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user