husq
2023-09-19 8e9a7434bd72959be5d8a2c7882189a800b85dfd
修改默认值
2 files modified
19 ■■■■ changed files
src/components/Jessibuca/Jessibuca.vue 1 ●●●● patch | view | raw | blame | history
src/components/g-map/DroneControlPanel.vue 18 ●●●● patch | view | raw | blame | history
src/components/Jessibuca/Jessibuca.vue
@@ -37,6 +37,7 @@
    text: '',
    // background: "bg.jpg",
    loadingText: '加载中',
    controlAutoHide: true,
    // hasAudio:false,
    debug: true,
    showBandwidth: showBandwidth.value, // 显示网速
src/components/g-map/DroneControlPanel.vue
@@ -342,12 +342,12 @@
const takeoffToPointPopoverData = reactive({
  visible: false,
  loading: false,
  latitude: null as null | number,
  longitude: null as null | number,
  height: null as null | number,
  securityTakeoffHeight: null as null | number,
  latitude: 28.62426114 as null | number,
  longitude: 115.85657177 as null | number,
  height: 120 as null | number,
  securityTakeoffHeight: 100 as null | number,
  maxSpeed: MAX_SPEED,
  rthAltitude: null as null | number,
  rthAltitude: 100 as null | number,
  rcLostAction: LostControlActionInCommandFLight.RETURN_HOME,
  exitWaylineWhenRcLost: WaylineLostControlActionInCommandFlight.EXEC_LOST_ACTION
})
@@ -355,10 +355,10 @@
function onShowTakeoffToPointPopover () {
  takeoffToPointPopoverData.visible = !takeoffToPointPopoverData.visible
  takeoffToPointPopoverData.loading = false
  takeoffToPointPopoverData.latitude = null
  takeoffToPointPopoverData.longitude = null
  takeoffToPointPopoverData.securityTakeoffHeight = null
  takeoffToPointPopoverData.rthAltitude = null
  takeoffToPointPopoverData.latitude = 28.62426114
  takeoffToPointPopoverData.longitude = 115.85657177
  takeoffToPointPopoverData.securityTakeoffHeight = 100
  takeoffToPointPopoverData.rthAltitude = 100
  takeoffToPointPopoverData.rcLostAction = LostControlActionInCommandFLight.RETURN_HOME
  takeoffToPointPopoverData.exitWaylineWhenRcLost = WaylineLostControlActionInCommandFlight.EXEC_LOST_ACTION
}