【类 型】:style 没影响
【原 因】: 【过 程】: 【影 响】: # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动
This commit is contained in:
parent
add4af2a4b
commit
0149d4be59
@ -407,7 +407,7 @@ export default {
|
||||
},
|
||||
/**
|
||||
* @description: 发布 mqtt 信息
|
||||
* @param {*} jsonData {'item':val} // item: questAss飞行航点任务 setPlaneState 设置飞机状态 getPlaneState获取飞机状态 resetState设置飞机初始状态 chan1油门通道1 chan2油门通道2 chan3油门通道3 chan4油门通道4 hookConteroller钩子控制 cameraController云台相机控制
|
||||
* @param {*} jsonData {'item':val} // item: questAss飞行航点任务 setPlaneState 设置飞机状态 resetState设置飞机初始状态 chan1油门通道1 chan2油门通道2 chan3油门通道3 chan4油门通道4 hookConteroller钩子控制 cameraController云台相机控制
|
||||
*/
|
||||
publishFun (jsonData) {
|
||||
if (this.plane) {
|
||||
|
@ -9,6 +9,7 @@
|
||||
<!-- 锁定状态 -->
|
||||
<div class="flex">
|
||||
<div class="tag flex mac mc iconfont" :class="isLockState ? 'icon-suoding' : 'icon-jiesuo'">
|
||||
{{ plane.planeState.state }}
|
||||
</div>
|
||||
</div>
|
||||
<!-- 飞机模式 -->
|
||||
@ -19,24 +20,28 @@
|
||||
<!-- 卫星 -->
|
||||
<div class="flex">
|
||||
<div class="tag flex mac mc iconfont icon-weixing">
|
||||
{{ plane.planeState.fixType }}
|
||||
</div>
|
||||
<!-- <div class=" tag flex mac mc f-s-16">
|
||||
<div class=" tag flex mac mc f-s-16">
|
||||
{{ satCount }}颗
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- 电池电压 -->
|
||||
<div class="flex">
|
||||
<div class="tag flex mac mc iconfont icon-dianya1">
|
||||
{{ plane.planeState.voltagBattery }}V
|
||||
</div>
|
||||
</div>
|
||||
<!-- 电池电流 -->
|
||||
<div class="flex">
|
||||
<div class="tag flex mac mc iconfont icon-dianliu">
|
||||
{{ plane.planeState.currentBattery }}A
|
||||
</div>
|
||||
</div>
|
||||
<!-- 飞机高度 -->
|
||||
<div class="flex">
|
||||
<div class="tag flex mac mc iconfont icon-gaodu">
|
||||
{{ plane.planeState.battCapacity }}
|
||||
</div>
|
||||
</div>
|
||||
<!-- 飞机对地速度 -->
|
||||
|
Loading…
Reference in New Issue
Block a user