From 2acd9cd2be3f6cf31248702dca69beda055b7d62 Mon Sep 17 00:00:00 2001 From: Bryce Allen Date: Sat, 23 Sep 2023 12:38:21 -0400 Subject: [PATCH] add dragonfly (WIP) --- model12.yml | 1260 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1260 insertions(+) create mode 100644 model12.yml diff --git a/model12.yml b/model12.yml new file mode 100644 index 0000000..ae04cb9 --- /dev/null +++ b/model12.yml @@ -0,0 +1,1260 @@ +semver: 2.9.0 +header: + name: Dragonfly + bitmap: "" + labels: "" + modelId: + 1: + val: 2 +timers: + 0: + swtch: NONE + mode: THR + name: Thr + minuteBeep: 0 + countdownBeep: 2 + start: 510 + persistent: 0 + countdownStart: -2 + value: 0 + showElapsed: 0 + extraHaptic: 0 +noGlobalFunctions: 0 +thrTrim: 0 +trimInc: 0 +displayTrims: 2 +ignoreSensorIds: 0 +showInstanceIds: 0 +disableThrottleWarning: 0 +enableCustomThrottleWarning: 0 +customThrottleWarningPosition: 0 +beepANACenter: 0 +extendedLimits: 0 +extendedTrims: 0 +throttleReversed: 0 +flightModeData: + 0: + trim: + 2: + value: 0 + mode: 31 + name: Begin + fadeIn: 0 + fadeOut: 0 + gvars: + 0: + val: -100 + 1: + val: 75 + 2: + val: 25 + 4: + val: 70 + 6: + val: 50 + 1: + trim: + 2: + value: 0 + mode: 31 + swtch: 6P21 + name: Mid + fadeIn: 0 + fadeOut: 0 + gvars: + 0: + val: 0 + 2: + trim: + 2: + value: 0 + mode: 31 + swtch: 6P22 + name: Expert + fadeIn: 0 + fadeOut: 0 + gvars: + 0: + val: 100 + 3: + trim: + 2: + value: 0 + mode: 31 + swtch: 6P23 + name: TrA + fadeIn: 0 + fadeOut: 0 + gvars: + 3: + val: 1 + 4: + val: 70 + 7: + val: 1 + 4: + trim: + 2: + value: 0 + mode: 31 + swtch: 6P24 + name: TrAER + fadeIn: 0 + fadeOut: 0 + gvars: + 3: + val: 2 + 4: + val: 70 + 7: + val: 2 + 5: + trim: + 2: + value: 0 + mode: 31 + swtch: 6P25 + name: TrAETR + fadeIn: 0 + fadeOut: 0 + gvars: + 3: + val: 3 + 4: + val: 100 + 5: + val: 1 + 7: + val: 3 + 6: + trim: + 2: + value: 0 + mode: 31 + swtch: NONE + name: "" + fadeIn: 0 + fadeOut: 0 + 7: + trim: + 2: + value: 0 + mode: 31 + swtch: NONE + name: "" + fadeIn: 0 + fadeOut: 0 +mixData: + - destCh: 0 + srcRaw: I0 + weight: 100 + swtch: NONE + curve: + type: 0 + value: 0 + delayUp: 0 + delayDown: 0 + speedUp: 0 + speedDown: 0 + carryTrim: 0 + mltpx: ADD + mixWarn: 0 + flightModes: 000000000 + offset: 0 + name: "" + - destCh: 1 + srcRaw: I0 + weight: 100 + swtch: NONE + curve: + type: 0 + value: 0 + delayUp: 0 + delayDown: 0 + speedUp: 0 + speedDown: 0 + carryTrim: 0 + mltpx: ADD + mixWarn: 0 + flightModes: 000000000 + offset: 0 + name: "" + - destCh: 2 + srcRaw: I1 + weight: 100 + swtch: NONE + curve: + type: 0 + value: 0 + delayUp: 0 + delayDown: 0 + speedUp: 0 + speedDown: 0 + carryTrim: 0 + mltpx: ADD + mixWarn: 0 + flightModes: 000000000 + offset: 0 + name: "" + - destCh: 3 + srcRaw: I2 + weight: 100 + swtch: NONE + curve: + type: 0 + value: 0 + delayUp: 0 + delayDown: 0 + speedUp: 0 + speedDown: 0 + carryTrim: 0 + mltpx: ADD + mixWarn: 0 + flightModes: 000000000 + offset: 0 + name: "" + - destCh: 4 + srcRaw: I4 + weight: 100 + swtch: NONE + curve: + type: 0 + value: 0 + delayUp: 0 + delayDown: 0 + speedUp: 0 + speedDown: 0 + carryTrim: 0 + mltpx: ADD + mixWarn: 0 + flightModes: 000000000 + offset: 0 + name: Rev + - destCh: 5 + srcRaw: I3 + weight: 100 + swtch: NONE + curve: + type: 0 + value: 0 + delayUp: 0 + delayDown: 0 + speedUp: 0 + speedDown: 0 + carryTrim: 0 + mltpx: ADD + mixWarn: 0 + flightModes: 000000000 + offset: 0 + name: "" + - destCh: 19 + srcRaw: Ail + weight: 100 + swtch: L20 + curve: + type: 2 + value: 3 + delayUp: 0 + delayDown: 0 + speedUp: 0 + speedDown: 0 + carryTrim: 1 + mltpx: ADD + mixWarn: 0 + flightModes: 000000000 + offset: 0 + name: Ail + - destCh: 19 + srcRaw: Ele + weight: 100 + swtch: L21 + curve: + type: 2 + value: 3 + delayUp: 0 + delayDown: 0 + speedUp: 0 + speedDown: 0 + carryTrim: 1 + mltpx: ADD + mixWarn: 0 + flightModes: 000000000 + offset: 0 + name: Ele + - destCh: 19 + srcRaw: Rud + weight: 100 + swtch: L21 + curve: + type: 2 + value: 3 + delayUp: 0 + delayDown: 0 + speedUp: 0 + speedDown: 0 + carryTrim: 1 + mltpx: ADD + mixWarn: 0 + flightModes: 000000000 + offset: 0 + name: Rud + - destCh: 20 + srcRaw: Ail + weight: 100 + swtch: NONE + curve: + type: 0 + value: 0 + delayUp: 0 + delayDown: 0 + speedUp: 0 + speedDown: 0 + carryTrim: 0 + mltpx: ADD + mixWarn: 0 + flightModes: 000000000 + offset: 0 + name: InA + - destCh: 20 + srcRaw: tr(0) + weight: GV5 + swtch: L20 + curve: + type: 0 + value: 0 + delayUp: 0 + delayDown: 0 + speedUp: 0 + speedDown: 0 + carryTrim: 0 + mltpx: REPL + mixWarn: 0 + flightModes: 000000000 + offset: 0 + name: StA + - destCh: 21 + srcRaw: Ele + weight: 100 + swtch: NONE + curve: + type: 0 + value: 0 + delayUp: 0 + delayDown: 0 + speedUp: 0 + speedDown: 0 + carryTrim: 0 + mltpx: ADD + mixWarn: 0 + flightModes: 000000000 + offset: 0 + name: InE + - destCh: 21 + srcRaw: tr(1) + weight: GV5 + swtch: L21 + curve: + type: 0 + value: 0 + delayUp: 0 + delayDown: 0 + speedUp: 0 + speedDown: 0 + carryTrim: 0 + mltpx: REPL + mixWarn: 0 + flightModes: 000000000 + offset: 0 + name: StE + - destCh: 22 + srcRaw: Thr + weight: 100 + swtch: NONE + curve: + type: 0 + value: 0 + delayUp: 0 + delayDown: 0 + speedUp: 0 + speedDown: 0 + carryTrim: 0 + mltpx: ADD + mixWarn: 0 + flightModes: 000000000 + offset: 0 + name: InT + - destCh: 22 + srcRaw: tr(2) + weight: 100 + swtch: L22 + curve: + type: 0 + value: 0 + delayUp: 0 + delayDown: 0 + speedUp: 0 + speedDown: 0 + carryTrim: 0 + mltpx: REPL + mixWarn: 0 + flightModes: 000000000 + offset: 0 + name: StT + - destCh: 23 + srcRaw: Rud + weight: 100 + swtch: NONE + curve: + type: 0 + value: 0 + delayUp: 0 + delayDown: 0 + speedUp: 0 + speedDown: 0 + carryTrim: 0 + mltpx: ADD + mixWarn: 0 + flightModes: 000000000 + offset: 0 + name: InR + - destCh: 23 + srcRaw: tr(3) + weight: GV5 + swtch: L21 + curve: + type: 0 + value: 0 + delayUp: 0 + delayDown: 0 + speedUp: 0 + speedDown: 0 + carryTrim: 0 + mltpx: REPL + mixWarn: 0 + flightModes: 000000000 + offset: 0 + name: StR +limitData: + 0: + min: 0 + max: 0 + revert: 0 + offset: 0 + ppmCenter: 0 + symetrical: 0 + name: AilR + curve: 0 + 1: + min: 0 + max: 0 + revert: 0 + offset: 0 + ppmCenter: 0 + symetrical: 0 + name: AilL + curve: 0 + 2: + min: 0 + max: 0 + revert: 0 + offset: 0 + ppmCenter: 0 + symetrical: 0 + name: Ele + curve: 0 + 3: + min: 0 + max: 0 + revert: 0 + offset: 0 + ppmCenter: 0 + symetrical: 0 + name: Thr + curve: 0 + 4: + min: 0 + max: 0 + revert: 0 + offset: 0 + ppmCenter: 0 + symetrical: 0 + name: Rev + curve: 0 + 5: + min: 0 + max: 0 + revert: 0 + offset: 0 + ppmCenter: 0 + symetrical: 0 + name: Rud + curve: 0 + 6: + min: 0 + max: 0 + revert: 0 + offset: 0 + ppmCenter: 0 + symetrical: 0 + name: "" + curve: 0 + 7: + min: 0 + max: 0 + revert: 0 + offset: 0 + ppmCenter: 0 + symetrical: 0 + name: "" + curve: 0 + 8: + min: 0 + max: 0 + revert: 0 + offset: 0 + ppmCenter: 0 + symetrical: 0 + name: "" + curve: 0 + 19: + min: 0 + max: 0 + revert: 0 + offset: 0 + ppmCenter: 0 + symetrical: 0 + name: EndT + curve: 0 + 20: + min: 0 + max: 0 + revert: 0 + offset: 0 + ppmCenter: 0 + symetrical: 0 + name: ISA + curve: 0 + 21: + min: 0 + max: 0 + revert: 0 + offset: 0 + ppmCenter: 0 + symetrical: 0 + name: ISE + curve: 0 + 22: + min: 0 + max: 0 + revert: 0 + offset: 0 + ppmCenter: 0 + symetrical: 0 + name: IST + curve: 0 + 23: + min: 0 + max: 0 + revert: 0 + offset: 0 + ppmCenter: 0 + symetrical: 0 + name: ISR + curve: 0 +expoData: + - srcRaw: ch(20) + scale: 0 + mode: 3 + chn: 0 + swtch: SC0 + flightModes: 000000000 + weight: 100 + offset: 0 + curve: + type: 0 + value: 0 + trimSource: -4 + name: "" + - srcRaw: ch(20) + scale: 0 + mode: 3 + chn: 0 + swtch: SC1 + flightModes: 000000000 + weight: 90 + offset: 0 + curve: + type: 1 + value: 25 + trimSource: -4 + name: "" + - srcRaw: ch(20) + scale: 0 + mode: 3 + chn: 0 + swtch: SC2 + flightModes: 000000000 + weight: GV2 + offset: 0 + curve: + type: 1 + value: GV3 + trimSource: -4 + name: "" + - srcRaw: ch(21) + scale: 0 + mode: 3 + chn: 1 + swtch: SC0 + flightModes: 000000000 + weight: 100 + offset: 0 + curve: + type: 0 + value: 0 + trimSource: 0 + name: "" + - srcRaw: ch(21) + scale: 0 + mode: 3 + chn: 1 + swtch: SC1 + flightModes: 000000000 + weight: 90 + offset: 0 + curve: + type: 1 + value: 25 + trimSource: 0 + name: "" + - srcRaw: ch(21) + scale: 0 + mode: 3 + chn: 1 + swtch: SC2 + flightModes: 000000000 + weight: GV2 + offset: 0 + curve: + type: 1 + value: GV3 + trimSource: 0 + name: "" + - srcRaw: ch(22) + scale: 0 + mode: 3 + chn: 2 + swtch: NONE + flightModes: 000000000 + weight: 100 + offset: 0 + curve: + type: 0 + value: 0 + trimSource: -3 + name: "" + - srcRaw: ch(23) + scale: 0 + mode: 3 + chn: 3 + swtch: SC0 + flightModes: 000000000 + weight: 100 + offset: 0 + curve: + type: 0 + value: 0 + trimSource: 0 + name: "" + - srcRaw: ch(23) + scale: 0 + mode: 3 + chn: 3 + swtch: SC1 + flightModes: 000000000 + weight: 90 + offset: 0 + curve: + type: 1 + value: 25 + trimSource: 0 + name: "" + - srcRaw: ch(23) + scale: 0 + mode: 3 + chn: 3 + swtch: SC2 + flightModes: 000000000 + weight: GV2 + offset: 0 + curve: + type: 1 + value: GV3 + trimSource: 0 + name: "" + - srcRaw: SA + scale: 0 + mode: 3 + chn: 4 + swtch: NONE + flightModes: 000000000 + weight: 100 + offset: 0 + curve: + type: 0 + value: 0 + trimSource: 0 + name: "" + - srcRaw: gv(7) + scale: 0 + mode: 3 + chn: 9 + swtch: NONE + flightModes: 000000000 + weight: 0 + offset: GV8 + curve: + type: 0 + value: 0 + trimSource: 0 + name: "" + - srcRaw: POT1 + scale: 0 + mode: 3 + chn: 19 + swtch: NONE + flightModes: 000000000 + weight: 100 + offset: 0 + curve: + type: 3 + value: 1 + trimSource: 0 + name: "" + - srcRaw: POT2 + scale: 0 + mode: 3 + chn: 20 + swtch: NONE + flightModes: 000000000 + weight: 100 + offset: 0 + curve: + type: 3 + value: 2 + trimSource: 0 + name: "" + - srcRaw: SB + scale: 0 + mode: 3 + chn: 21 + swtch: NONE + flightModes: 000000000 + weight: 100 + offset: 0 + curve: + type: 3 + value: 4 + trimSource: 0 + name: "" + - srcRaw: gv(6) + scale: 0 + mode: 3 + chn: 27 + swtch: NONE + flightModes: 000000000 + weight: 0 + offset: GV7 + curve: + type: 0 + value: 0 + trimSource: 0 + name: "" +inputNames: + 0: + val: Ail + 1: + val: Ele + 2: + val: Thr + 3: + val: Rud + 4: + val: Rev + 9: + val: Tlv + 19: + val: Rat + 20: + val: Exp + 21: + val: Tra + 27: + val: Bkl +curves: + 0: + type: 0 + smooth: 0 + points: -3 + name: Rat + 1: + type: 0 + smooth: 0 + points: -3 + name: Exp + 2: + type: 0 + smooth: 0 + points: -3 + name: FM + 3: + type: 0 + smooth: 0 + points: -2 + name: Tra +points: + 0: + val: 50 + 1: + val: 100 + 2: + val: 0 + 3: + val: 50 + 4: + val: -100 + 5: + val: 100 + 6: + val: 100 + 7: + val: 70 + 8: + val: 50 +logicalSw: + 0: + func: FUNC_VNEG + def: I2,-98 + delay: 0 + duration: 0 + andsw: SD0 + 1: + func: FUNC_STICKY + def: L1,SD2 + delay: 0 + duration: 0 + andsw: NONE + 2: + func: FUNC_VPOS + def: ch(19),30 + delay: 0 + duration: 0 + andsw: NONE + 3: + func: FUNC_OR + def: L3,!L19 + delay: 0 + duration: 0 + andsw: NONE + 4: + func: FUNC_STICKY + def: L19,L4 + delay: 0 + duration: 0 + andsw: NONE + 5: + func: FUNC_VEQUAL + def: gv(3),-1 + delay: 0 + duration: 0 + andsw: NONE + 6: + func: FUNC_EDGE + def: L3,0,- + delay: 0 + duration: 100 + andsw: L18 + 7: + func: FUNC_AND + def: L6,!L7 + delay: 0 + duration: 0 + andsw: L18 + 9: + func: FUNC_EDGE + def: TrimThrUp,0,8 + delay: 0 + duration: 0 + andsw: NONE + 10: + func: FUNC_EDGE + def: TrimThrUp,10,20 + delay: 0 + duration: 0 + andsw: NONE + 11: + func: FUNC_EDGE + def: TrimThrUp,20,30 + delay: 0 + duration: 0 + andsw: NONE + 12: + func: FUNC_OR + def: L10,L14 + delay: 0 + duration: 0 + andsw: NONE + 13: + func: FUNC_EDGE + def: TrimThrDown,0,8 + delay: 0 + duration: 0 + andsw: NONE + 14: + func: FUNC_EDGE + def: TrimThrDown,10,20 + delay: 0 + duration: 0 + andsw: NONE + 15: + func: FUNC_EDGE + def: TrimThrDown,20,30 + delay: 0 + duration: 0 + andsw: NONE + 17: + func: FUNC_VPOS + def: gv(7),0 + delay: 0 + duration: 0 + andsw: NONE + 18: + func: FUNC_VPOS + def: gv(3),0 + delay: 0 + duration: 0 + andsw: NONE + 19: + func: FUNC_VPOS + def: gv(3),0 + delay: 0 + duration: 0 + andsw: L5 + 20: + func: FUNC_VPOS + def: gv(3),1 + delay: 0 + duration: 0 + andsw: L5 + 21: + func: FUNC_VPOS + def: gv(3),2 + delay: 0 + duration: 0 + andsw: L5 +customFn: + 0: + swtch: "!L2" + func: PLAY_TRACK + def: thrcut,!1x + 1: + swtch: L2 + func: PLAY_TRACK + def: thract,1x + 2: + swtch: 6P20 + func: PLAY_TRACK + def: fm-stb,!1x + 3: + swtch: 6P21 + func: PLAY_TRACK + def: fm-crs,1x + 4: + swtch: 6P22 + func: PLAY_TRACK + def: fm-acr,1x + 5: + swtch: L5 + func: PLAY_TRACK + def: trnon,1x + 6: + swtch: L5 + func: PLAY_VALUE + def: gv(3),1x + 7: + swtch: "!L5" + func: PLAY_TRACK + def: trnoff,!1x + 8: + swtch: L7 + func: ADJUST_GVAR + def: 3,Cst,-1,1 + 9: + swtch: L8 + func: ADJUST_GVAR + def: 3,Src,I9,1 + 11: + swtch: SF2 + func: OVERRIDE_CHANNEL + def: 4,-100,1 + 12: + swtch: SF2 + func: PLAY_TRACK + def: sftyon,1x + 20: + swtch: ON + func: ADJUST_GVAR + def: 1,Src,I19,1 + 21: + swtch: ON + func: ADJUST_GVAR + def: 2,Src,I20,1 + 22: + swtch: ON + func: ADJUST_GVAR + def: 4,Src,I21,1 + 24: + swtch: TrimThrUp + func: PLAY_SOUND + def: Bp1,1 + 25: + swtch: L12 + func: PLAY_TRACK + def: hdadj,1x + 26: + swtch: L11 + func: RESET + def: Tmr1,1 + 27: + swtch: L11 + func: PLAY_TRACK + def: timrs1,1x + 31: + swtch: SC0 + func: PLAY_TRACK + def: rathi,!1x + 32: + swtch: SC1 + func: PLAY_TRACK + def: ratmed,1x + 33: + swtch: SC2 + func: PLAY_TRACK + def: ratmod,1x + 35: + swtch: SB0 + func: PLAY_VALUE + def: gv(4),!1x + 36: + swtch: SB1 + func: PLAY_VALUE + def: gv(4),!1x + 37: + swtch: SB2 + func: PLAY_VALUE + def: gv(4),!1x + 39: + swtch: TrimThrDown + func: PLAY_SOUND + def: Bp3,1 + 40: + swtch: L15 + func: PLAY_TRACK + def: ratmod,1x + 41: + swtch: L15 + func: PLAY_VALUE + def: gv(1),1x + 42: + swtch: L15 + func: PLAY_VALUE + def: gv(2),1x + 43: + swtch: L16 + func: PLAY_VALUE + def: gv(3),1x + 45: + swtch: ON + func: BACKLIGHT + def: I27,1 + 46: + swtch: L10 + func: ADJUST_GVAR + def: 6,IncDec,10,1 + 47: + swtch: L14 + func: ADJUST_GVAR + def: 6,IncDec,-10,1 + 48: + swtch: L13 + func: PLAY_TRACK + def: osd,1x + 49: + swtch: L13 + func: PLAY_VALUE + def: gv(6),1x +swashR: + type: TYPE_NONE + value: 0 + collectiveSource: NONE + aileronSource: NONE + elevatorSource: NONE + collectiveWeight: 0 + aileronWeight: 0 + elevatorWeight: 0 +thrTraceSrc: ch(2) +switchWarningState: AuDdEu +thrTrimSw: 0 +potsWarnMode: WARN_OFF +jitterFilter: GLOBAL +potsWarnEnabled: 4 +displayChecklist: 0 +gvars: + 0: + name: FM + min: 924 + max: 924 + popup: 0 + prec: 0 + unit: 0 + 1: + name: Rat + min: 1074 + max: 924 + popup: 0 + prec: 0 + unit: 0 + 2: + name: Exp + min: 1024 + max: 974 + popup: 0 + prec: 0 + unit: 0 + 3: + name: Tmo + min: 1023 + max: 1021 + popup: 0 + prec: 0 + unit: 0 + 4: + name: Tra + min: 0 + max: 0 + popup: 0 + prec: 0 + unit: 1 + 5: + name: Ton + min: 1024 + max: 1023 + popup: 0 + prec: 0 + unit: 0 + 6: + name: Bkl + min: 1024 + max: 924 + popup: 0 + prec: 0 + unit: 0 + 7: + name: Tlv + min: 1024 + max: 1018 + popup: 0 + prec: 0 + unit: 0 +telemetryProtocol: 0 +screens: + 0: + type: VALUES + u: + lines: + 0: + sources: + 0: + val: ch(19) + 1: + val: ch(20) + 1: + sources: + 0: + val: ls(2) + 1: + val: ch(21) + 2: + sources: + 0: + val: ls(4) + 1: + val: ch(22) + 3: + sources: + 0: + val: ch(4) + 1: + val: ch(23) + 1: + type: VALUES + u: + lines: + 0: + sources: + 0: + val: tr(0) + 1: + sources: + 0: + val: tr(1) + 2: + sources: + 0: + val: tr(2) + 3: + sources: + 0: + val: tr(3) +varioData: + source: none + centerSilent: 0 + centerMax: 0 + centerMin: 0 + min: 0 + max: 0 +rssiSource: none +rfAlarms: + warning: 45 + critical: 42 +disableTelemetryWarning: 0 +moduleData: + 1: + type: TYPE_CROSSFIRE + channelsStart: 0 + channelsCount: 16 + failsafeMode: NOT_SET + mod: + crsf: + telemetryBaudrate: 0 +trainerData: + mode: MASTER_TRAINER_JACK + channelsStart: 0 + channelsCount: -8 + frameLength: 0 + delay: 0 + pulsePol: 0 +modelRegistrationID: " 692XAP-" +usbJoystickExtMode: 0 +usbJoystickIfMode: JOYSTICK +usbJoystickCircularCut: 0 +radioGFDisabled: GLOBAL +radioTrainerDisabled: GLOBAL +modelHeliDisabled: OFF +modelFMDisabled: GLOBAL +modelCurvesDisabled: OFF +modelGVDisabled: OFF +modelLSDisabled: GLOBAL +modelSFDisabled: GLOBAL +modelCustomScriptsDisabled: GLOBAL +modelTelemetryDisabled: OFF \ No newline at end of file