机器状态页面 样式优化 对接新的 设备状态数据 ,xbox和 方向盘 需要 互斥控制 中英文优化,方向盘加入 点火熄火等功能,等待对接状态和远程控制和倒车影像

This commit is contained in:
mmc
2026-10-21 14:51:27 +08:00
parent 1034b6dbf8
commit 2758dd9643
8 changed files with 2312 additions and 617 deletions

View File

@@ -286,7 +286,7 @@
idle: 'Idle',
busy: 'Busy',
error: 'Error',
deviceControl: 'Device Control',
deviceControl: 'Robot Control',
realtimeVideo: 'Live Video',
takeoff: 'Take Off',
land: 'Land',
@@ -632,6 +632,57 @@
landingDockSnLabel: 'Landing Dock Sn Label',
leftView: 'Left View',
leftWheelDrive: 'Left Wheel Drive',
gamepadControl: 'Gamepad Control',
steeringControl: 'Steering Control',
disconnectGamepadFirst: 'Please disconnect the gamepad first',
liveBadge: 'Live',
totalWorkArea: 'Total Work Area',
totalWorkDuration: 'Total Work Duration',
totalWorkDistance: 'Total Work Distance',
motionStatus: 'Motion Status',
motionMoving: 'Moving',
motionStopped: 'Stopped',
motionBlocked: 'Blocked',
rtEmergency: 'Emergency Stop',
estopTriggered: 'Triggered',
estopNormal: 'Normal',
rtLeftTargetRpm: 'Left Target RPM',
rtRightTargetRpm: 'Right Target RPM',
rtLeftMeasureRpm: 'Left Measured RPM',
rtRightMeasureRpm: 'Right Measured RPM',
rtLeftMotorRpm: 'Left Motor RPM',
rtRightMotorRpm: 'Right Motor RPM',
gamepad: {
leftStick: 'Left Stick',
leftStickDesc: 'Control direction',
rightStick: 'Right Stick',
rightStickDesc: 'Control arm',
aKey: 'A Key',
aKeyDesc: 'Raise chassis',
bKey: 'B Key',
bKeyDesc: 'Lower chassis',
xKey: 'X Key',
xKeyDesc: 'Cutter faster',
yKey: 'Y Key',
yKeyDesc: 'Cutter slower',
lbKey: 'LB',
lbDesc: 'Ignition',
rbKey: 'RB',
rbDesc: 'Shut Down',
},
steer: {
ignition: 'Ignition',
ignitionHint: 'Start engine',
shutdown: 'Shut Down',
shutdownHint: 'Stop engine',
chassisUp: 'Raise Chassis',
chassisUpHint: 'Chassis up',
chassisDown: 'Lower Chassis',
chassisDownHint: 'Chassis down',
cutterControl: 'Cutter Control',
cutterAccel: 'Cutter Faster',
cutterDecel: 'Cutter Slower',
},
features: {
title: 'Feature Control',
emergencyStop: 'Emergency Stop',
@@ -802,6 +853,8 @@
realtimePicture: 'Realtime Picture',
realtimePowerData: 'Realtime Power Data',
realtimeSpeed: 'Realtime Speed',
forwardSpeed: 'Forward Speed',
turnSpeed: 'Turn Speed',
realtimeVideoMonitor: 'Realtime Video Monitor',
rechargeBtn: 'Recharge Btn',
rechargeCommandSent: 'Recharge Command Sent',
@@ -852,6 +905,7 @@
routeSavedLocal: 'Route Saved Local',
rtBattery: 'Battery',
rtHeadingAngle: 'rt Heading Angle',
rtRollAngle: 'rt Roll Angle',
rtHeadingStatus: 'rt Heading Status',
rtInitialized: 'rt Initialized',
rtLeftMotor: 'Left Motor',

View File

@@ -301,7 +301,7 @@ const zh = {
idle: '空闲',
busy: '忙碌',
error: '故障',
deviceControl: '设备控制',
deviceControl: '机器人控制',
realtimeVideo: '实时视频',
takeoff: '起飞',
land: '降落',
@@ -657,6 +657,59 @@ const zh = {
leftWheelDrive: '左轮驱动',
locationUnknown: '定位未知',
gamepadControl: '手柄控制',
steeringControl: '方向盘控制',
disconnectGamepadFirst: '请先断开手柄',
liveBadge: '直播中',
totalWorkArea: '累计作业面积',
totalWorkDuration: '累计作业时长',
totalWorkDistance: '累计作业里程',
motionStatus: '运动状态',
motionMoving: '行进中',
motionStopped: '已停止',
motionBlocked: '受阻',
rtEmergency: '急停状态',
estopTriggered: '已触发',
estopNormal: '正常',
rtLeftTargetRpm: '左目标转速',
rtRightTargetRpm: '右目标转速',
rtLeftMeasureRpm: '左测量转速',
rtRightMeasureRpm: '右测量转速',
rtLeftMotorRpm: '左电机转速',
rtRightMotorRpm: '右电机转速',
forwardSpeed: '前进速度',
turnSpeed: '转向速度',
gamepad: {
leftStick: '左摇杆',
leftStickDesc: '控制行进方向',
rightStick: '右摇杆',
rightStickDesc: '控制左右',
aKey: 'A 键',
aKeyDesc: '升底盘',
bKey: 'B 键',
bKeyDesc: '降底盘',
xKey: 'X 键',
xKeyDesc: '割刀加速',
yKey: 'Y 键',
yKeyDesc: '割刀减速',
lbKey: 'LB 键',
lbDesc: '点火',
rbKey: 'RB 键',
rbDesc: '熄火',
},
steer: {
ignition: '点火',
ignitionHint: '发动机启动',
shutdown: '熄火',
shutdownHint: '关闭发动机',
chassisUp: '底盘升起',
chassisUpHint: '底盘上升',
chassisDown: '底盘下降',
chassisDownHint: '底盘下降',
cutterControl: '割刀控制',
cutterAccel: '割刀加速',
cutterDecel: '割刀减速',
},
features: {
title: '功能控制',
emergencyStop: '急停',
@@ -882,16 +935,17 @@ const zh = {
rtHeadingAngle: '航向角度',
rtHeadingStatus: '航向状态',
rtInitialized: '已初始化',
rtLeftMotor: '左电机',
rtLeftMotor: '左电机电流',
rtLeftSpeed: '左速度',
rtLeftTemp: '左温度',
rtMainTemp: '主温度',
rtLeftTemp: '左电机温度',
rtMainTemp: '芯片温度',
rtMode: '模式',
rtPitchAngle: '俯仰角度',
rtRollAngle: '翻滚角度',
rtPositioning: '定位',
rtRightMotor: '右电机',
rtRightMotor: '右电机电流',
rtRightSpeed: '右速度',
rtRightTemp: '右温度',
rtRightTemp: '右电机温度',
rtSatellites: '卫星数量',
rtVoltage: '电压',
rthMode: '返航模式',
@@ -920,7 +974,7 @@ const zh = {
selectWayline: '选择航线',
selectedWaylineColon: '已选航线',
signalSatellite: '信号卫星',
situationMap: '态势地图',
situationMap: '地图',
smartAssign: '智能分配',
standbyCount: '待机数量',
startBtn: '开始按钮',