diff --git a/App/GCS_zh_CN.ts b/App/GCS_zh_CN.ts
index 0bc8bfd..92d66b7 100644
--- a/App/GCS_zh_CN.ts
+++ b/App/GCS_zh_CN.ts
@@ -470,57 +470,74 @@
-
+
+ 发送盘旋点指令
+经度(°):%1
+纬度(°):%2
+半径(km):%3
+
+
+
+
+
+
%1,%2 accepted and executed
%1,%2 发送成功
-
+
+
%1,%2 rejected
%1,%2 拒绝执行
-
+
+
%1,%2 permanently denied
%1,%2 永久拒绝
-
+
+
%1,%2 unsupported
%1,%2 不支持
-
+
+
%1,%2 failed
%1,%2 发送失败
-
+
+
%1,%2 being executed
%1,%2 正在执行
-
+
+
%1,%2 time out
%1,%2 发送超时
-
+
+
Please do not operate too fast, the last instruction has not been sent
请不要操作过快,上一个指令未发送完成
-
+
set mission :group %1,point %2
设置 第%1组,第%2点
-
+
point:
航点:
-
+
click confirm to set uav %1 as current
点击选择%1无人机
@@ -549,7 +566,7 @@
%1 正在执行
-
+
click confirm to set group %1 Point %2 as current point
click confirm to set Point %1 as current point
点击设置第%1组,航点%2为当前航点
@@ -1715,11 +1732,6 @@
Form
界面
-
-
- 机载电源
-
-
SBG
@@ -1727,11 +1739,12 @@
- 综控
+ 综合控制器
+ 综控
-
+
数据链
@@ -1740,6 +1753,51 @@
右升降
+
+
+ 开气囊舱
+
+
+
+
+ 伞舱门开
+
+
+
+
+ INS解算正常
+
+
+
+
+ 连接INS
+
+
+
+
+ 关加力
+
+
+
+
+ SBG解算正常
+
+
+
+
+ 油位计
+
+
+
+
+ INS
+
+
+
+
+ 机载电池
+
+
右副翼
@@ -1750,59 +1808,36 @@
方向舵
-
-
- 油位
- 油压
-
-
-
-
- 开气囊
-
-
- 开加力
-
-
-
-
- 记录打开
-
-
-
-
- 上行失效
+ 停车
+ 开加力
- 内置记录仪
+ 记录打开
+
+
+
+
+ 上行失效
- 内置写入
-
-
-
-
- 外置写入
-
-
-
-
- 外置记录仪
+ 记录写入
+ 内置写入
- 伞舱
+ 开伞舱
+ 伞舱
-
+
安控区内
@@ -1812,15 +1847,10 @@
-
+
空速管加热
-
-
- 内置惯导
-
-
左升降
@@ -1832,48 +1862,24 @@
-
+
ECU
-
-
- 内部GPS
-
-
-
-
- 外部GPS
-
-
状态
-
+
充气
-
-
- 停车
-
-
- 选择SBG
-
-
-
-
- 开伞
-
-
-
-
抛伞
+ 选择SBG
@@ -2158,36 +2164,36 @@
参数
-
-
+
+
Communication Lost
通讯丢失
-
-
+
+
Communication Regain
通讯已恢复
-
+
R:%1 / T:%2
收:%1/发:%2
-
-
-
+
+
+
未定位
-
+
%1D[%2颗]
%1D[%2颗]
-
+
fix[%1颗]
%1D Fix
差分[%1颗]
@@ -2205,193 +2211,198 @@
GPS错误
-
+
float[%1颗]
浮点[%1颗]
-
+
err[%1颗]
错误[%1颗]
-
+
ARM
解锁
-
+
DISARM
上锁
-
+
MANUAL
手动
-
+
ALTCTL
定高
-
+
POSCTL
定点
-
+
AUTO
自主
-
+
ACRO
-
+
OFFBOARD
-
+
STABILIZED
增稳
-
+
RATTITUDE
速率
-
+
STANDBY
待机
-
+
BIT
测试
-
+
AUTO_READY
就绪
-
+
AUTO_TAKEOFF
起飞
-
+
AUTO_LOITER
盘旋
-
+
AUTO_MISSION
任务
-
+
AUTO_RTL
返航
-
+
AUTO_LAND
着陆
-
+
AUTO_RTGS
RTGS
-
+
AUTO_FOLLOW_TARGET
目标跟随
-
+
开加力
-
+
半加力
-
+
全加力
-
-
+
+
关加力
-
- 伞舱开
+
+ 连接INS
-
- 伞舱关
-
-
-
-
+
INS解算正常
-
+
INS星数不足
-
+
INS内部错误
-
+
INS速度超限
-
+
SBG解算正常
-
+
SBG星数不足
-
+
SBG内部错误
-
+
SBG速度超限
-
+
安控区内
-
+
+ 伞舱门开
+
+
+
+
+ 伞舱门闭
+
+
+
+
安控区外
@@ -2400,60 +2411,60 @@
航线切换,当前航线为 %1
-
+
VERT_OFF
OFF
纵向制导关闭
-
+
VNAV2THT
消除纵向偏差
-
+
HDOT2THT
控制升降速率
-
+
GAMMA2THT
控制航迹角
-
+
AS2THT
俯仰控制速度
-
+
H2THT
控制绝对高度
-
+
AGL2THT
控制相对高度
-
+
LAT_OFF
横向制导关闭
-
+
LNAV2PHI
滚转消除侧偏
-
+
PSI2PHI
滚转控制航向
-
-
-
+
+
+
@@ -2462,156 +2473,156 @@
未定位
-
-
+
+
未初始化
-
-
+
+
垂直陀螺
-
-
+
+
AHRS
-
-
+
+
速度导航
-
-
+
+
位置导航
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
正常
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
无效
-
-
+
+
解算正常
-
-
+
+
卫星数不足
-
-
+
+
内部错误
-
-
+
+
速度超限
-
-
-
-
+
+
+
+
未知
-
-
+
+
多普勒
+
+
+
+ 微分
+
+
- 微分
-
-
-
-
-
单点
-
-
+
+
伪距差分
-
-
+
+
SBAS广域差分
-
-
+
+
广域差分
-
-
+
+
RTK_FLOAT
-
-
+
+
RTK_INT
-
-
+
+
PPP_FLOAT
-
-
+
+
PPP_INT
-
-
+
+
FIXED
@@ -2620,17 +2631,12 @@
未支持
-
+
flight mode
飞行模式
-
- 连接内置惯导
-
-
-
-
+
连接SBG
@@ -3283,295 +3289,254 @@ Circle(radius)
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
0
0
-
+
加力主燃油K
-
+
回传转速[rpm]
-
+
回传大气温度[℃]
-
+
回传加速度档位
-
- 内部参数
-
-
-
-
+
舵机K
-
+
舱壁温度上[℃]
舱壁温度1
-
+
回传空速[km/h]
-
+
电源电压[V]
-
+
舱壁温度右[℃]
舱壁温度2
-
+
回传高度[m]
-
+
当前燃油K值
-
+
加力点火燃油K
-
+
油量[kg]
-
+
返回指令
-
- 舵机位移[mm]
-
-
-
-
- rP51_Def
- rP51_Def[Kg/h]
-
-
-
-
+
Wf 测[Kg/h]
- Wf_Def[kg/h]
- Wf_Def[Kg/h]
-
-
-
-
油压[kPa]
油压
-
+
开车时间[h:m:s]
-
+
告警状态
全加力档
-
+
N超转
-
+
+ 起动失败
+
+
+
+
T5超温
-
+
加力点火失败
-
- 启动失败
-
-
-
-
- P3t超新
-
-
-
-
+
P5t超限
-
+
点火失败
-
+
故障状态
-
+
N2转速传感器
P3t出口总压传感器
-
+
电源
-
+
T5排气温度传感器
-
+
N1转速传感器
-
+
核心机主油泵输出
-
+
P1t进口总压传感器
-
+
加力点火油泵输出
-
- N2转速传感器
-
-
-
-
+
P5t涡轮后压力感器
-
+
加力主油泵输出
-
+
T1t进口总温传感器
-
+
CPU
-
+
舵机位移传感器
-
- 舵机控制器
-
-
-
-
+
PowerSyste
-
+
正常档位
-
+
加速档
-
+
期望
-
+
压比
-
+
Wf测
-
+
物理
期望物理转速
-
+
马赫
@@ -3738,121 +3703,126 @@ Circle(radius)
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
+
-
-
-
+
+
0
0
-
+
+ INS
+
+
+
+
海拔[m]
-
+
GPS
-
+
BIT
测试
-
+
+ SBG
+
+
+
+
纬度[°]
-
+
速度状态
-
+
p[°/s]
-
+
航向状态
-
+
姿态状态
-
- 外部大气机
-
-
-
-
+
位置状态
-
+
气压高度[m]
-
+
表速[m/s]
-
+
真空速[m/s]
@@ -3862,97 +3832,82 @@ Circle(radius)
-
+
动压[hPa]
-
+
静压[hPa]
-
- 内部大气机
-
-
-
-
+
惯导状态
-
+
COM
-
+
卫星数
-
+
r[°/s]
-
- 外部惯导
-
-
-
-
+
System
-
+
滚转角[°]
-
- 内部惯导
-
-
-
-
+
q[°/s]
-
+
俯仰角[°]
-
+
马赫数
-
+
ax[m/s2]
-
+
经度[°]
-
+
地速[m/s]
-
+
ay[m/s2]
-
+
航向角[°]
@@ -3962,12 +3917,12 @@ Circle(radius)
-
+
航迹角[°]
-
+
az[m/s2]
@@ -3985,178 +3940,188 @@ Circle(radius)
伺服界面
-
+
舵机
-
-
-
-
-
-
+
+
+
+
+
+
上电自检
-
+
左副翼
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
0
0
-
-
-
-
-
+
+
+
+
+
指令位
-
-
-
-
-
+
+
+
+
+
地面自检
-
-
-
-
-
+
+
+
+
+
当前位
-
-
-
-
-
+
+
+
+
+
找零
-
+
右升降
-
+
右副翼
-
+
左升降
-
+
+ 大气机空速
+
+
+
+
+ 载荷供电指令
+
+
+
+
发动机指令
发动机指令
-
+
控制指令
-
+
紧急停车
-
+
停车
-
+
冷运转
-
+
关加力
-
+
全加力档
-
+
半加力档
-
+
半加力
-
+
全加力
+
-
给定转速
-
+
地面起动
-
+
测试指令
-
+
测试
-
+
测试项
-
+
测试值
@@ -4166,298 +4131,288 @@ Circle(radius)
-
+
千克
-
+
油量
-
+
油量设定
-
+
参数设置
-
+
无人机#
-
+
外置大气机
-
+
选择惯导
-
+
选择
-
+
IAS_SEL
-
+
地速算空速
-
- 内置大气机
-
-
-
-
+
加热关闭
-
+
加热打开
加热1开
-
- 电源指令
-
-
-
-
+
500瓦打开
-
+
500瓦关闭
-
+
500瓦电源
500W电源
-
+
BIT模式选择
-
+
舵面测试
-
+
增稳测试
-
+
手控测试
-
+
扫频
-
+
舵机指令
-
+
舵面找零
-
+
地面自检
-
+
舵机工作
-
+
设定
-
+
归零
-
+
选择舵机
-
+
角度值
-
+
扫频设置
-
+
副翼
-
+
升降
-
-
+
+
方向舵
-
+
幅值
-
+
结束频率(Hz)
-
+
开始频率(Hz)
-
- 扫频频率变化率(Hz/s)
-
-
-
-
+
开始测试
-
+
停止测试
-
+
待发指令
-
+
发送
-
+
取消
-
+
+ 频率变化率(Hz/s)
+
+
+
+
曳光管指令
-
+
点亮曳光管
发射曳光管
-
-
+
+
曳光管
-
+
500瓦开
-
+
+ 机载电池
+
+
+
+
版本信息
-
+
飞控固件版本号:
-
+
HIL模式状态:
-
- 电源
-
-
-
-
+
28V剩余电量(%)
-
+
56V模块温度(℃)
-
+
机载28V电压(V)
机载28V电压
-
+
56V剩余电量(%)
-
+
28V模块温度(℃)
-
+
状态
-
+
28V电源
@@ -4478,33 +4433,33 @@ Circle(radius)
5803A
-
+
机载电源
-
+
机载56V电压(V)
-
+
机载56V电流(A)
-
+
机载28V电流(A)
-
+
56V电源
-
-
+
+
空速管加热
@@ -4803,12 +4758,14 @@ Circle(radius)
- 机载电源[V/A]
+ 28V输出[V/A]
+ 机载电源[V/A]
- 舵机电源[V/A]
+ 56V输出[V/A]
+ 舵机电源[V/A]
@@ -4921,7 +4878,8 @@ Circle(radius)
- 电池
+ 机载电池
+ 电池
diff --git a/App/mainwindow.cpp b/App/mainwindow.cpp
index e6db1e8..128a0fc 100644
--- a/App/mainwindow.cpp
+++ b/App/mainwindow.cpp
@@ -1586,6 +1586,10 @@ void MainWindow::updateUI()//事件驱动式更新数据
//healthui->setState(7,getBit(health,29)?(getBit(health,28)?(HealthUI::state::success):(HealthUI::state::warning)):(HealthUI::state::failure));//空速管加热
healthui->setState(7,getBit(health,5)?(getBit(health,11)?(HealthUI::state::success):(HealthUI::state::warning)):(HealthUI::state::failure));//FuelLevel
//8,9,10位为空
+ healthui->setState(8,HealthUI::state::inital);
+ healthui->setState(9,HealthUI::state::inital);
+ healthui->setState(10,HealthUI::state::inital);
+
toolsui->servosystem->setCheckState(6,getBit(health,22)?(HealthUI::state::failure):(HealthUI::state::success));
toolsui->servosystem->setCheckState(7,getBit(health,23)?(HealthUI::state::failure):(HealthUI::state::success));
diff --git a/Cockpit/COCKPIT_zh_CN.qm b/Cockpit/COCKPIT_zh_CN.qm
index 55252b8..08c75e2 100644
Binary files a/Cockpit/COCKPIT_zh_CN.qm and b/Cockpit/COCKPIT_zh_CN.qm differ
diff --git a/Cockpit/COCKPIT_zh_CN.ts b/Cockpit/COCKPIT_zh_CN.ts
index 0a771c7..805f86a 100644
--- a/Cockpit/COCKPIT_zh_CN.ts
+++ b/Cockpit/COCKPIT_zh_CN.ts
@@ -4,27 +4,27 @@
Cockpit
-
- 绝对
-
+
+ abs
+ 绝对
-
- 相对
-
+
+ rel
+ 相对
-
- 气压
-
+
+ prs
+ 气压
-
+
-
-
-
+
heart:
心跳:
diff --git a/Cockpit/Cockpit.cpp b/Cockpit/Cockpit.cpp
index 3813afb..b5d8325 100644
--- a/Cockpit/Cockpit.cpp
+++ b/Cockpit/Cockpit.cpp
@@ -1651,15 +1651,15 @@ void Cockpit::drawRightScale(QPainter *painter)
switch (m_State.AltitudeFlag) {
default:
case 0: //绝对高度
- alt_str = tr("绝对");
+ alt_str = tr("abs");
ePen.setColor(m_Color.NormalColor);
break;
case 1: //相对高度
- alt_str = tr("相对");
+ alt_str = tr("rel");
ePen.setColor(m_Color.WarningColor);
break;
case 2: //气压高度
- alt_str = tr("气压");
+ alt_str = tr("prs");
ePen.setColor(m_Color.NoticeColor);
break;
}
diff --git a/MavLinkNode/MAVLINKNODE_zh_CN.ts b/MavLinkNode/MAVLINKNODE_zh_CN.ts
index 3df4f6a..dbab24e 100644
--- a/MavLinkNode/MAVLINKNODE_zh_CN.ts
+++ b/MavLinkNode/MAVLINKNODE_zh_CN.ts
@@ -4,7 +4,7 @@
MavLinkNode
-
+
出现新的设备,识别号为 %1
diff --git a/opmap/MAP_zh_CN.qm b/opmap/MAP_zh_CN.qm
index bab6b7f..96cc791 100644
Binary files a/opmap/MAP_zh_CN.qm and b/opmap/MAP_zh_CN.qm differ
diff --git a/opmap/MAP_zh_CN.ts b/opmap/MAP_zh_CN.ts
index efd7e00..9b16ac3 100644
--- a/opmap/MAP_zh_CN.ts
+++ b/opmap/MAP_zh_CN.ts
@@ -34,6 +34,88 @@
正在下载图片 %1,总数%2
+
+ WayPointParamDialog
+
+
+ Dialog
+
+
+
+
+
+ °
+ °
+
+
+
+ 方向:
+ 方向:
+
+
+
+ 半径:
+ 半径:
+
+
+
+ 高度
+ 高度
+
+
+
+ km
+ km
+
+
+
+ m
+ m
+
+
+
+ 纬度
+ 纬度:
+
+
+
+ 经度:
+ 经度:
+
+
+
+ 右盘旋
+ 右盘旋
+
+
+
+ 左盘旋
+ 左盘旋
+
+
+
+ ok
+ 确定
+
+
+
+ cancel
+ 取消
+
+
+
+ delete
+ 删除
+
+
+
+ WayPointParamMenu
+
+
+ Form
+
+
+
mapcontrol::AltitudeItem
@@ -83,82 +165,82 @@ Please first select the area of the map to rip with <CTRL>+Left mouse clic
-
+
start rip map
开始缓存地图
-
+
stop rip map
停止缓存地图
-
+
Load Geo Fence File :%1
导入围栏文件:%1
-
+
Load Mission File:Group %1,%2
导入航线文件:第%1组航线,%2
-
+
Save Fence File:%1
保存围栏文件:%1
-
+
Save Mission File:Group %1,%2
保存航线文件:第%1组航线,%2
-
+
please load fence first
请先导入围栏
-
+
start upload fence,total:%1
开始上传围栏,总数%1
-
+
please load mission first
请先导入航线
-
+
start upload mission %1,total %2
开始上传航线%1,总数%2
-
+
upload Mission
上传航点
-
+
upload fail %1
上传失败 %1
-
+
recieve fence polygon inclusion: %1
接收到多边形安控区 :%1
-
+
recieve fence polygon exclusion: %1
接收到多边形禁飞区 :%1
-
+
recieve fence circle inclusion: %1
接收到圆形安控区 :%1
-
+
recieve fence circle exclusion: %1
接收到圆形禁飞区 :%1
@@ -167,7 +249,7 @@ Please first select the area of the map to rip with <CTRL>+Left mouse clic
围栏
-
+
recieve way point group:%1 seq:%2
收到航点:第%1组,第%2点
@@ -214,94 +296,94 @@ Ma:%2
航点
-
+
return
返航
-
+
landing
降落
-
+
takeoff
起飞
-
+
unknow
未知类型
-
+
hold
保持
-
+
cas
表速
-
-
-
-
-
+
+
+
+
+
Ma: %1
马赫:%1
-
+
Vz
快升
-
+
onAB
开加力
-
+
offAB
关加力
-
+
unknow
未知指令
-
+
-
-
-
-
-
+
+
+
+
+
Speed: %1m/s
速度:%1m/s
-
+
Height: %1m
%2
高度:%1m
diff --git a/opmap/mapwidget/circlepointitem.cpp b/opmap/mapwidget/circlepointitem.cpp
index f13e21b..e61bd8e 100644
--- a/opmap/mapwidget/circlepointitem.cpp
+++ b/opmap/mapwidget/circlepointitem.cpp
@@ -34,7 +34,7 @@ CirclePointItem::CirclePointItem(mapcontrol::MapGraphicItem *map, QPointF const
QPen pen1 = this->pen();
pen1.setColor(QColor("#0174DF"));
setPen(pen1);
- setRect(-8, -8, 16, 16);
+ setRect(-10, -10, 20, 20);
@@ -176,13 +176,14 @@ void CirclePointItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *o
painter->save();
- QFont font;
QPen myPen;
- font.setWeight(QFont::ExtraBold);
+ QFont font;
+ font.setWeight(QFont::ExtraLight);
font.setFamily("Arial");//非衬线
- font.setPixelSize(18);
+ font.setPixelSize(12);
painter->setFont(font);
+
myPen.setWidth(1);
myPen.setColor(QColor("#FFFFFF"));
painter->setPen(myPen);
diff --git a/opmap/mapwidget/waypointparamdialog.cpp b/opmap/mapwidget/waypointparamdialog.cpp
index b9beaa5..977ef71 100644
--- a/opmap/mapwidget/waypointparamdialog.cpp
+++ b/opmap/mapwidget/waypointparamdialog.cpp
@@ -13,6 +13,10 @@ WayPointParamDialog::WayPointParamDialog(QWidget *parent, Qt::WindowFlags f) :
setWindowFlag(Qt::SubWindow);
// connect(ui->buttonBox, &QDialogButtonBox::accepted, this, [=](){ emit ok(); }, Qt::DirectConnection );
+
+ ui->buttonBox->button(QDialogButtonBox::Ok)->setText(tr("ok"));
+ ui->buttonBox->button(QDialogButtonBox::Cancel)->setText(tr("cancel"));
+
connect(ui->buttonBox, &QDialogButtonBox::rejected, this, [=](){ isOk = false; emit cancel(); }, Qt::DirectConnection );
connect(ui->buttonBox, &QDialogButtonBox::accepted, this, &WayPointParamDialog::acceptedSlot);
connect(ui->buttonBox, &QDialogButtonBox::accepted, this, &WayPointParamDialog::setButtonString);
@@ -34,7 +38,7 @@ void WayPointParamDialog::setlngLat(double lng, double lat)
void WayPointParamDialog::setButtonString()
{
QPushButton *btn = ui->buttonBox->button(QDialogButtonBox::Cancel);
- btn->setText("delete");
+ btn->setText(tr("delete"));
disconnect(ui->buttonBox, &QDialogButtonBox::accepted, this, &WayPointParamDialog::setButtonString);
connect(ui->buttonBox, &QDialogButtonBox::rejected, this, [this](){ emit remove(); } );
}