更新阶段,更新翻译
This commit is contained in:
Binary file not shown.
+206
-166
@@ -645,79 +645,79 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="138"/>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="140"/>
|
||||
<source>Selete Command File...</source>
|
||||
<translation>选择指令脚本...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="140"/>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="142"/>
|
||||
<source>command file (*.json)</source>
|
||||
<translation type="unfinished">指令脚本 (*.json)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="347"/>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="404"/>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="349"/>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="406"/>
|
||||
<source>发送指令 %1 %2</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="470"/>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="472"/>
|
||||
<source>无人机 %1 %2 %3 %4</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="527"/>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="529"/>
|
||||
<source>set parameter
|
||||
</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="647"/>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="649"/>
|
||||
<source>%1,%2 accepted and executed</source>
|
||||
<translation>%1,%2 发送成功</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="650"/>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="652"/>
|
||||
<source>%1,%2 rejected</source>
|
||||
<translation>%1,%2 拒绝执行</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="653"/>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="655"/>
|
||||
<source>%1,%2 permanently denied</source>
|
||||
<translation>%1,%2 永久拒绝</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="656"/>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="658"/>
|
||||
<source>%1,%2 unsupported</source>
|
||||
<translation>%1,%2 不支持</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="659"/>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="661"/>
|
||||
<source>%1,%2 failed</source>
|
||||
<translation>%1,%2 发送失败</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="662"/>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="664"/>
|
||||
<source>%1,%2 being executed</source>
|
||||
<translation>%1,%2 正在执行</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="665"/>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="667"/>
|
||||
<source>%1,%2 time out</source>
|
||||
<translation>%1,%2 发送超时</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="668"/>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="670"/>
|
||||
<source>Please do not operate too fast, the last instruction has not been sent</source>
|
||||
<translation>请不要操作过快,上一个指令未发送完成</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="721"/>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="726"/>
|
||||
<source>设置航点 %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="824"/>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="829"/>
|
||||
<source>click confirm to set uav %1 as current</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@@ -746,7 +746,7 @@
|
||||
<translation type="vanished">%1 正在执行</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="736"/>
|
||||
<location filename="CommandUI/CommandUI.cpp" line="741"/>
|
||||
<source>click confirm to set Point %1 as current point</source>
|
||||
<translation>点击设置航点%1为当前航点</translation>
|
||||
</message>
|
||||
@@ -2182,19 +2182,19 @@
|
||||
<translation type="vanished">参数</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="943"/>
|
||||
<location filename="mainwindow.cpp" line="949"/>
|
||||
<location filename="mainwindow.cpp" line="975"/>
|
||||
<location filename="mainwindow.cpp" line="976"/>
|
||||
<source>Communication Lost</source>
|
||||
<translation>通讯丢失</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="962"/>
|
||||
<location filename="mainwindow.cpp" line="967"/>
|
||||
<location filename="mainwindow.cpp" line="988"/>
|
||||
<location filename="mainwindow.cpp" line="989"/>
|
||||
<source>Communication Regain</source>
|
||||
<translation>通讯已恢复</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1697"/>
|
||||
<location filename="mainwindow.cpp" line="1758"/>
|
||||
<source>未定位</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@@ -2228,417 +2228,455 @@
|
||||
<translation type="vanished">错误[%1颗]</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1260"/>
|
||||
<location filename="mainwindow.cpp" line="1305"/>
|
||||
<source>ARM</source>
|
||||
<translation>解锁</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1264"/>
|
||||
<location filename="mainwindow.cpp" line="1309"/>
|
||||
<source>DISARM</source>
|
||||
<translation>上锁</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1287"/>
|
||||
<location filename="mainwindow.cpp" line="1332"/>
|
||||
<source>MANUAL</source>
|
||||
<translation>手动</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1290"/>
|
||||
<location filename="mainwindow.cpp" line="1335"/>
|
||||
<source>ALTCTL</source>
|
||||
<translation>定高</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1293"/>
|
||||
<location filename="mainwindow.cpp" line="1338"/>
|
||||
<source>POSCTL</source>
|
||||
<translation>定点</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1296"/>
|
||||
<location filename="mainwindow.cpp" line="1341"/>
|
||||
<source>AUTO</source>
|
||||
<translation>自主</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1299"/>
|
||||
<location filename="mainwindow.cpp" line="1344"/>
|
||||
<source>ACRO</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1302"/>
|
||||
<location filename="mainwindow.cpp" line="1347"/>
|
||||
<source>OFFBOARD</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1305"/>
|
||||
<location filename="mainwindow.cpp" line="1350"/>
|
||||
<source>STABILIZED</source>
|
||||
<translation>增稳</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1308"/>
|
||||
<location filename="mainwindow.cpp" line="1353"/>
|
||||
<source>RATTITUDE</source>
|
||||
<translation>速率</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1311"/>
|
||||
<location filename="mainwindow.cpp" line="1356"/>
|
||||
<source>STANDBY</source>
|
||||
<translation>待机</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1314"/>
|
||||
<location filename="mainwindow.cpp" line="1359"/>
|
||||
<source>BIT</source>
|
||||
<translation>测试</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1317"/>
|
||||
<location filename="mainwindow.cpp" line="1362"/>
|
||||
<source>AUTO_READY</source>
|
||||
<translation>就绪</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1320"/>
|
||||
<location filename="mainwindow.cpp" line="1365"/>
|
||||
<source>AUTO_TAKEOFF</source>
|
||||
<translation>起飞</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1323"/>
|
||||
<location filename="mainwindow.cpp" line="1368"/>
|
||||
<source>AUTO_LOITER</source>
|
||||
<translation>盘旋</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1326"/>
|
||||
<location filename="mainwindow.cpp" line="1371"/>
|
||||
<source>AUTO_MISSION</source>
|
||||
<translation>任务</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1329"/>
|
||||
<location filename="mainwindow.cpp" line="1374"/>
|
||||
<source>AUTO_RTL</source>
|
||||
<translation>返航</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1332"/>
|
||||
<location filename="mainwindow.cpp" line="1377"/>
|
||||
<source>AUTO_LAND</source>
|
||||
<translation>着陆</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1335"/>
|
||||
<location filename="mainwindow.cpp" line="1380"/>
|
||||
<source>AUTO_RTGS</source>
|
||||
<translation>RTGS</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1338"/>
|
||||
<location filename="mainwindow.cpp" line="1383"/>
|
||||
<source>AUTO_FOLLOW_TARGET</source>
|
||||
<translation>目标跟随</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1547"/>
|
||||
<location filename="mainwindow.cpp" line="1613"/>
|
||||
<source>投放</source>
|
||||
<oldsource> </oldsource>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1567"/>
|
||||
<source>GPS Unlocated</source>
|
||||
<translation>未定位</translation>
|
||||
<translation type="vanished">未定位</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1571"/>
|
||||
<location filename="mainwindow.cpp" line="1247"/>
|
||||
<source>%1D</source>
|
||||
<translation>%1D定位</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1574"/>
|
||||
<source>fixed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1577"/>
|
||||
<source>float</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1215"/>
|
||||
<location filename="mainwindow.cpp" line="1580"/>
|
||||
<source>%1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1518"/>
|
||||
<location filename="mainwindow.cpp" line="1592"/>
|
||||
<location filename="mainwindow.cpp" line="1653"/>
|
||||
<location filename="mainwindow.cpp" line="1868"/>
|
||||
<source>未初始化</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1596"/>
|
||||
<location filename="mainwindow.cpp" line="1657"/>
|
||||
<source>垂直陀螺</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1600"/>
|
||||
<location filename="mainwindow.cpp" line="1661"/>
|
||||
<source>AHRS</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1604"/>
|
||||
<location filename="mainwindow.cpp" line="1665"/>
|
||||
<source>速度导航</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1608"/>
|
||||
<location filename="mainwindow.cpp" line="1669"/>
|
||||
<source>位置导航</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1615"/>
|
||||
<location filename="mainwindow.cpp" line="1624"/>
|
||||
<location filename="mainwindow.cpp" line="1633"/>
|
||||
<location filename="mainwindow.cpp" line="1642"/>
|
||||
<location filename="mainwindow.cpp" line="1676"/>
|
||||
<location filename="mainwindow.cpp" line="1685"/>
|
||||
<location filename="mainwindow.cpp" line="1694"/>
|
||||
<location filename="mainwindow.cpp" line="1703"/>
|
||||
<source>正常</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1480"/>
|
||||
<location filename="mainwindow.cpp" line="1483"/>
|
||||
<location filename="mainwindow.cpp" line="1618"/>
|
||||
<location filename="mainwindow.cpp" line="1627"/>
|
||||
<location filename="mainwindow.cpp" line="1636"/>
|
||||
<location filename="mainwindow.cpp" line="1645"/>
|
||||
<location filename="mainwindow.cpp" line="1677"/>
|
||||
<location filename="mainwindow.cpp" line="1814"/>
|
||||
<location filename="mainwindow.cpp" line="1815"/>
|
||||
<location filename="mainwindow.cpp" line="1816"/>
|
||||
<location filename="mainwindow.cpp" line="1817"/>
|
||||
<location filename="mainwindow.cpp" line="1818"/>
|
||||
<location filename="mainwindow.cpp" line="1679"/>
|
||||
<location filename="mainwindow.cpp" line="1688"/>
|
||||
<location filename="mainwindow.cpp" line="1697"/>
|
||||
<location filename="mainwindow.cpp" line="1706"/>
|
||||
<location filename="mainwindow.cpp" line="1738"/>
|
||||
<location filename="mainwindow.cpp" line="1838"/>
|
||||
<location filename="mainwindow.cpp" line="1839"/>
|
||||
<location filename="mainwindow.cpp" line="1938"/>
|
||||
<location filename="mainwindow.cpp" line="1939"/>
|
||||
<location filename="mainwindow.cpp" line="1940"/>
|
||||
<location filename="mainwindow.cpp" line="1941"/>
|
||||
<location filename="mainwindow.cpp" line="1942"/>
|
||||
<source>无效</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1199"/>
|
||||
<location filename="mainwindow.cpp" line="1243"/>
|
||||
<source>Unlocated</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1203"/>
|
||||
<source>%1D[%2]</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1206"/>
|
||||
<source>DGPS[%1]</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1209"/>
|
||||
<source>FLOAT[%1]</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1212"/>
|
||||
<source>INT[%1]</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1433"/>
|
||||
<location filename="mainwindow.cpp" line="1488"/>
|
||||
<source>使用内置</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1433"/>
|
||||
<location filename="mainwindow.cpp" line="1488"/>
|
||||
<source>使用外置</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1442"/>
|
||||
<location filename="mainwindow.cpp" line="1494"/>
|
||||
<source>正在写入</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1442"/>
|
||||
<location filename="mainwindow.cpp" line="1494"/>
|
||||
<source>停止写入</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1480"/>
|
||||
<location filename="mainwindow.cpp" line="1483"/>
|
||||
<location filename="mainwindow.cpp" line="1814"/>
|
||||
<location filename="mainwindow.cpp" line="1815"/>
|
||||
<location filename="mainwindow.cpp" line="1816"/>
|
||||
<location filename="mainwindow.cpp" line="1817"/>
|
||||
<location filename="mainwindow.cpp" line="1818"/>
|
||||
<location filename="mainwindow.cpp" line="1838"/>
|
||||
<location filename="mainwindow.cpp" line="1839"/>
|
||||
<location filename="mainwindow.cpp" line="1938"/>
|
||||
<location filename="mainwindow.cpp" line="1939"/>
|
||||
<location filename="mainwindow.cpp" line="1940"/>
|
||||
<location filename="mainwindow.cpp" line="1941"/>
|
||||
<location filename="mainwindow.cpp" line="1942"/>
|
||||
<source>有效</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1496"/>
|
||||
<location filename="mainwindow.cpp" line="1771"/>
|
||||
<location filename="mainwindow.cpp" line="1846"/>
|
||||
<location filename="mainwindow.cpp" line="1895"/>
|
||||
<source>准备</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1499"/>
|
||||
<location filename="mainwindow.cpp" line="1774"/>
|
||||
<location filename="mainwindow.cpp" line="1849"/>
|
||||
<location filename="mainwindow.cpp" line="1898"/>
|
||||
<source>对准中</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1502"/>
|
||||
<location filename="mainwindow.cpp" line="1777"/>
|
||||
<location filename="mainwindow.cpp" line="1852"/>
|
||||
<location filename="mainwindow.cpp" line="1901"/>
|
||||
<source>导航</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1505"/>
|
||||
<location filename="mainwindow.cpp" line="1780"/>
|
||||
<location filename="mainwindow.cpp" line="1855"/>
|
||||
<location filename="mainwindow.cpp" line="1904"/>
|
||||
<source>对准失败</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1508"/>
|
||||
<location filename="mainwindow.cpp" line="1533"/>
|
||||
<location filename="mainwindow.cpp" line="1783"/>
|
||||
<location filename="mainwindow.cpp" line="1807"/>
|
||||
<location filename="mainwindow.cpp" line="1858"/>
|
||||
<location filename="mainwindow.cpp" line="1883"/>
|
||||
<location filename="mainwindow.cpp" line="1907"/>
|
||||
<location filename="mainwindow.cpp" line="1931"/>
|
||||
<source>未知参数</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1521"/>
|
||||
<location filename="mainwindow.cpp" line="1795"/>
|
||||
<location filename="mainwindow.cpp" line="1871"/>
|
||||
<location filename="mainwindow.cpp" line="1919"/>
|
||||
<source>INS/大气</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1524"/>
|
||||
<location filename="mainwindow.cpp" line="1798"/>
|
||||
<location filename="mainwindow.cpp" line="1874"/>
|
||||
<location filename="mainwindow.cpp" line="1922"/>
|
||||
<source>INS/DGPS</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1527"/>
|
||||
<location filename="mainwindow.cpp" line="1801"/>
|
||||
<location filename="mainwindow.cpp" line="1877"/>
|
||||
<location filename="mainwindow.cpp" line="1925"/>
|
||||
<source>INS/GNSS</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1530"/>
|
||||
<location filename="mainwindow.cpp" line="1804"/>
|
||||
<location filename="mainwindow.cpp" line="1880"/>
|
||||
<location filename="mainwindow.cpp" line="1928"/>
|
||||
<source>GNSS</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1546"/>
|
||||
<location filename="mainwindow.cpp" line="1612"/>
|
||||
<source>投放|</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1546"/>
|
||||
<location filename="mainwindow.cpp" line="1250"/>
|
||||
<source>DGPS</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1253"/>
|
||||
<source>FLOAT</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1256"/>
|
||||
<source>INT</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1259"/>
|
||||
<source>GPS %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1396"/>
|
||||
<source>undef</source>
|
||||
<translation>点火段</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1399"/>
|
||||
<source>onGround</source>
|
||||
<translation>准备段</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1402"/>
|
||||
<source>inAir</source>
|
||||
<translation>下滑段</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1405"/>
|
||||
<source>TakeOff</source>
|
||||
<translation>投放段</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1408"/>
|
||||
<source>Landing</source>
|
||||
<translation>回收段</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1496"/>
|
||||
<source>内置大气</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1496"/>
|
||||
<source>外置大气</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1514"/>
|
||||
<source>已采集</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1514"/>
|
||||
<source>未采集</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1515"/>
|
||||
<source>点火成功</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1515"/>
|
||||
<source>未点火</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1612"/>
|
||||
<source>锁定|</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1547"/>
|
||||
<location filename="mainwindow.cpp" line="1613"/>
|
||||
<source>锁定</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1551"/>
|
||||
<location filename="mainwindow.cpp" line="1617"/>
|
||||
<source>保险|</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1551"/>
|
||||
<location filename="mainwindow.cpp" line="1617"/>
|
||||
<source>解除|</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1552"/>
|
||||
<location filename="mainwindow.cpp" line="1618"/>
|
||||
<source>工作</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1552"/>
|
||||
<location filename="mainwindow.cpp" line="1618"/>
|
||||
<source>上锁</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1655"/>
|
||||
<location filename="mainwindow.cpp" line="1716"/>
|
||||
<source>解算正常</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1659"/>
|
||||
<location filename="mainwindow.cpp" line="1720"/>
|
||||
<source>卫星数不足</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1663"/>
|
||||
<location filename="mainwindow.cpp" line="1724"/>
|
||||
<source>内部错误</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1667"/>
|
||||
<location filename="mainwindow.cpp" line="1728"/>
|
||||
<source>速度超限</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1681"/>
|
||||
<location filename="mainwindow.cpp" line="1699"/>
|
||||
<location filename="mainwindow.cpp" line="1742"/>
|
||||
<location filename="mainwindow.cpp" line="1760"/>
|
||||
<source>未知</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1685"/>
|
||||
<location filename="mainwindow.cpp" line="1746"/>
|
||||
<source>多普勒</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1689"/>
|
||||
<location filename="mainwindow.cpp" line="1750"/>
|
||||
<source>微分</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1702"/>
|
||||
<location filename="mainwindow.cpp" line="1763"/>
|
||||
<source>单点</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1705"/>
|
||||
<location filename="mainwindow.cpp" line="1766"/>
|
||||
<source>伪距差分</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1708"/>
|
||||
<location filename="mainwindow.cpp" line="1769"/>
|
||||
<source>SBAS广域差分</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1711"/>
|
||||
<location filename="mainwindow.cpp" line="1772"/>
|
||||
<source>广域差分</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1714"/>
|
||||
<location filename="mainwindow.cpp" line="1775"/>
|
||||
<source>RTK_FLOAT</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1717"/>
|
||||
<location filename="mainwindow.cpp" line="1778"/>
|
||||
<source>RTK_INT</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1720"/>
|
||||
<location filename="mainwindow.cpp" line="1781"/>
|
||||
<source>PPP_FLOAT</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1723"/>
|
||||
<location filename="mainwindow.cpp" line="1784"/>
|
||||
<source>PPP_INT</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1726"/>
|
||||
<location filename="mainwindow.cpp" line="1787"/>
|
||||
<source>FIXED</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1792"/>
|
||||
<location filename="mainwindow.cpp" line="1916"/>
|
||||
<source>N/A</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@@ -2647,7 +2685,7 @@
|
||||
<translation type="vanished">未支持</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1362"/>
|
||||
<location filename="mainwindow.cpp" line="1423"/>
|
||||
<source>flight mode</source>
|
||||
<translation>飞行模式</translation>
|
||||
</message>
|
||||
@@ -3573,7 +3611,8 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="ToolsUI/Senser/Senser.ui" line="793"/>
|
||||
<source>内部传感器</source>
|
||||
<source>内部大气机</source>
|
||||
<oldsource>内部传感器</oldsource>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
@@ -3583,7 +3622,8 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="ToolsUI/Senser/Senser.ui" line="687"/>
|
||||
<source>外部SBG</source>
|
||||
<source>外部惯导</source>
|
||||
<oldsource>外部SBG</oldsource>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
@@ -4470,12 +4510,12 @@ p, li { white-space: pre-wrap; }
|
||||
<translation>舵机监视器</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="ToolsUI/tools_Index4/tools_Index4.cpp" line="117"/>
|
||||
<location filename="ToolsUI/tools_Index4/tools_Index4.cpp" line="120"/>
|
||||
<source>Servos Port %1</source>
|
||||
<translation>端口%1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="ToolsUI/tools_Index4/tools_Index4.cpp" line="125"/>
|
||||
<location filename="ToolsUI/tools_Index4/tools_Index4.cpp" line="128"/>
|
||||
<source>ch%1</source>
|
||||
<translation>通道%1</translation>
|
||||
</message>
|
||||
|
||||
@@ -22,7 +22,7 @@ StateWidget::StateWidget(int flag,int index,QWidget *parent) : QWidget(parent)
|
||||
|
||||
gridlayout->addWidget(title,0,0,1,1);
|
||||
|
||||
if(flag == 0)
|
||||
if(flag != 1)
|
||||
{
|
||||
label = new QLabel("0");
|
||||
|
||||
@@ -37,7 +37,7 @@ StateWidget::StateWidget(int flag,int index,QWidget *parent) : QWidget(parent)
|
||||
setColor(state::gray);
|
||||
gridlayout->addWidget(label,0,1,1,1);
|
||||
}
|
||||
else
|
||||
else if(flag == 1)
|
||||
{
|
||||
bar = new QProgressBar();
|
||||
|
||||
@@ -54,6 +54,9 @@ StateWidget::StateWidget(int flag,int index,QWidget *parent) : QWidget(parent)
|
||||
gridlayout->addWidget(bar,0,1,1,1);
|
||||
}
|
||||
|
||||
type = flag;
|
||||
|
||||
|
||||
this->setLayout(gridlayout);
|
||||
this->resize(w,h+ 2 * m_offset);
|
||||
}
|
||||
@@ -82,7 +85,7 @@ StateWidget::StateWidget(int flag, QString t,QVariant v,state s,int index, QWidg
|
||||
|
||||
gridlayout->addWidget(title,0,0,1,1);
|
||||
|
||||
if(flag == 0)
|
||||
if(flag != 1)
|
||||
{
|
||||
label = new QLabel(v.toString());
|
||||
|
||||
@@ -97,7 +100,7 @@ StateWidget::StateWidget(int flag, QString t,QVariant v,state s,int index, QWidg
|
||||
setColor(s);
|
||||
gridlayout->addWidget(label,0,1,1,1);
|
||||
}
|
||||
else
|
||||
else if(flag == 1)
|
||||
{
|
||||
bar = new QProgressBar();
|
||||
|
||||
@@ -115,6 +118,8 @@ StateWidget::StateWidget(int flag, QString t,QVariant v,state s,int index, QWidg
|
||||
gridlayout->addWidget(bar,0,1,1,1);
|
||||
}
|
||||
|
||||
type = flag;
|
||||
|
||||
this->setLayout(gridlayout);
|
||||
this->resize(w,h + 2 * m_offset);
|
||||
}
|
||||
@@ -316,21 +321,43 @@ void StateWidget::setValue(QString s)
|
||||
{
|
||||
if(s.contains('|'))
|
||||
{
|
||||
QStringList list = s.split('|');
|
||||
//qDebug() << list;
|
||||
qreal last = 0;
|
||||
bool isDiff = false;
|
||||
foreach (QString ss, list) {
|
||||
bool nflag = false;
|
||||
qreal nn = ss.toDouble(&nflag);
|
||||
QStringList list = s.split('|');
|
||||
|
||||
bool isNum = false;
|
||||
|
||||
qreal last = 0;
|
||||
bool isDiff = false;
|
||||
foreach (QString ss, list) {
|
||||
bool nflag = false;
|
||||
qreal nn = ss.toDouble(&nflag);
|
||||
isNum = nflag;
|
||||
if(nflag)
|
||||
{
|
||||
isDiff = (qAbs(nn - last) > 1.0)?(true):(false);
|
||||
if(!stateMap.isEmpty())
|
||||
{
|
||||
bool flag_key = false;
|
||||
qreal limit = stateMap.begin().key().toDouble(&flag_key);
|
||||
if(flag_key)
|
||||
{
|
||||
isDiff = (qAbs(nn - last) > limit)?(true):(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
isDiff = (qAbs(nn - last) > 1.0)?(true):(false);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
isDiff = (qAbs(nn - last) > 1.0)?(true):(false);
|
||||
}
|
||||
}
|
||||
last = nn;
|
||||
}
|
||||
|
||||
if(isNum)
|
||||
{
|
||||
if(isDiff)
|
||||
{
|
||||
setColor(state::red);
|
||||
@@ -339,6 +366,18 @@ void StateWidget::setValue(QString s)
|
||||
{
|
||||
setColor(state::green);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(stateMap.keys().contains(s))
|
||||
{
|
||||
setColor(stateMap.value(s));
|
||||
}
|
||||
else
|
||||
{
|
||||
setColor(state::gray);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -118,6 +118,8 @@ private:
|
||||
|
||||
QMap<QVariant,state> stateMap;
|
||||
|
||||
bool type = 0;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
+18
-12
@@ -34,20 +34,20 @@ StatusUI::StatusUI(QWidget *parent) :
|
||||
install(base,0,"侧滑角[°]",0,QMap<QVariant, StateWidget::state>{{-20,StateWidget::state::red},{20,StateWidget::state::green}});
|
||||
install(base,0,"滚转角[°]",0,QMap<QVariant, StateWidget::state>{{-45,StateWidget::state::red},{45,StateWidget::state::green}});
|
||||
install(base,0,"俯仰角[°]",0,QMap<QVariant, StateWidget::state>{{-20,StateWidget::state::red},{20,StateWidget::state::green}});
|
||||
install(base,0,"航迹角[°]",0);
|
||||
install(base,0,"海拔[m]",0);
|
||||
install(base,0,"航迹角[°]",0,QMap<QVariant, StateWidget::state>{{-1.0,StateWidget::state::red},{361,StateWidget::state::green}});
|
||||
install(base,0,"海拔[m]",0,QMap<QVariant, StateWidget::state>{{1500,StateWidget::state::red},{999000,StateWidget::state::green}});
|
||||
install(base,0,"表速[m/s]",0,QMap<QVariant, StateWidget::state>{{100,StateWidget::state::red},{700,StateWidget::state::green}});
|
||||
install(base,0,"真空速[m/s]",0,QMap<QVariant, StateWidget::state>{{100,StateWidget::state::red},{700,StateWidget::state::green}});
|
||||
install(base,0,"地速[m/s]",0,QMap<QVariant, StateWidget::state>{{100,StateWidget::state::red},{700,StateWidget::state::green}});
|
||||
install(base,0,"马赫数[Ma]",0,QMap<QVariant, StateWidget::state>{{0.3,StateWidget::state::red},{0.8,StateWidget::state::green},{2,StateWidget::state::orange}});
|
||||
install(base,0,"爬升率[m/s]",0,QMap<QVariant, StateWidget::state>{{-80,StateWidget::state::red},{100,StateWidget::state::green},{500,StateWidget::state::orange}});
|
||||
|
||||
install(actuator,0,"左翼尖[°]",0);
|
||||
install(actuator,0,"右翼尖[°]",0);
|
||||
install(actuator,0,"左副翼[°]",0);
|
||||
install(actuator,0,"右副翼[°]",0);
|
||||
install(actuator,0,"左襟翼[°]",0);
|
||||
install(actuator,0,"右襟翼[°]",0);
|
||||
install(actuator,0,"左翼尖[°]",0,QMap<QVariant, StateWidget::state>{{2,StateWidget::state::red}});
|
||||
install(actuator,0,"右翼尖[°]",0,QMap<QVariant, StateWidget::state>{{2,StateWidget::state::red}});
|
||||
install(actuator,0,"左副翼[°]",0,QMap<QVariant, StateWidget::state>{{2,StateWidget::state::red}});
|
||||
install(actuator,0,"右副翼[°]",0,QMap<QVariant, StateWidget::state>{{2,StateWidget::state::red}});
|
||||
install(actuator,0,"左襟翼[°]",0,QMap<QVariant, StateWidget::state>{{2,StateWidget::state::red}});
|
||||
install(actuator,0,"右襟翼[°]",0,QMap<QVariant, StateWidget::state>{{2,StateWidget::state::red}});
|
||||
|
||||
install(e_fly,0,"位置状态",0,QMap<QVariant, StateWidget::state>{{"无效",StateWidget::state::red},{"有效",StateWidget::state::green}});
|
||||
//install(e_fly,0,"高度状态",0);
|
||||
@@ -79,13 +79,13 @@ StatusUI::StatusUI(QWidget *parent) :
|
||||
//install(e_fly,0,"IMU状态",0);
|
||||
//install(e_fly,0,"DGPS状态",0);
|
||||
|
||||
install(state,0,"投放状态",0,
|
||||
install(state,2,"投放状态",0,
|
||||
QMap<QVariant, StateWidget::state>{{"锁定|锁定",StateWidget::state::green},
|
||||
{"锁定|投放",StateWidget::state::orange},
|
||||
{"投放|锁定",StateWidget::state::orange},
|
||||
{"投放|投放",StateWidget::state::red}});
|
||||
//install(state,0,"脱离状态2",0);
|
||||
install(state,0,"火箭状态",0,
|
||||
install(state,2,"火箭状态",0,
|
||||
QMap<QVariant, StateWidget::state>{{"保险|工作",StateWidget::state::orange},
|
||||
{"保险|上锁",StateWidget::state::green},
|
||||
{"解除|工作",StateWidget::state::red},
|
||||
@@ -108,8 +108,14 @@ StatusUI::StatusUI(QWidget *parent) :
|
||||
QMap<QVariant, StateWidget::state>{{50,StateWidget::state::red},
|
||||
{80,StateWidget::state::orange},
|
||||
{100,StateWidget::state::green}});
|
||||
install(communication,0,"接收[B/s]",0);
|
||||
install(communication,0,"发送[B/s]",0);
|
||||
install(communication,0,"接收[B/s]",0,
|
||||
QMap<QVariant, StateWidget::state>{{500,StateWidget::state::red},
|
||||
{800,StateWidget::state::orange},
|
||||
{3000,StateWidget::state::green}});
|
||||
install(communication,0,"发送[B/s]",0,
|
||||
QMap<QVariant, StateWidget::state>{{5,StateWidget::state::red},
|
||||
{100,StateWidget::state::orange},
|
||||
{3000,StateWidget::state::green}});
|
||||
|
||||
|
||||
|
||||
|
||||
+18
-25
@@ -835,7 +835,6 @@ void MainWindow::keyPressEvent(QKeyEvent *event) //键盘按下事件
|
||||
break;
|
||||
}
|
||||
|
||||
//updateUI();
|
||||
|
||||
QWidget::keyPressEvent(event);
|
||||
}
|
||||
@@ -1132,7 +1131,7 @@ void MainWindow::updateUI()//事件驱动式更新数据
|
||||
{
|
||||
int currentUAV = map->getUAVCurrent();
|
||||
|
||||
/*
|
||||
|
||||
if(currentUAV < 1)//滤掉错值
|
||||
{
|
||||
return;
|
||||
@@ -1142,7 +1141,7 @@ void MainWindow::updateUI()//事件驱动式更新数据
|
||||
{
|
||||
return;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
//qDebug()<<"updeta";
|
||||
|
||||
@@ -1201,6 +1200,7 @@ void MainWindow::updateUI()//事件驱动式更新数据
|
||||
|
||||
//c t g m
|
||||
switch (copk->AirSpeedFlag()) {
|
||||
default:
|
||||
case 0:
|
||||
copk->setSpeed(dlink->mavlinknode->vehicleList.value(currentUAV).vfr_hud.airspeed,copk->AirSpeedFlag());//表速
|
||||
break;
|
||||
@@ -1217,7 +1217,7 @@ void MainWindow::updateUI()//事件驱动式更新数据
|
||||
}
|
||||
|
||||
copk->setAOA(dlink->mavlinknode->vehicleList.value(currentUAV).emb_atom_com.alpha);
|
||||
//copk->setOL(dlink->mavlinknode->vehicleList.value(currentUAV).ins1.az/(-9.8));
|
||||
copk->setOL(dlink->mavlinknode->vehicleList.value(currentUAV).ins1.az/(-9.8));
|
||||
|
||||
|
||||
copk->setVerticalSpeed(-dlink->mavlinknode->vehicleList.value(currentUAV).global_position_int.vz * 10e-3);//速度朝下为正
|
||||
@@ -1492,7 +1492,7 @@ void MainWindow::updateUI()//事件驱动式更新数据
|
||||
healthui->setColor(8,getBit(enabled,1)?(getBit(enabled,0)?(HealthUI::state::success):(HealthUI::state::warning)):(HealthUI::state::failure));//record
|
||||
healthui->setColor(9,getBit(enabled,2)?(HealthUI::state::success):(HealthUI::state::inital));//正在记录,未记录
|
||||
healthui->setValue(9,getBit(enabled,2)?(tr("正在写入")):(tr("停止写入")));//sel
|
||||
healthui->setColor(10,getBit(health,13)?(HealthUI::state::success):(HealthUI::state::warning));//内置大气:外置大气
|
||||
healthui->setColor(10,getBit(health,13)?(HealthUI::state::warning):(HealthUI::state::success));//内置大气:外置大气
|
||||
healthui->setValue(10,getBit(health,13)?(tr("内置大气")):(tr("外置大气")));//sel
|
||||
|
||||
healthui->setColor(11,getBit(health,15)?(HealthUI::state::failure):(HealthUI::state::inital));//气囊盖
|
||||
@@ -1511,7 +1511,7 @@ void MainWindow::updateUI()//事件驱动式更新数据
|
||||
|
||||
|
||||
|
||||
statusui->setValue(4,2,getBit(health,19)?(tr("已采集")):(tr("未采集")));
|
||||
statusui->setValue(4,2,getBit(health,19)?(tr("已采集")):(tr("未采集")));//加速度采集
|
||||
statusui->setValue(4,3,getBit(health,14)?(tr("点火成功")):(tr("未点火")));
|
||||
|
||||
//===================status ui =============================================
|
||||
@@ -1623,9 +1623,6 @@ void MainWindow::updateUI()//事件驱动式更新数据
|
||||
statusui->setValue(5,0,QString::number(dlink->mavlinknode->vehicleList.value(currentUAV).sys_status.voltage_battery * 0.001,'f',1));
|
||||
statusui->setValue(5,1,QString::number(dlink->mavlinknode->vehicleList.value(currentUAV).battery_status.voltages[2] * 0.001,'f',1));
|
||||
//========================6 dlink
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
toolsui->senser->setDAS(1,3,QString::number(dlink->mavlinknode->vehicleList.value(currentUAV).vfr_hud.alt,'f',1));
|
||||
@@ -1814,16 +1811,14 @@ void MainWindow::ins1_Update(mavlink_ins1_t ins)
|
||||
toolsui->senser->setINS(1,14,QString::number(ins.roll * 57.3,'f',1));
|
||||
toolsui->senser->setINS(1,15,QString::number(ins.pitch * 57.3,'f',1));
|
||||
toolsui->senser->setINS(1,16,QString::number(to360deg(ins.yaw * 57.3),'f',1));
|
||||
/*
|
||||
toolsui->senser->setINS(1,17,QString::number(to360deg(atan2(ins.v_east,
|
||||
ins.v_north) * 57.3),'f',1));
|
||||
*/
|
||||
|
||||
if((ins.v_east != 0)||
|
||||
(ins.v_north != 0))
|
||||
qreal east = ins.v_east;
|
||||
qreal north = ins.v_north;
|
||||
if((east != 0)||
|
||||
(north != 0))
|
||||
{
|
||||
toolsui->senser->setINS(1,17,QString::number(to360deg(atan2(ins.v_east,
|
||||
ins.v_north) * 57.3),'f',1));
|
||||
toolsui->senser->setINS(1,17,QString::number(to360deg(atan2(east,
|
||||
north) * 57.3),'f',1));
|
||||
}
|
||||
|
||||
toolsui->senser->setINS(1,18,QString::number(ins.gx,'f',1));
|
||||
@@ -1957,16 +1952,14 @@ void MainWindow::ins2_Update(mavlink_ins2_t ins)
|
||||
toolsui->senser->setINS(2,14,QString::number(ins.roll * 57.3,'f',1));
|
||||
toolsui->senser->setINS(2,15,QString::number(ins.pitch * 57.3,'f',1));
|
||||
toolsui->senser->setINS(2,16,QString::number(to360deg(ins.yaw * 57.3),'f',1));
|
||||
/*
|
||||
toolsui->senser->setINS(2,17,QString::number(to360deg(atan2(ins.v_east,
|
||||
ins.v_north) * 57.3),'f',1));
|
||||
*/
|
||||
|
||||
if((ins.v_east != 0)||
|
||||
(ins.v_north != 0))
|
||||
qreal east = ins.v_east;
|
||||
qreal north = ins.v_north;
|
||||
if((east != 0)||
|
||||
(north != 0))
|
||||
{
|
||||
toolsui->senser->setINS(2,17,QString::number(to360deg(atan2(ins.v_east,
|
||||
ins.v_north) * 57.3),'f',1));
|
||||
toolsui->senser->setINS(2,17,QString::number(to360deg(atan2(east,
|
||||
north) * 57.3),'f',1));
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -447,7 +447,7 @@ void Cockpit::setSpeed(double speed,uint8_t flag)
|
||||
|
||||
m_State.AirspeedFlag = flag;
|
||||
|
||||
m_State.speed = (qIsNaN(speed))?(0):(speed);;
|
||||
m_State.speed = (qIsNaN(speed))?(0):(speed);
|
||||
m_State.isUpdate = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -1035,11 +1035,11 @@ void MavLinkNode::StatusParse(mavlink_message_t msg)
|
||||
mavlink_msg_vfr_hud_decode(&msg,&vehicle.vfr_hud);
|
||||
|
||||
vfr_hud_csv.append(QString::number(vehicle.vfr_hud.airspeed)); vfr_hud_csv.append(',');
|
||||
vfr_hud_csv.append(QString::number(vehicle.vfr_hud.groundspeed)); vfr_hud_csv.append(',');
|
||||
vfr_hud_csv.append(QString::number(vehicle.vfr_hud.alt)); vfr_hud_csv.append(',');
|
||||
vfr_hud_csv.append(QString::number(vehicle.vfr_hud.climb)); vfr_hud_csv.append(',');
|
||||
vfr_hud_csv.append(QString::number(vehicle.vfr_hud.heading)); vfr_hud_csv.append(',');
|
||||
vfr_hud_csv.append(QString::number(vehicle.vfr_hud.throttle)); vfr_hud_csv.append('\n');
|
||||
vfr_hud_csv.append(QString::number(vehicle.vfr_hud.groundspeed)); vfr_hud_csv.append(',');
|
||||
vfr_hud_csv.append(QString::number(vehicle.vfr_hud.alt)); vfr_hud_csv.append(',');
|
||||
vfr_hud_csv.append(QString::number(vehicle.vfr_hud.climb)); vfr_hud_csv.append(',');
|
||||
vfr_hud_csv.append(QString::number(vehicle.vfr_hud.heading)); vfr_hud_csv.append(',');
|
||||
vfr_hud_csv.append(QString::number(vehicle.vfr_hud.throttle)); vfr_hud_csv.append('\n');
|
||||
|
||||
}break;
|
||||
case MAVLINK_MSG_ID_EMB_ATMO_COM: {
|
||||
|
||||
@@ -83,8 +83,6 @@ void DLink::bitTimerout(void)
|
||||
|
||||
if(time >= 2000)
|
||||
{
|
||||
//qDebug() << "bitTimerout";
|
||||
|
||||
out_bits = (double)outCount / (time * 0.001);
|
||||
in_bits = (double)inCount / (time * 0.001);
|
||||
|
||||
|
||||
+7
-7
@@ -78,37 +78,37 @@ Please first select the area of the map to rip with <CTRL>+Left mouse clic
|
||||
<context>
|
||||
<name>mapcontrol::OPMapWidget</name>
|
||||
<message>
|
||||
<location filename="mapwidget/opmapwidget.cpp" line="513"/>
|
||||
<location filename="mapwidget/opmapwidget.cpp" line="515"/>
|
||||
<source>Selete File...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mapwidget/opmapwidget.cpp" line="515"/>
|
||||
<location filename="mapwidget/opmapwidget.cpp" line="517"/>
|
||||
<source>command file (*.csv)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mapwidget/opmapwidget.cpp" line="1661"/>
|
||||
<location filename="mapwidget/opmapwidget.cpp" line="1663"/>
|
||||
<source>please create a plan</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mapwidget/opmapwidget.cpp" line="1666"/>
|
||||
<location filename="mapwidget/opmapwidget.cpp" line="1668"/>
|
||||
<source>start to send mossion %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mapwidget/opmapwidget.cpp" line="1695"/>
|
||||
<location filename="mapwidget/opmapwidget.cpp" line="1697"/>
|
||||
<source>send way point %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mapwidget/opmapwidget.cpp" line="1702"/>
|
||||
<location filename="mapwidget/opmapwidget.cpp" line="1704"/>
|
||||
<source>fail to send %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mapwidget/opmapwidget.cpp" line="1786"/>
|
||||
<location filename="mapwidget/opmapwidget.cpp" line="1788"/>
|
||||
<source>recieve way point %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
||||
Reference in New Issue
Block a user