Procházet zdrojové kódy

无人机飞行调整

maxiaoxiao před 4 měsíci
rodič
revize
69d543bca8
1 změnil soubory, kde provedl 6 přidání a 3 odebrání
  1. 6 3
      src/views/farmlandProtection/gdzl/wrjxx.vue

+ 6 - 3
src/views/farmlandProtection/gdzl/wrjxx.vue

@@ -112,7 +112,7 @@ export default {
       return window.axiosURI + "/file/upload/attachment" + url;
     },
     getData() {
-      getgdUav({ tilt: 80.0, height: 200.0 }).then((res) => {
+      getgdUav({ tilt: 80.0, height: 60.0 }).then((res) => {
         this.uavlsit = res.data;
       });
     },
@@ -224,9 +224,9 @@ export default {
         ) {
           // routeStop.waitTime = routeStop.index ? 0 : 2; // 在每个站点处停留1s
 
-          if (routeStop.index + 14 < uavitem.flightDtoList.length) {
+          if (routeStop.index + 17 < uavitem.flightDtoList.length) {
             that.addImg(
-              uavitem.flightDtoList[routeStop.index + 14],
+              uavitem.flightDtoList[routeStop.index + 17],
               uavitem.id
             );
           }
@@ -253,6 +253,9 @@ export default {
       this.addImg(uavitem.flightDtoList[9], uavitem.id);
       this.addImg(uavitem.flightDtoList[11], uavitem.id);
       this.addImg(uavitem.flightDtoList[13], uavitem.id);
+      this.addImg(uavitem.flightDtoList[14], uavitem.id);
+      this.addImg(uavitem.flightDtoList[15], uavitem.id);
+      this.addImg(uavitem.flightDtoList[16], uavitem.id);
       //初始化飞行管理
       // that.flyHOld = that.flyH;
       //注册站点到达事件