{
  "schema_version": 1,
  "configurator_revision": "b8f0eca5a73e8ea00a21a8122a8f7029ad705ee7",
  "semantics": "Static source templates; conditional branches and runtime repetitions are alternatives, not a session trace.",
  "inputs": {
    "bin/wizard/source-map.json": "c4cc0185cbf9644c6750654e77d21a0f01759db0ad0a1ab9dad4c1ba490fedbe",
    "src/rfsuite/app/pages/helicopter_setup/attitude_view.lua": "1750296f3f160c4c328b331cf34673bb803e936266f19712698dac996c6ea56a",
    "src/rfsuite/app/pages/helicopter_setup/controller.lua": "1acfbae41513d92507dd72baa2e2ecbed51ab85ee484c5e75fb83859caf16d3f",
    "src/rfsuite/app/pages/helicopter_setup/diagrams.lua": "632a4b83778b59aff2d452005be884114472e6f16ff0f8bb832743e093203a1e",
    "src/rfsuite/app/pages/helicopter_setup/elrs_link.lua": "4accd43d44b95d3a8f5a853d85149fdb07bc26f8ae2d69f39b9f789f3fb7cd6d",
    "src/rfsuite/app/pages/helicopter_setup/esc_link.lua": "532fdca33b26f78b2120756d80870ada8d318bf718592948564fa6e4e6099d36",
    "src/rfsuite/app/pages/helicopter_setup/feedback.lua": "5b58a0b859e50da48a7284ca85432448863fa39978eb178654df13a5fda7663c",
    "src/rfsuite/app/pages/helicopter_setup/forms.lua": "22830b0484f787a3379c3cb8f61caa85d0c905da109b9636fc8ad9d9844830f4",
    "src/rfsuite/app/pages/helicopter_setup/help.lua": "210bc647674c7bdf88e1ac00cf623c53858bb0721623f089caa1f95465ac2c46",
    "src/rfsuite/app/pages/helicopter_setup/history.lua": "7a5378a01b8bb4ca80a7a367b7e02978fda35c7cf7f54625ae89ebf57eace9e2",
    "src/rfsuite/app/pages/helicopter_setup/history_store.lua": "4fddb757f91ab30116513d2b71938690b9f2af5ba8383aff15cd60f88d1ffbfa",
    "src/rfsuite/app/pages/helicopter_setup/labels.lua": "1ecc9e0b719fa73c257d7d97fd5f7ac8bfed2ba51b6928cbd28ade8334bdc850",
    "src/rfsuite/app/pages/helicopter_setup/math.lua": "f125cbdc577a170e8060688d69552d248e5ed6b092852c03139cc2d11d05b1a0",
    "src/rfsuite/app/pages/helicopter_setup/navigation.lua": "66463bc584e42b2cf11d7a2745d9178291cdaa37e4c84ba4aa9484b16b7e03f9",
    "src/rfsuite/app/pages/helicopter_setup/page.lua": "8fb3d1883eba913184b840b997ce19cadc938c85c18caa5b9e914b19b90aa5e2",
    "src/rfsuite/app/pages/helicopter_setup/power_cards.lua": "2ba4097e9b25d9f4b4a9c19ab692f9b11165a04d48f4a91b5e067546b615aa05",
    "src/rfsuite/app/pages/helicopter_setup/servo_grid.lua": "ee93a8f97bdf75d503b4be0f84e78b9531a3d3b875f9f76d5fcf7ce5444877f5",
    "src/rfsuite/app/pages/helicopter_setup/steps/connect.lua": "82e04684846ddad8bbcd76b00b77292aaffa7c12907e048d482fb20f07850076",
    "src/rfsuite/app/pages/helicopter_setup/steps/direction.lua": "a423aa3c4712965c5d12a0a265d0476c82c8a6beda2b714284b80c3ba83548b2",
    "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua": "29f8b1d34e1eb2135cdca2d3337d05079be09aad687f36f3de5bda4d2ec980ad",
    "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua": "5eba2b19b6852afbfc4cb0f36543bfc74a2449725ba4a98f73cbda94ee987889",
    "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua": "2fb4f03958217be9d38e7f4fe3c12865331cec3e49c31628027364caa7c6838f",
    "src/rfsuite/app/pages/helicopter_setup/steps/gyro.lua": "934b4990c6eae2c40a352551325e9b866607ade22208427f0ab7e7f5af0a59d8",
    "src/rfsuite/app/pages/helicopter_setup/steps/level.lua": "6a318a5534dedf1039c3b56e2f85025cc3f145705cafc1a5152fb6c1e1110d74",
    "src/rfsuite/app/pages/helicopter_setup/steps/modes.lua": "24045aabadef81d85cc7f31fe54d42edd182a51ab416f710fb460ae6985dde44",
    "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua": "86e24e10ffeb7096f26e5815a889dd503366be64e7f46320dfbb5dcaed3a9ca7",
    "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua": "0e85a424aaed649eb347aeef420a78c097a1ae0a4566038d365ec3c24f4ce464",
    "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua": "f2622e0780be301ad1f42a4335af35c9c9541f1d0e0bb58feca4e348a9df3ed3",
    "src/rfsuite/app/pages/helicopter_setup/steps/rates.lua": "301a240de5b9c9961c1cf040fbac2a4d06a050704a3d0d0dcb45ef8bda6490d4",
    "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua": "11288ef7b2b40a15593ecd7d5e8cfd7083252ef6ab0eb26a4a117ad3c962105c",
    "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua": "a6d4e469340696022acfd8ed5008961f6fd953f27164518737741d658c2822d7",
    "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua": "689ba4df4c1cd81eae70ed25b73509a1ab0974a11fda1ebc1d5e50d357b09b37",
    "src/rfsuite/app/pages/helicopter_setup/steps/servos.lua": "b6fd582c7ab57fc8602ef0c6e54a74f729541c8af766ec51c08f967a6aee63d4",
    "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua": "fce6fd1478b723edb24e4cd710187b567162b47254e46807a8f1a28c261d22be",
    "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua": "918ff62ce8f30cfdb50a392b9dc2c0c04b299623d972df1dbf8e6a9f4c39678b",
    "src/rfsuite/app/pages/helicopter_setup/steps/throttle.lua": "bc1745c86d27c2a43d9c063dfd64635c104d81a1d08c76eff7f8c7e09800f774",
    "src/rfsuite/app/pages/helicopter_setup/transport.lua": "f8dc9fc96e6cc65ad50fa8ebab9b5f58245dfab79aa0e26b1b4e649314f764ab",
    "src/rfsuite/app/pages/helicopter_setup/view.lua": "a5b5f020941690d99dfbce52ff0453b55c26635843e8caed4aeccf8430417ead",
    "src/rfsuite/app/pages/helicopter_setup/workflow.lua": "3edbd986956bbbbc6d88e9d0ed3a22e8a751a9485bfc1a78d2f14399995f78ed",
    "src/rfsuite/app/pages/setup/esc_motors/throttle/page.lua": "76542a5f84b98f8715c6ed938a463483e76e205912cd70f01555b7cf94fbe5aa",
    "src/rfsuite/app/pages/setup/power/battery/page.lua": "bb94e95ab8cac06d560110554faf9ba0b4ab634abc0eb8bba9fde032a6468949",
    "src/rfsuite/app/pages/setup/power/smartfuel/page.lua": "70eac48cbea056fe6b0644e7d4f980bd2af16f229e16a888330bbcbfcf2a5d5f",
    "src/rfsuite/app/pages/setup/power/sources/page.lua": "ff0846f7298aefacba5e522a01f2945e8111fe94110344dad9e4832c5cbc724e",
    "src/rfsuite/i18n/en.lua": "6a07debdec18fa408cacc0c510b2c8e8e6a22282630e31f9eb3934f66ab37450",
    "src/rfsuite/lib/esc_params.lua": "2a9f2fb0fd6f762ef396ed20da5a48081a5583687bb2803b870a34ca2635eeaf",
    "src/rfsuite/lib/governor_fields.lua": "2c7407a6d75e7b00de9002dbb4be49696a6a3468b2d76013e1998549a2932a3c",
    "src/rfsuite/lib/power_fields.lua": "2204f3bd87281732a784d9aacd45a432d91cd3ab99a7a649c5976192c345c41e",
    "src/rfsuite/tasks/msp/api/battery_config.lua": "472c20b595be0205eff63bfe9b18f199f4dfd435ed7c279a29f6b3bbb029062f",
    "src/rfsuite/tasks/msp/api/smartfuel_config.lua": "86b29dc014ffad2186a931a08db5257f83739a17d62944c5f159594c80fc7ced"
  },
  "shared_transport": {
    "startup_reads": [
      "status",
      "boxids",
      "mode_ranges",
      "mode_ranges_extra",
      "adjustment_ranges",
      "feature_config",
      "board_info",
      "telemetry_config",
      "board_alignment_config",
      "serial_config",
      "rx_map",
      "rx_config",
      "rc_config",
      "motor_config",
      "esc_sensor_config",
      "governor_config",
      "mixer_config",
      "mixer_input",
      "servo_configurations",
      "servo",
      "rc_tuning",
      "tail_motor_output",
      "name",
      "battery_config",
      "battery_profile",
      "smartfuel_config"
    ],
    "functions": {
      "release": "if self . stopLink then self : stopLink ( ) end local held , motor = self . holds , self . motorHold if self . logTrace and ( next ( held ) or motor or all ) then self : log ( \"trace\" , \"release all=%s motor=%s\" , tostring ( all ) , tostring ( motor ~= nil ) ) end self . holds , self . motorHold , self . listen , self . legacyHold = { } , nil , nil , nil if self . rx then self . rx . detect , self . rx . record = nil , nil if self . rx . centre then self . rx . centre . samples , self . rx . centre . count = nil , nil end end if self . modeListen then self . modeListen . id = nil end if self . profile then self . profile . listen , self . profile . record = nil , nil end if self . stopTrial then self : stopTrial ( ) end self . bus : dropOverrides ( ) local q = self . bus : queue ( ) if not q then return end if not self : allowed ( ) then self . needsRelease = true ; return end local apis = self . bus . apis local jobs = { } local full = all or self . needsRelease local function send ( api , data ) local mod = apis [ api ] if not mod then self . cleanupFailed , self . needsRelease = true , true ; return end jobs [ # jobs + 1 ] = { command = mod . writeCommand , payload = mod . buildWritePayload ( data ) } end if full then for i = 0 , 7 do send ( \"servo_override\" , { servo_id = i , action = 2001 } ) end for i = 1 , 4 do send ( \"mixer_override\" , { index = i , value = 2501 } ) end for i = 0 , 3 do send ( \"motor_override\" , { index = i , value = 0 } ) end else for _ , h in pairs ( held ) do if h . kind == \"servo\" then send ( \"servo_override\" , { servo_id = h . index , action = 2001 } ) else send ( \"mixer_override\" , { index = h . index , value = 2501 } ) end end if motor then send ( \"motor_override\" , { index = motor . index , value = 0 } ) end end if # jobs == 0 then return end local index , failed = 1 , false self . cleanupPending = ( self . cleanupPending or 0 ) + # jobs self . canEdit , self . canNext = false , false self . needsRelease = nil local dispatch local function complete ( _ , reason ) self . cleanupPending = self . cleanupPending - 1 if reason then failed , self . cleanupFailed , self . needsRelease = true , true , true self : log ( \"warn\" , \"override cleanup not confirmed: %s\" , reason ) end index = index + 1 local session = self : session ( ) local armed = self . runtime . armedReading ( ) local connected = session . fblConnected == true and session . mcu_id == self . identity and armed ~= true if reason == \"cleared\" or not connected then self . cleanupPending = self . cleanupPending - ( # jobs - index + 1 ) self . cleanupFailed , self . needsRelease = true , true ; return end if index <= # jobs then dispatch ( ) elseif full then self . cleanupFailed , self . needsRelease = failed , failed or nil end end dispatch = function ( ) local job = jobs [ index ] q : add ( { command = job . command , payload = job . payload , isWrite = true , client = \"helicopter-cleanup\" , maxRetries = 0 , processReply = function ( m ) complete ( m , nil ) end , errorHandler = complete } ) end dispatch ( )",
      "profileLoop": "local status = self . data . status local original = kind == \"rates\" and status . current_control_rate_profile_index + 128 or status . current_pid_profile_index local api = kind == \"rates\" and \"rc_tuning\" or kind == \"rescue\" and \"rescue_profile\" or \"governor_profile\" if self . logDebug then self : log ( \"debug\" , \"profile loop %s, %s profiles, %s\" , kind , indexes and # indexes or count , apply and \"write\" or \"read\" ) end self . restoreProfile = original for i = 0 , math . min ( indexes and # indexes or count , 6 ) - 1 do local index = indexes and indexes [ i + 1 ] or i self : action ( \"set_pid_profile\" , { index + ( kind == \"rates\" and 128 or 0 ) } ) self : read ( api , function ( d ) self . profileData = d if loaded then loaded ( d , index ) end if apply then self . profileOriginal = self . profileOriginal or { } self . profileOriginal [ kind ] = self . profileOriginal [ kind ] or { } self . profileOriginal [ kind ] [ index ] = self . profileOriginal [ kind ] [ index ] or copy ( d ) end end ) if apply then self : write ( api , function ( ) if apply ( self . profileData , index ) == false then return false end return self . profileData end ) end end self : action ( \"set_pid_profile\" , { original } , function ( ) self . restoreProfile = nil end ) self : read ( api , function ( d ) self . data [ api ] = d end ) self : read ( \"status\" , function ( d ) self . data . status = d end )",
      "save": "if self . logInfo then local names = { } for api in pairs ( self . dirty ) do names [ # names + 1 ] = api end self : log ( \"info\" , \"save %s\" , table . concat ( names , \",\" ) ) end self . transition = true ; self . message = self . L . saving self . edits = self . edits + 1 self : release ( ) if self . commit then self . commit ( ) end for api in pairs ( self . dirty ) do if not PROFILE_APIS [ api ] and api ~= \"tail_motor_output\" then self : sendDirty ( api ) end end local written self : write ( \"eeprom_write\" , { } , function ( ) written = self . dirty if self . logInfo then self : log ( \"info\" , \"save ok\" ) end self . dirty , self . live , self . profileOriginal = { } , { } , nil self . savedRebootPending = self . rebootPending self . snapshotIndex = 1 end ) for _ , api in ipairs ( self . memoryStop and { } or READS ) do local name = api self : run ( function ( ) if ( written and written [ name ] ) or not same ( self . saved [ name ] , self . data [ name ] ) then self . saved [ name ] = copy ( self . data [ name ] ) end end ) self : run ( function ( ) self : sentFromData ( name ) end ) end self : run ( function ( ) self . transition = nil if self . stayNotice then if self . memoryStop then self . stopNotice = self . stayNotice end self . message , self . stayNotice = self . stayNotice , nil if self . logInfo then self : keyMessage ( self . stayNoticeKey ) end self : rebuild ( ) ; return end self . message = self . L . saved ; if after then after ( ) end end )",
      "next": "if self . escBusy then return end if not self : usable ( ) or not self . cards then return end if self . recoveryCard then if not self : ack ( \"recoveryPowerCycle\" ) then return end self : session ( ) . helicopterSetupRecovery = nil self . recoveryRequired , self . recoveryCard , self . cards = nil , nil , nil self . buildRequested = true ; self : rebuild ( ) ; return end if self . modelPreparationCard then if not self : ack ( \"modelReady\" ) then return end if self . systemStatus == nil or self . systemConfig == nil then self . message = self . L . sensorsRequired ; return end self . modelPreparationDone , self . modelPreparationCard = true , nil if self . history and self . history . markPrepared and not self . history : markPrepared ( ) then self : log ( \"warn\" , \"radio model preparation not remembered\" ) self . message = self . L . preparedNotSaved end self . cards , self . buildRequested = nil , true ; self : rebuild ( ) ; return end if self . entryRebootGate then if self : ack ( \"unplugged\" ) and self : ack ( \"blades\" ) then self : reboot ( ) end return end if self . preparationCard then if not self : preparationComplete ( ) then return end self . preparationDone , self . preparationCard = true , nil self . cards , self . buildRequested = nil , true self : rebuild ( ) ; return end if self . trial then if self . trial . success then self : reboot ( ) else self . message = self . L . detecting end return end if self . step == 1 and ( not self : ack ( \"unplugged\" ) or not self : ack ( \"blades\" ) ) then return end local card = self . cards [ self . card ] if card and card . power and self . card < # self . cards and next ( self . dirty ) then local target = self . card + 1 self : save ( function ( ) self : navigate ( self . step , target ) end ) ; return end if card and card . requires and not self : ack ( card . requires ) then return end if self . card < # self . cards then self : navigate ( self . step , self . card + 1 ) ; return end if self . validate and not self . validate ( ) then if self . logDebug then self : log ( \"debug\" , \"next refused on %s\" , STEPS [ self . step ] ) end return end if self . rebootPending and self . step >= 10 then self : reboot ( ) ; return end if not next ( self . dirty ) then if self . finishStep then self : finishStep ( ) elseif self . step == 19 then self : close ( ) else self : navigate ( self . step + 1 , 1 ) end return end self : save ( function ( ) if self . finishStep then self : finishStep ( ) elseif self . step == 19 then self : close ( ) else self : navigate ( self . step + 1 , 1 ) end end )",
      "load": "if self . logInfo then self : log ( \"info\" , \"load start\" ) end self . ready , self . error , self . progress , self . transition = false , nil , 0 , true self . edits = self . edits + 1 self . checks , self . card , self . bladesOff , self . calibratedEsc = { } , 1 , false , nil if self . escParams then self . escParams . block = nil end self . escAttempted , self . escBusy , self . rangeSource = nil , nil , nil self . rangeNeedsVerification = self . rangeChoice == \"esc_link\" and self . escRangeExpected ~= nil self . preparationDone , self . preparationCard = nil , nil self . tailPinRefused , self . tailPinNotice , self . stayNotice = nil , nil , nil self . governorLoaded , self . governorSpeeds , self . governorChanged , self . governorFilterLoaded = nil , nil , nil , nil self . rescue = nil if not self . pitchFullChanged then self . pitchLoaded , self . pitchFull = nil , nil end self . data . battery_config , self . data . battery_profile , self . data . smartfuel_config = nil , nil , nil self . data . analog , self . analogAt = nil , nil self . statusQueued , self . statusWaiting , self . beforeStatusWait = nil , nil , nil local mcuId = self : session ( ) . mcu_id self . recoveryRequired = mcuId ~= nil and self : session ( ) . helicopterSetupRecovery == mcuId self . loadingText , self . loadTotal = self . L . loading , # READS + 66 self . loadActive , self . message = true , self . L . loading self . locked = false self : blockArming ( ) self : read ( \"status\" , function ( d ) if ( d . arming_disable_flags & ( 1 << 16 ) ) == 0 then self : fail ( \"arming_disable\" , \"not active\" ) ; return end local count = d . servo_count if count > 26 or ( count > 8 and count < 18 ) then self : fail ( \"status\" , \"servo count\" ) ; return end self . loadTotal = # READS + 40 + count self . locked = true ; self : acceptStatus ( d ) end ) if self . loadHistory then self : run ( function ( ) self : loadHistory ( ) end ) end if self . historyMode then self : run ( function ( ) self . ready , self . transition , self . buildRequested = true , nil , true if self . logInfo then self : log ( \"info\" , \"load ready, history only\" ) end self . message = self . L . ready ; self : rebuild ( ) end ) return end if not self : apiSupported ( ) then self : run ( function ( ) self . ready , self . transition , self . buildRequested , self . apiTooOld = true , nil , true , true if self . logInfo then self : log ( \"info\" , \"load stopped, API %s\" , self : session ( ) . apiVersion ) end self . message = self . L . apiTooOld ; self : rebuild ( ) end ) return end for _ , api in ipairs ( { \"servo_override\" , \"mixer_override\" , \"motor_override\" } ) do local name = api self : run ( function ( ) self . bus : load ( name ) end ) end self : run ( function ( ) self : release ( true ) end ) local servoCandidate , mixerCandidate = false , false if self . logDebug then self : log ( \"debug\" , \"override probe: two four-byte OFF writes, a refusal is the expected answer\" ) end self : write ( \"servo_override\" , { servo_id = 0 , action = 2001 , timeout = 500 } , function ( _ , err ) servoCandidate = err == nil end , true ) self : action ( \"servo_override\" , { 0 , 209 , 7 , 0 } , function ( _ , err ) self . timedServo = servoCandidate and err == \"refused\" end , true ) self : write ( \"mixer_override\" , { index = 0 , value = 2501 , timeout = 500 } , function ( _ , err ) mixerCandidate = err == nil end , true ) self : action ( \"mixer_override\" , { 0 , 197 , 9 , 0 } , function ( _ , err ) self . timedMixer = mixerCandidate and err == \"refused\" self . timed = self . timedServo and self . timedMixer if self . logDebug then self : log ( \"debug\" , \"timed overrides servo=%s mixer=%s\" , tostring ( self . timedServo ) , tostring ( self . timedMixer ) ) end end , true ) for _ , name in ipairs ( READS ) do local api = name if api == \"smartfuel_config\" and not self . powerFields . supportsSmartFuel ( self : session ( ) . apiVersion , self . powerApiVersion ) then self : run ( function ( ) self : loadProgress ( ) end ) elseif api == \"adjustment_ranges\" then self : readRecords ( api , \"get_adjustment_range\" , \"adjustment_range\" ) elseif api == \"servo_configurations\" then self : readRecords ( api , \"get_servo_config\" , \"servo_config\" , true ) else self : read ( api , function ( d , err ) if err and ( api == \"battery_config\" or api == \"battery_profile\" or api == \"smartfuel_config\" ) then d = nil end if api == \"board_alignment_config\" and d then for _ , key in ipairs ( { \"roll_degrees\" , \"pitch_degrees\" , \"yaw_degrees\" } ) do d [ key ] = self . math . signed ( d [ key ] ) end end self . data [ api ] = d ; self : loadProgress ( ) if api == \"status\" then self : acceptStatus ( d ) end end , api == \"tail_motor_output\" or api == \"board_info\" or api == \"telemetry_config\" or api == \"battery_config\" or api == \"battery_profile\" or api == \"smartfuel_config\" , api == \"tail_motor_output\" and { 0 } or nil ) end self : run ( function ( ) if not self . dirty [ api ] and not ( api == \"mode_ranges_extra\" and self . dirty . mode_ranges ) then self . saved [ api ] = copy ( self . data [ api ] ) end end ) self : run ( function ( ) self : sentFromData ( api ) end ) end self : read ( \"status\" , function ( d ) self : acceptStatus ( d ) end ) self : run ( function ( ) self . identity = self : session ( ) . mcu_id local inputs = self . data . mixer_input . inputs if not inputs [ 4 ] or not self . data . status . pid_profile_count or self . data . status . pid_profile_count < 1 then self : fail ( \"status\" , \"configuration\" ) ; return end local battery = self . data . battery_config if battery and not battery . hasProfileCells then self . ready , self . transition , self . buildRequested , self . apiTooOld = true , nil , true , true if self . logInfo then self : log ( \"info\" , \"load stopped, no per-profile battery cells\" ) end self . message = self . L . apiTooOld ; self : rebuild ( ) ; return end self . startTail = self . data . mixer_config . tail_rotor_mode self . savedRebootPending = self . rebootPending self . ready , self . transition , self . buildRequested = true , nil , true if self . logInfo then self : log ( \"info\" , \"load ready\" ) end self . loadActive = nil self . message = self . L . ready self : rebuild ( ) end )",
      "poll": "if self . historyMode or self . modelPreparationCard then return end local time = now ( ) if time - ( self . lastPoll or 0 ) < 20 then return end self . lastPoll = time local attitudeCheck = self . step == 1 and self . cards and self . cards [ self . card ] and self . cards [ self . card ] . art == \"attitude\" local switches = self . step == 3 or self . step == 4 self . pollIndex = ( self . pollIndex or 0 ) % ( ( attitudeCheck or switches ) and 4 or 3 ) + 1 local channelsOnly = self . step == 2 and not self . motorHold local api = switches and ( self . pollIndex == 1 and \"status\" or \"rc\" ) or channelsOnly and ( self . pollIndex == 1 and \"status\" or \"rx_channels\" ) or attitudeCheck and ( self . pollIndex % 2 == 1 and \"attitude\" or self . pollIndex == 2 and \"status\" or \"servo\" ) or self . pollIndex == 1 and \"status\" or self . pollIndex == 2 and \"servo\" or ( { [ 1 ] = \"attitude\" , [ 2 ] = \"rx_channels\" , [ 3 ] = \"rc\" , [ 4 ] = \"rc\" , [ 10 ] = \"motor\" , [ 11 ] = \"motor_telemetry\" , [ 12 ] = \"motor\" , [ 14 ] = \"rc_command\" , [ 17 ] = self : motorised ( ) and \"motor\" or \"rc_command\" } ) [ self . step ] local card = self . cards and self . cards [ self . card ] if self . step == 11 and card and card . power and self . pollIndex == 2 then api = \"analog\" end if self . motorHold then api = \"motor\" end if not api then return end local selectedSources = self . sent . battery_config or self . saved . battery_config local job = self . bus : idle ( ) and self . pollJob if not job then job = { } job . after = function ( d , err ) self : pollReply ( job , d , err ) end self . pollJob = job end job . api , job . optional = api , api == \"analog\" or api == \"attitude\" job . voltageSource = selectedSources and selectedSources . voltageMeterSource job . currentSource = selectedSources and selectedSources . currentMeterSource self . bus : add ( job )",
      "tick": "self . editLogged = nil if self . logInfo then self : logChanges ( ) end if self . escParams and self . escParams : observe ( self . escSignature ) and not self . escBusy then self : escResult ( nil , \"restart\" ) end if self . linkTick then self : linkTick ( ) end if self . attitudeView then self . attitudeView : update ( self . data . attitude , self . attitudeAt , now ( ) , self . active and self . ready and self . locked and not self . transition and not self . error and self : allowed ( ) ) end if not self . active then return end if self . memoryStop then self : memoryStopTick ( ) elseif self . memoryOwed and not self . transition and not self . escBusy and not ( self . linkBusy and self . linkBusy ( ) ) then self : stopForMemory ( self . memoryOwed ) end if not self : allowed ( ) then if not self . suspended then self : log ( \"warn\" , \"link lost or armed, tests stopped\" ) self . suspended , self . escBusy = true , nil ; self . bus : cancel ( ) ; self : release ( ) ; self . message = self . L . disconnected self . ready = false ; self : rebuild ( ) end return end if self . suspended then self . suspended , self . disconnectExit = nil , nil if self . logInfo then self : log ( \"info\" , \"link back\" ) end if self . rebootPhase then self . rebootPhase = nil ; self . rebootPending = nil ; self : load ( ) elseif not self . bus . wrote then self : load ( ) else self . error = \"link\" ; self . message = self . L . reload end return end if self . rebootPhase and self . rebootPhase ~= \"sent\" then if now ( ) - self . rebootAt > 3000 then self . rebootPhase = nil ; self : fail ( \"reboot\" , \"timeout\" ) end if now ( ) - self . rebootAt >= 200 and self . bus : idle ( ) then self : read ( \"status\" , function ( d , err ) if err or not d or d . reboot_required ~= 0 then return end self . rebootPhase , self . rebootPending = nil , nil if self . logInfo then self : log ( \"info\" , \"reboot done\" ) end self : load ( ) end , true ) end if not self . bus : idle ( ) then self . bus : tick ( ) end return end if self . cleanupFailed and ( self . cleanupPending or 0 ) == 0 and not self . error then self : fail ( \"cleanup\" , self . L . cleanupFailed ) ; return end if self . ready and self . locked and not self . error and not self . rebootPhase then local age = now ( ) - ( self . statusAt or 0 ) if age > 300 then if self . transition or self . motorHold or next ( self . holds ) or self . trial or not self . bus : readOnly ( ) then self : fail ( \"status\" , self . L . stale ) ; self . message = self . L . stale ; return end if not self . statusWaiting then self : log ( \"warn\" , \"status late, controls paused\" ) self . beforeStatusWait , self . statusWaiting = self . message , true self . canEdit , self . canNext , self . message = false , false , self . L . checkingStatus self : release ( ) end end if age > 100 and not self . statusQueued then self . statusQueued = true self . bus : urgent ( { api = \"status\" , after = function ( d ) self . statusQueued = nil ; self : acceptStatus ( d ) if self . onLive then self . onLive ( \"status\" , d ) end end } ) end end if not self . bus : idle ( ) then self . bus : tick ( ) ; return end if self . memoryStop then return end if self . buildRequested and self . ready then local kept = self . buildRequested == \"card\" and self . keptCards self . buildRequested , self . keptCards = nil , nil if self . overview then self : rebuild ( ) ; return end if self . historyMode then self : buildHistory ( ) ; self : rebuild ( ) ; return end if self . apiTooOld and not self . recoveryRequired then self . cards = { self : cardDef ( self . L . apiTooOldTitle , self . L . apiTooOld , { self : value ( self . L . fcApi , function ( ) return tostring ( self : session ( ) . apiVersion or \"--\" ) end ) } ) } self . cards [ 1 ] . summary = self . L . apiTooOld self . card = 1 ; self . validate = function ( ) self . message = self . L . apiTooOld ; return false end self : rebuild ( ) ; return end if self : buildModelPreparation ( ) then self : rebuild ( ) ; return end self . entryRebootGate = self . returnToSuite and self . step >= 11 and self . rebootPending and not ( self . step == 11 and self . escRangeExpected ) or nil if self . entryRebootGate then self : showRebootGate ( ) ; return end local key = STEPS [ self . step ] self . validate , self . onLive , self . commit = nil , nil , nil if self . buildPreparation and self : buildPreparation ( ) then self : rebuild ( ) ; return end local model = kept and kept . model if model and model . step == self . step and model . edits == self . edits and model . rebootPending == self . rebootPending and not ( kept . stale and kept . stale ( ) ) then self . cards , self . validate , self . onLive , self . commit = kept , model . validate , model . onLive , model . commit if self . logDebug then self : log ( \"debug\" , \"cards %s kept\" , key ) end else local held = self . stepChunk if not held or held . key ~= key then local root = _G . rfsuite local uncached = root and root . utils and root . utils . loadScriptUncached local stepPath = BASE .. \"app/pages/helicopter_setup/steps/\" .. key .. \".lua\" local stepChunk , err if type ( uncached ) == \"function\" then stepChunk , err = uncached ( stepPath , root . loadMode or \"t\" ) else stepChunk , err = loadScript ( stepPath , \"t\" ) end held = { key = key , chunk = assert ( stepChunk , err ) } self . stepChunk = held if self . logTrace then self : log ( \"trace\" , \"step file %s read\" , key ) end end self . cards = held . chunk ( ) ( self ) self . cards . model = { step = self . step , edits = self . edits , rebootPending = self . rebootPending , validate = self . validate , onLive = self . onLive , commit = self . commit } if self . logDebug then self : log ( \"debug\" , \"cards %s built, %s\" , key , # self . cards ) end end self . card = math . min ( self . card , # self . cards ) if self . cards [ self . card ] . enter and not self . stepMenu then local enter , cards , card = self . cards [ self . card ] . enter , self . cards , self . card self . entrySeq = ( self . entrySeq or 0 ) + 1 local seq = self . entrySeq self : afterRelease ( function ( ) if seq ~= self . entrySeq or self . stepMenu or self . confirmExit or self . transition or self . cards ~= cards or self . card ~= card then if self . logTrace then self : log ( \"trace\" , \"card %s entry skipped: left before it ran\" , card ) end return end enter ( ) end ) end self : rebuild ( ) ; return end if not self . ready or self . error or self . transition then return end if self . trialTick and self : trialTick ( ) then return end if self . live and next ( self . live ) then local api = next ( self . live ) ; self . live [ api ] = nil if self . logInfo then self : log ( \"info\" , \"live write %s\" , api ) end self : sendDirty ( api ) ; return end if self . escTick and self : escTick ( ) then return end if self . holdPollTurn then self . holdPollTurn , self . lastPoll = nil , nil self : poll ( ) ; return end if self . motorHold then local h = self . motorHold if h . untilAt and now ( ) >= h . untilAt then self : stopMotor ( ) ; return end if now ( ) >= h . due and not h . pollTurn then if self . logTrace then self : log ( \"trace\" , \"motor %s refresh\" , h . index ) end if h . mode == \"spin\" then h . value = self . percent * 10 * h . direction end if h . mode == \"idle\" then h . value = self . data . mixer_config . tail_motor_idle end h . due , h . pollTurn = now ( ) + 25 , true self . bus : add ( { api = \"motor_override\" , write = true , override = true , data = { index = h . index , value = h . value } } ) ; return end if h . pollTurn then h . pollTurn = nil ; self . lastPoll = nil end end local refreshed = false for _ , h in pairs ( self . holds ) do if now ( ) >= h . due then h . due = now ( ) + 100 local d = h . kind == \"servo\" and { servo_id = h . index , action = h . value } or { index = h . index , value = h . value } if h . timed then d . timeout = 3000 end self . bus : add ( { api = h . kind .. \"_override\" , write = true , override = true , data = d } ) refreshed = true end end if refreshed then self . holdPollTurn = true ; return end self : poll ( )"
    }
  },
  "traceability": {
    "reference": "b8f0eca5a73e8ea00a21a8122a8f7029ad705ee7",
    "scope": "Wizard files and directly used shared helpers. External files are mapped only for the wizard-used subset; unrelated tab features are outside this port. This is traceability, not JavaScript statement/branch coverage.",
    "additions": [
      {
        "id": "governor-targets-and-filter-signal",
        "beyond_configurator": true,
        "flow_cards": {
          "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua": [
            "headspeedProfile",
            "rpmFilter"
          ]
        },
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
          "src/rfsuite/app/pages/helicopter_setup/controller.lua",
          "src/rfsuite/lib/governor_fields.lua"
        ],
        "writes": {
          "governor_profile": [
            "governor_headspeed"
          ]
        },
        "reads": {
          "governor_profile": [
            "governor_headspeed"
          ],
          "filter_config": [
            "rpm_preset"
          ],
          "rpm_filter_v2": [
            "notch_source_1..16 (axes 0..2, CUSTOM only)"
          ]
        },
        "contracts": [
          "S08.headspeed-targets",
          "S08.headspeed-scope-and-help",
          "S08.rpm-filter-signal"
        ],
        "adaptation": "Additional Suite controls beyond the pinned Configurator wizard: exact FC headspeed per configured PID profile (profile one if unknown) and read-only RPM-filter signal warning in every mode. Ramp times stay on the Suite's Governor page. Existing profileLoop owns selection/read/write/restore; per-profile reads stay outside startup and scene build. Full API records retain untouched fields. Shared Governor page headspeed limits replace page-local definitions."
      },
      {
        "id": "esc-range-and-operating-mode",
        "beyond_configurator": true,
        "targets": [
          "src/rfsuite/lib/esc_params.lua",
          "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
          "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua",
          "src/rfsuite/app/pages/helicopter_setup/transport.lua",
          "src/rfsuite/app/pages/setup/esc_motors/throttle/page.lua"
        ],
        "writes": {
          "esc_parameters_yge": [
            "governor",
            "stick_zero_us",
            "stick_range_us"
          ],
          "esc_parameters_hw5": [
            "flight_mode"
          ],
          "motor_config": [
            "mincommand",
            "minthrottle",
            "maxthrottle"
          ]
        },
        "reads": {
          "esc_parameters_yge": [
            "governor",
            "stick_zero_us",
            "stick_range_us",
            "esc_model",
            "esc_type",
            "firmware_version"
          ],
          "esc_parameters_hw5": [
            "flight_mode",
            "model_name",
            "firmware_version",
            "_supported"
          ],
          "motor_config": [
            "mincommand",
            "minthrottle",
            "maxthrottle"
          ],
          "esc_sensor_config": [
            "protocol",
            "half_duplex"
          ],
          "motor_telemetry": [
            "voltage",
            "temperature"
          ]
        },
        "contracts": [
          "S11.esc-read-before-write-and-signature",
          "S11.range-routes-and-spin-gate",
          "S11.yge-range-transaction",
          "S11.mode-expectations-and-layouts",
          "S11.hw-mode-transaction",
          "S11.cache-retry-and-card-layout",
          "S11.shared-mode-labels-and-pulse-limits"
        ],
        "adaptation": "Suite additions beyond the pinned Configurator: protocol descriptor capabilities; YGE analog throttle range and YGE/Hobbywing V5 operating mode with explicit button writes. Existing API modules exclusively own codecs. Shared esc_params owns bounded cache retries, fresh complete-block transactions, status-based restart detection and changed-field readback. Parameter reads run after load, never during page construction; pilot assertions and calibration remain distinct. Mode option value-to-i18n-key mappings live only in the family descriptor. The Suite throttle page and wizard share API pulse limits without changing the 50..2250 us bounds."
      },
      {
        "id": "esc-telemetry-power-and-battery",
        "beyond_configurator": true,
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
          "src/rfsuite/app/pages/helicopter_setup/controller.lua",
          "src/rfsuite/lib/power_fields.lua",
          "src/rfsuite/tasks/msp/api/battery_config.lua",
          "src/rfsuite/tasks/msp/api/smartfuel_config.lua",
          "src/rfsuite/app/pages/setup/power/sources/page.lua",
          "src/rfsuite/app/pages/setup/power/battery/page.lua",
          "src/rfsuite/app/pages/setup/power/smartfuel/page.lua"
        ],
        "writes": {
          "battery_config": [
            "voltageMeterSource",
            "currentMeterSource",
            "batteryCellCount",
            "batteryCapacity",
            "batteryCapacity_0..5",
            "batteryCellCount_0..5"
          ],
          "smartfuel_config": [
            "smartfuel_mode"
          ]
        },
        "reads": {
          "battery_config": [
            "batteryCapacity",
            "batteryCellCount",
            "voltageMeterSource",
            "currentMeterSource",
            "vbatmincellvoltage",
            "vbatmaxcellvoltage",
            "vbatfullcellvoltage",
            "vbatwarningcellvoltage",
            "lvcPercentage",
            "consumptionWarningPercentage",
            "batteryCapacity_0..5",
            "batteryCellCount_0..5",
            "vbatmincellvoltage_0..5",
            "vbatmaxcellvoltage_0..5",
            "vbatfullcellvoltage_0..5",
            "vbatwarningcellvoltage_0..5",
            "hasProfileCells"
          ],
          "battery_profile": [
            "batteryProfile"
          ],
          "smartfuel_config": [
            "smartfuel_mode",
            "voltage_drop_rate",
            "charge_drop_rate",
            "sag_gain"
          ],
          "motor_telemetry": [
            "voltage",
            "current"
          ],
          "analog": [
            "voltage",
            "current"
          ]
        },
        "contracts": [
          "S11.power-shared-specs-and-availability",
          "S11.power-live-sources-and-warning",
          "S11.power-roundtrip-save-discard-and-failure",
          "S11.power-help-and-layout"
        ],
        "adaptation": "Additional Power cards after live telemetry, beyond the pinned Configurator. Three optional single-message startup reads use transport only; SmartFuel follows the menu API 12.0.9 gate, Battery has no version gate and capability comes from the reply. All six capacity slots fit two cards; active profile is read-only and never switched. Source options, capacity/cell limits and capacity scaling are extracted from existing Power pages into power_fields, which both pages and wizard consume. Analog replaces the servo live poll only on Power cards; ESC readings reuse motor_telemetry. Complete received battery and SmartFuel records round-trip through the existing wizard save/discard/EEPROM boundary; the battery codec also accepts its flat parse result."
      }
    ],
    "files": [
      {
        "source": "components/SwashServoDiagram.svelte",
        "sha256": "0b4ae1399b5f4c3c5bb0e12cca4dcb079276a47579ae1dd6b936c1099436c54d",
        "functions": [
          "place"
        ],
        "props": [
          "swashType, tailServo = true"
        ],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/diagrams.lua",
          "src/rfsuite/app/pages/helicopter_setup/view.lua"
        ],
        "contracts": [
          "VISUAL.cached-reactivity"
        ],
        "adaptation": "Front/rear reference selection replaces two simultaneous drawings; it changes no FC setting. Explicit refusal blocks advance until retried."
      },
      {
        "source": "js/features.svelte.js",
        "sha256": "8d0a7724e8da590174d2429d8f26ff5ee9c77b359313a3bfb157d07073e892f9",
        "functions": [],
        "props": [],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/forms.lua",
          "src/rfsuite/app/pages/helicopter_setup/workflow.lua"
        ],
        "contracts": [
          "S02.protocol-ids-presets-feature-group",
          "S02.order-detection-and-throttle",
          "S08.governor-feature-and-rpm",
          "S09-S12.versioned-esc-and-ports"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "js/swash.js",
        "sha256": "92e33b74b0685f6a96046142833df307ffb565cb6f390a3c7c62f1a870271f77",
        "functions": [
          "ccpm"
        ],
        "props": [],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/diagrams.lua",
          "src/rfsuite/app/pages/helicopter_setup/view.lua"
        ],
        "contracts": [
          "VISUAL.cached-reactivity"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "js/tail_motor.js",
        "sha256": "0fbb06e33343f105935a0c4beae4f0fa11615f78c767ea0b0a346c6deaf6f924",
        "functions": [
          "hasTailOutputSwitch",
          "tailOutputCommand",
          "readTailOutput",
          "switchTailOutput",
          "tailOutputMatches",
          "setTtaGainAllProfiles",
          "motorOutputProblem",
          "applyTailMode"
        ],
        "props": [],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
          "src/rfsuite/app/pages/helicopter_setup/workflow.lua"
        ],
        "contracts": [
          "CORE.prepared-api-roundtrip",
          "CORE.second-pass-edges",
          "CORE.status-expiry-during-pending-request",
          "CORE.trial-state-and-diagnostics",
          "CORE.wiring-success-polling-and-teardown",
          "S06.tail-transition-and-pin"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/configuration/AutoAlignWizard.svelte",
        "sha256": "2fc725bf52a4e4b895a41f51920967ed3823001a8e5999e1ded0e5443ae4ed53",
        "functions": [
          "sendBoardAutoAlignQuery",
          "finish",
          "t",
          "setWizard",
          "clearPoll",
          "clearAutoClose",
          "startAutoCloseCountdown",
          "onQueryFailed",
          "queryBoardAutoAlign",
          "onClickRetry",
          "onClickCalibrate",
          "onClickClose",
          "handleDialogClose",
          "stop"
        ],
        "props": [
          "onButtonDisabled, onClose"
        ],
        "events": [
          "onclick",
          "onclose"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/workflow.lua"
        ],
        "contracts": [
          "CORE.prepared-api-roundtrip",
          "CORE.second-pass-edges",
          "CORE.status-expiry-during-pending-request",
          "CORE.trial-state-and-diagnostics",
          "CORE.wiring-success-polling-and-teardown",
          "S01.calibration-alignment"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/configuration/util.js",
        "sha256": "3d32155791333d57be41ca9ad851e02be31af5fce4a8626f606e89d308c9b420",
        "functions": [
          "getPortFunc",
          "getPortType",
          "getPortExcl",
          "getPortBaudrate",
          "setPortBaudrate",
          "pidDenomOptions",
          "gyroFrequencyLabel"
        ],
        "props": [],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/forms.lua"
        ],
        "contracts": [
          "S02.port-selection"
        ],
        "adaptation": "Only wizard-used UART/VCP IDs, free/current port filtering and function masks are in scope. Board-specific decorative port captions use Suite UART numbering."
      },
      {
        "source": "tabs/governor/state.svelte.js",
        "sha256": "15c624bd21fe28bc6cf618ca533028a299dd8b02698db059690bb9898c61c4e1",
        "functions": [],
        "props": [],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/forms.lua",
          "src/rfsuite/app/pages/helicopter_setup/workflow.lua"
        ],
        "contracts": [
          "S02.protocol-ids-presets-feature-group",
          "S02.order-detection-and-throttle",
          "S08.governor-feature-and-rpm",
          "S09-S12.versioned-esc-and-ports"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/motors/EscWiringDetectWizard.svelte",
        "sha256": "8069a5fc1f2f345e2c524677c5adac088db2068dc9c3350c067e7a009c8189dc",
        "functions": [
          "sendTrialQuery",
          "finish",
          "t",
          "yesNo",
          "setWizard",
          "clearPoll",
          "onQueryFailed",
          "stopTrial",
          "queryTrial",
          "onClickRetry",
          "onClickClose",
          "onClickSaveReboot",
          "handleDialogClose",
          "stop"
        ],
        "props": [
          "onDetected, onButtonDisabled, onClose, onSaveRequested"
        ],
        "events": [
          "onclick",
          "onclose"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/workflow.lua"
        ],
        "contracts": [
          "CORE.prepared-api-roundtrip",
          "CORE.second-pass-edges",
          "CORE.status-expiry-during-pending-request",
          "CORE.trial-state-and-diagnostics",
          "CORE.wiring-success-polling-and-teardown",
          "S01.calibration-alignment"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/motors/state.svelte.js",
        "sha256": "75b1a192ed11b0b81ece69fca5f934b85da5c010e6d6b0ca7f17365e8f437d48",
        "functions": [],
        "props": [],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/forms.lua",
          "src/rfsuite/app/pages/helicopter_setup/workflow.lua"
        ],
        "contracts": [
          "S02.protocol-ids-presets-feature-group",
          "S02.order-detection-and-throttle",
          "S08.governor-feature-and-rpm",
          "S09-S12.versioned-esc-and-ports"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/receiver/RxWiringDetectWizard.svelte",
        "sha256": "5b39b353e38ee7c4ff1646b6e82011195ecc89cda173714e647dcdf8ace44252",
        "functions": [
          "sendTrialQuery",
          "finish",
          "t",
          "yesNo",
          "setWizard",
          "clearPoll",
          "onQueryFailed",
          "stopTrial",
          "queryTrial",
          "onClickRetry",
          "onClickClose",
          "onClickSaveReboot",
          "handleDialogClose",
          "stop"
        ],
        "props": [
          "onDetected, onButtonDisabled, onClose, onSaveRequested"
        ],
        "events": [
          "onclick",
          "onclose"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/workflow.lua"
        ],
        "contracts": [
          "CORE.prepared-api-roundtrip",
          "CORE.second-pass-edges",
          "CORE.status-expiry-during-pending-request",
          "CORE.trial-state-and-diagnostics",
          "CORE.wiring-success-polling-and-teardown",
          "S01.calibration-alignment",
          "CORE.receiver-trial-radio-guard"
        ],
        "adaptation": "Receiver wiring detection is directed to USB Configurator: the trial reinitializes the receiver UART carrying radio MSP. A radio-side guard sends no START. Mapping, protocol/port configuration, live inputs and throttle setup stay in this step."
      },
      {
        "source": "tabs/receiver/channelPresets.js",
        "sha256": "1301983c89edfed00753e0a4c821480713b180d3b1926cb9746b26d21ed96898",
        "functions": [],
        "props": [],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/forms.lua",
          "src/rfsuite/app/pages/helicopter_setup/workflow.lua"
        ],
        "contracts": [
          "S02.protocol-ids-presets-feature-group",
          "S02.order-detection-and-throttle",
          "S08.governor-feature-and-rpm",
          "S09-S12.versioned-esc-and-ports"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/receiver/protocols.js",
        "sha256": "a19f1a9e5557631693d590ab22ad8871001f5803800dd7f3d1fd1b7b8eac58eb",
        "functions": [
          "getCrsfTelemetry",
          "getSmartportTelemetry"
        ],
        "props": [],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/forms.lua",
          "src/rfsuite/app/pages/helicopter_setup/workflow.lua"
        ],
        "contracts": [
          "S02.protocol-ids-presets-feature-group",
          "S02.order-detection-and-throttle",
          "S08.governor-feature-and-rpm",
          "S09-S12.versioned-esc-and-ports"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/setup_wizard/BladesOffWarning.svelte",
        "sha256": "7e1b9ee60a3f7aab340142af5e331e3917a960534f11d72627b0fbde662c8e62",
        "functions": [],
        "props": [
          "text, tail = false"
        ],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/diagrams.lua",
          "src/rfsuite/app/pages/helicopter_setup/view.lua"
        ],
        "contracts": [
          "VISUAL.cached-reactivity"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/setup_wizard/EscArt.svelte",
        "sha256": "2ddb232badc70ed574925e6bc0c17dc28b64ae07228f01f70fb0e393886480f8",
        "functions": [],
        "props": [],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/diagrams.lua",
          "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua",
          "src/rfsuite/app/pages/helicopter_setup/steps/throttle.lua"
        ],
        "contracts": [
          "VISUAL.wizard-intro-pictures"
        ],
        "adaptation": "The packaged ESC picture appears on the first telemetry and throttle cards, including both PWM calibration and battery-connection variants."
      },
      {
        "source": "tabs/setup_wizard/GyroArt.svelte",
        "sha256": "df97cabe3685104e38ebde65f81edc1772ccc772ea13cc55b087d2c1cce29468",
        "functions": [],
        "props": [
          "axis = \"roll\""
        ],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/diagrams.lua",
          "src/rfsuite/app/pages/helicopter_setup/view.lua"
        ],
        "contracts": [
          "VISUAL.configurator-pictures"
        ],
        "adaptation": "Packaged Configurator roll, pitch and yaw correction pictures replace the mechanical sketches; physical response is confirmed by the pilot."
      },
      {
        "source": "tabs/setup_wizard/HeliSide.svelte",
        "sha256": "c1c211ee04f44d8c463fe9f042ed896ff8a637612a256cf2e92e813908a3bf3d",
        "functions": [],
        "props": [
          "scene = \"level\""
        ],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/diagrams.lua",
          "src/rfsuite/app/pages/helicopter_setup/view.lua"
        ],
        "contracts": [
          "VISUAL.cached-reactivity"
        ],
        "adaptation": "Mechanical reference geometry is static, as in the source. Source scene/axis/angle variants become task-specific line drawings. Physical response is confirmed by the pilot."
      },
      {
        "source": "tabs/setup_wizard/LiveBar.svelte",
        "sha256": "ac6d02634739f3dbaeacba881e59f0d0738af73eb61ab9ccf4f4032d8861a08f",
        "functions": [],
        "props": [
          "f = 0, tone = null"
        ],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/diagrams.lua",
          "src/rfsuite/app/pages/helicopter_setup/view.lua"
        ],
        "contracts": [
          "VISUAL.cached-reactivity"
        ],
        "adaptation": "Function-bound cached geometry changes with the source parameter or MSP value; the switch cue alone is a decorative timed movement."
      },
      {
        "source": "tabs/setup_wizard/MainMotorTest.svelte",
        "sha256": "29ba69f31e213e6d30832b314efdd94065feaeb7099fdc87cf86e006969e3f1e",
        "functions": [
          "nudge",
          "send",
          "start",
          "stop"
        ],
        "props": [
          "disabled = false"
        ],
        "events": [
          "onblur",
          "onclick",
          "onkeydown",
          "onkeyup",
          "onpointercancel",
          "onpointerdown",
          "onpointerleave",
          "onpointerup"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/controller.lua",
          "src/rfsuite/app/pages/helicopter_setup/workflow.lua"
        ],
        "contracts": [
          "CORE.prepared-api-roundtrip",
          "CORE.second-pass-edges",
          "CORE.status-expiry-during-pending-request",
          "CORE.trial-state-and-diagnostics",
          "CORE.wiring-success-polling-and-teardown",
          "S10.connection-gate",
          "S12.motor-hold-and-calibration",
          "S17.tail-servo-and-motor-variants"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/setup_wizard/MotorCheck.svelte",
        "sha256": "7935bf98016ccacb5db025c55419db100e83889ad14dc06225716d7a23bd5160",
        "functions": [
          "poll"
        ],
        "props": [],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/controller.lua",
          "src/rfsuite/app/pages/helicopter_setup/workflow.lua"
        ],
        "contracts": [
          "CORE.prepared-api-roundtrip",
          "CORE.second-pass-edges",
          "CORE.status-expiry-during-pending-request",
          "CORE.trial-state-and-diagnostics",
          "CORE.wiring-success-polling-and-teardown",
          "S10.connection-gate",
          "S12.motor-hold-and-calibration",
          "S17.tail-servo-and-motor-variants"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/setup_wizard/MotorGearArt.svelte",
        "sha256": "c9d8046d5b5d3a34226677d59f1e6830591dcb72fde1e8ace301fe69dd6a619e",
        "functions": [],
        "props": [],
        "events": [],
        "targets": [
          "docs/pages/helicopter_setup.md",
          "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua"
        ],
        "contracts": [
          "VISUAL.cached-reactivity"
        ],
        "adaptation": "Decorative source illustration replaced by explicit task labels, numerical fields and help; artwork is intentionally redesigned."
      },
      {
        "source": "tabs/setup_wizard/PitchArt.svelte",
        "sha256": "8acd3ad6c6fb44846626da3e3ffb7e21d793d7e941f15800b022a2cc55fe566f",
        "functions": [],
        "props": [
          "angle = 9, label = null"
        ],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/diagrams.lua",
          "src/rfsuite/app/pages/helicopter_setup/view.lua"
        ],
        "contracts": [
          "VISUAL.configurator-pictures"
        ],
        "adaptation": "Packaged Configurator pitch-9 pictures show both calibration references; pitch-0 shows the level-check tip."
      },
      {
        "source": "tabs/setup_wizard/PulseTrain.svelte",
        "sha256": "73b0e713d67b926ee10fb5b075c49d1a7380fdfa8a0e9bca63c56a8f93f47187",
        "functions": [],
        "props": [
          "rate, width = 1500"
        ],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/diagrams.lua",
          "src/rfsuite/app/pages/helicopter_setup/view.lua"
        ],
        "contracts": [
          "VISUAL.configurator-pictures"
        ],
        "adaptation": "Each servo type has a packaged picture composed of this pulse train above the Configurator servo drawing. Custom or mixed settings retain cached waveform geometry. Image and sketch visibility change within the same scene."
      },
      {
        "source": "tabs/setup_wizard/RateCurve.svelte",
        "sha256": "132576fb5f171acae872c198986087b836c28d9538b0a4426bf7d31f3966c639",
        "functions": [],
        "props": [
          "rate, expo, shape = 2, scale = 500, axisLabel = \"\""
        ],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/diagrams.lua",
          "src/rfsuite/app/pages/helicopter_setup/view.lua"
        ],
        "contracts": [
          "VISUAL.cached-reactivity"
        ],
        "adaptation": "Function-bound cached geometry changes with the source parameter or MSP value; the switch cue alone is a decorative timed movement."
      },
      {
        "source": "tabs/setup_wizard/RebootLater.svelte",
        "sha256": "899fc80b7ec3eeeb6e5cbe474c1575d6c12efc51db5efe33487a8b8fa234e5a2",
        "functions": [],
        "props": [],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/controller.lua",
          "src/rfsuite/app/pages/helicopter_setup/view.lua"
        ],
        "contracts": [
          "VISUAL.cached-reactivity"
        ],
        "adaptation": "Pending-restart feedback and the gate navigation replace the web banner."
      },
      {
        "source": "tabs/setup_wizard/ReceiverArt.svelte",
        "sha256": "3e677c769b424916f6dc6786364a8982cc3a33485eea198074b55d25480634c8",
        "functions": [],
        "props": [],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/diagrams.lua",
          "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua"
        ],
        "contracts": [
          "VISUAL.wizard-intro-pictures"
        ],
        "adaptation": "The first receiver card shows the packaged Configurator receiver picture."
      },
      {
        "source": "tabs/setup_wizard/RotorDirArt.svelte",
        "sha256": "747fac3bab44d02926b1adcf5d66ebcf8308b614ff2e64e54ff21404e45a0900",
        "functions": [],
        "props": [
          "dir = \"cw\""
        ],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/diagrams.lua",
          "src/rfsuite/app/pages/helicopter_setup/view.lua"
        ],
        "contracts": [
          "VISUAL.cached-reactivity"
        ],
        "adaptation": "Function-bound cached geometry changes with the source parameter or MSP value; the switch cue alone is a decorative timed movement."
      },
      {
        "source": "tabs/setup_wizard/ServoArmArt.svelte",
        "sha256": "03a31611b44f8dc1c03244c5e89a2853c95fbb0f8b164acaa7e724416d53a40b",
        "functions": [],
        "props": [],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/diagrams.lua",
          "src/rfsuite/app/pages/helicopter_setup/steps/servos.lua",
          "src/rfsuite/app/pages/helicopter_setup/view.lua"
        ],
        "contracts": [
          "VISUAL.wizard-intro-pictures"
        ],
        "adaptation": "Every screen size starts with the packaged servo-arm picture and three arm-fitting, direction and centring instructions. The unchanged servo grid follows, and only its entry starts centre holds."
      },
      {
        "source": "tabs/setup_wizard/ServoArt.svelte",
        "sha256": "45cf2d04e32080964805446df7f080ce9366a5f9c5f0b3473319bb496f01d582",
        "functions": [],
        "props": [],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/diagrams.lua",
          "src/rfsuite/app/pages/helicopter_setup/steps/connect.lua",
          "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua"
        ],
        "contracts": [
          "VISUAL.configurator-pictures",
          "VISUAL.wizard-intro-pictures"
        ],
        "adaptation": "Both connection cards and the first geometry-correction card show the packaged Configurator servo picture; servo-type group cards retain their pulse pictures."
      },
      {
        "source": "tabs/setup_wizard/SetupWizard.svelte",
        "sha256": "f9a2c61041f8caf904b9ba5d6394772403149719dfd0d1f5fd4d67de612f4dda",
        "functions": [
          "readStoredStep",
          "storeStep",
          "takeSnapshot",
          "isArmed",
          "poll",
          "overrideTimeout",
          "refreshOverrides",
          "holdMixer",
          "passthroughMixer",
          "releaseMixer",
          "releaseMixers",
          "holdServo",
          "releaseServo",
          "releaseServos",
          "releaseAll",
          "sendServo",
          "sendMixerInput",
          "sendMixerConfig",
          "markChanged",
          "save",
          "saveAndReboot",
          "revert",
          "openTab",
          "goTo",
          "next",
          "onClickHelp",
          "isDirty",
          "onSave",
          "onRevert"
        ],
        "props": [],
        "events": [
          "onclick"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/controller.lua",
          "src/rfsuite/app/pages/helicopter_setup/transport.lua",
          "src/rfsuite/app/pages/helicopter_setup/page.lua",
          "src/rfsuite/app/pages/helicopter_setup/view.lua",
          "src/rfsuite/app/pages/helicopter_setup/navigation.lua",
          "src/rfsuite/app/pages/helicopter_setup/feedback.lua",
          "src/rfsuite/app/pages/helicopter_setup/history.lua",
          "src/rfsuite/app/pages/helicopter_setup/history_store.lua"
        ],
        "contracts": [
          "CORE.prepared-api-roundtrip",
          "CORE.second-pass-edges",
          "CORE.status-expiry-during-pending-request",
          "CORE.trial-state-and-diagnostics",
          "CORE.wiring-success-polling-and-teardown",
          "CORE.paged-startup",
          "CORE.individual-step-entry",
          "CORE.step-switch-save-discard",
          "CORE.status-during-save",
          "CORE.packed-feedback",
          "VISUAL.native-background",
          "CORE.suite-step-entries",
          "CORE.history-store",
          "CORE.history-guidance-and-reset",
          "CORE.history-failure-actions",
          "CORE.radio-model-preparation",
          "CORE.status-wait-and-retry",
          "CORE.loading-scene",
          "REVIEW.pitch-discard",
          "REVIEW.back-preserves-commit",
          "REVIEW.fresh-blade-confirmation",
          "REVIEW.cleanup-before-unlock",
          "REVIEW.abnormal-close",
          "REVIEW.independent-timeout-probes",
          "VISUAL.retained-scene-transitions",
          "CORE.completed-transport-retention",
          "CORE.history-lua-record",
          "CORE.esc-before-spin"
        ],
        "adaptation": "The complete path keeps all 19 source steps. Suite entries share one lazy page and load only the selected step, with preparation before holds, save/discard, and return to the Suite. Informational per-FC history has explicit reset and advisory prerequisites; no saved bit replaces fresh physical answers. Telemetry-sized indexed startup replaces USB bulk reads. Cached packed-state hints never replace MSP acknowledgements or lock readbacks. Native light palette and responsive diagrams replace browser scenes. An unnumbered current-radio-model confirmation precedes new setup visits; template use alone does not pass it and history cannot retain it. Deliberate deviation from PR 491: ESC telemetry is step 10, before servo connection at step 11 and the spin test at step 12, so its port restart happens with the servos unplugged and the ESC link and live values are established before motor spin. Menu IDs and stored history bits remain positional; no history migration is performed."
      },
      {
        "source": "tabs/setup_wizard/StepConnect.svelte",
        "sha256": "f5ccc871df06892f3688291aaf14886b5ccbfbfac9e78a35bf3aa4026b09560a",
        "functions": [],
        "props": [],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/steps/connect.lua"
        ],
        "contracts": [
          "S10.connection-gate"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/setup_wizard/StepDirection.svelte",
        "sha256": "fe1bf1635390137cadc37151287d35b183834f3412e3a397b34bf5ffa010174e",
        "functions": [
          "poll",
          "reversed",
          "reverse"
        ],
        "props": [],
        "events": [
          "onclick"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/steps/direction.lua"
        ],
        "contracts": [
          "S14-S15.axis-direction-and-trims"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/setup_wizard/StepEscTelemetry.svelte",
        "sha256": "8dda55763dcf1e87951becaeef15bcd347eb1826b34a4c83b24bab28d7947d10",
        "functions": [
          "poll",
          "markChanged",
          "setInUse",
          "setProtocol",
          "maskOf",
          "setMask",
          "portName",
          "usedFor",
          "choosePort",
          "closeDetect",
          "detectWiring"
        ],
        "props": [],
        "events": [
          "onchange",
          "onclick"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua"
        ],
        "contracts": [
          "S09-S12.versioned-esc-and-ports",
          "S11.card-order-and-save"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises. Deliberate deviation: moved before the spin test to step 11, behind the connection gate, so the ESC link exists before the motor first spins, starting with a flight-battery connection card while main and tail blades remain removed."
      },
      {
        "source": "tabs/setup_wizard/StepFinish.svelte",
        "sha256": "11865ed722a6fd7d69579093bf463b5354fc2112821d99c0c2bed74ecb603dd9",
        "functions": [
          "finish"
        ],
        "props": [],
        "events": [
          "onclick"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua"
        ],
        "contracts": [
          "S18-S19.physical-check-and-summary"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/setup_wizard/StepGovernor.svelte",
        "sha256": "c72a14dc6dad1a939fbc354013ba5def0a1a8b2f5f6c241c19cdba18d4729b2f",
        "functions": [
          "markChanged",
          "setMode",
          "setType"
        ],
        "props": [],
        "events": [
          "onclick"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua"
        ],
        "contracts": [
          "S08.governor-feature-and-rpm",
          "S08.headspeed-targets",
          "S08.headspeed-scope-and-help",
          "S08.rpm-filter-signal"
        ],
        "adaptation": "Retains mode/type behavior and adds Suite headspeed targets and a read-only filter-signal warning beyond this Configurator snapshot. See the additions inventory for every new writable MSP field."
      },
      {
        "source": "tabs/setup_wizard/StepGyro.svelte",
        "sha256": "77237f67df887c409ef9271aed6c7ddaba9f224c199817abcfa999f647ea8060",
        "functions": [],
        "props": [],
        "events": [
          "onclick"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/steps/gyro.lua"
        ],
        "contracts": [
          "S18-S19.physical-check-and-summary"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/setup_wizard/StepLevel.svelte",
        "sha256": "af663b51f8a0151929038b2d3f9e67266f362f28984a8673f0b0b074889df4ee",
        "functions": [
          "nudge",
          "reset"
        ],
        "props": [],
        "events": [
          "onclick"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/steps/level.lua"
        ],
        "contracts": [
          "S14-S15.axis-direction-and-trims"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/setup_wizard/StepModes.svelte",
        "sha256": "0568f417171e2379f8b2a8d2b4f78a8e87f19c731dc981830180e9ad771698ef",
        "functions": [
          "poll",
          "auxValue",
          "auxValues",
          "rangeIndex",
          "assignment",
          "switchInRange",
          "isOn",
          "listen",
          "cancel",
          "detect",
          "writeSlot",
          "save",
          "remove"
        ],
        "props": [],
        "events": [
          "onclick"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/steps/modes.lua"
        ],
        "contracts": [
          "S03.mode-status-versus-switch",
          "S03.switch-settle",
          "VISUAL.mode-switch-feedback",
          "REVIEW.mode-first-flick"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises. The drawing follows the assigned ARM channel or actual Rescue/Trainer mode flag; it does not demonstrate arming. Learning snapshots current mapped FC channels on click, preserving immediate switch movement."
      },
      {
        "source": "tabs/setup_wizard/StepMotor.svelte",
        "sha256": "96dd31ddb83d6e22e69252b2d1529f9878ec9d84158fcab59d3e4d155e234951",
        "functions": [
          "markChanged",
          "setProtocol"
        ],
        "props": [],
        "events": [
          "onchange",
          "onclick"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua"
        ],
        "contracts": [
          "S09-S12.versioned-esc-and-ports"
        ],
        "adaptation": "Behavior follows the source; the protocol tiles PWM, DShot 150 and DShot 300 become the first three entries of the one protocol list, with DShot 600 and the rest after them. Choosing DShot 150 turns bidirectional DShot off. Resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/setup_wizard/StepPitch.svelte",
        "sha256": "ff91eec63ebb1dceafb0df3e326d9b1ec93d75027344f6d62233d74d9035d07b",
        "functions": [
          "holdOnly",
          "toggleHold",
          "percent",
          "setRates",
          "applyMeasured",
          "nudge",
          "label",
          "applyCyclicLimit",
          "applyCollectiveLimit",
          "applyTotalLimit",
          "changeFullStick"
        ],
        "props": [],
        "events": [
          "onchange",
          "onclick"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua"
        ],
        "contracts": [
          "S16.pitch-calibration-limits-fullstick"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/setup_wizard/StepProfiles.svelte",
        "sha256": "494387f349fc615dcf625dc9c68792d85a6d1fffad9b9b13dc07a66b8a85d9ed",
        "functions": [
          "auxValues",
          "auxValue",
          "poll",
          "listen",
          "cancel",
          "detect",
          "record",
          "sendSlot",
          "writeRange",
          "removeFunction",
          "chooseProfiles",
          "useSwitch",
          "writeGain",
          "chooseGain"
        ],
        "props": [],
        "events": [
          "onclick"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua"
        ],
        "contracts": [
          "S04.readback-paired-capacity",
          "S04.switch-recording-gain-feedback",
          "REVIEW.mode-first-flick"
        ],
        "adaptation": "EdgeTX trim-mix instructions replace Ethos screenshots. Paired slot reservations avoid partial assignments when the table is full. Channel plans paginate to four rows. Learning snapshots current mapped FC channels on click, preserving immediate switch movement."
      },
      {
        "source": "tabs/setup_wizard/StepRates.svelte",
        "sha256": "c01937ea29ccbfc82bda9f89fe068606309c69e079e38ebd3809eff549b30144",
        "functions": [
          "select",
          "forEachProfile",
          "styleOf",
          "choose",
          "suggest"
        ],
        "props": [],
        "events": [
          "onclick"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/steps/rates.lua"
        ],
        "contracts": [
          "S05.scoped-rates-and-readback"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/setup_wizard/StepReceiver.svelte",
        "sha256": "97c49c5164f06bee03e341e444a6f26d77a90a50cbfc09250bbef7ec9cd39349",
        "functions": [
          "poll",
          "send",
          "maskOf",
          "setMask",
          "portName",
          "usedFor",
          "choosePort",
          "chooseProtocol",
          "changeConnection",
          "closeDetect",
          "detectWiring",
          "choosePreset",
          "setMap",
          "channelsNow",
          "startOrderDetect",
          "orderDetectTick",
          "reading",
          "startMeasure",
          "useMeasured",
          "useDefault"
        ],
        "props": [],
        "events": [
          "onchange",
          "onclick"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua"
        ],
        "contracts": [
          "S02.order-detection-and-throttle",
          "S02.port-selection",
          "S02.protocol-ids-presets-feature-group",
          "CORE.receiver-trial-radio-guard",
          "REVIEW.fc-input-learning"
        ],
        "adaptation": "Receiver wiring detection is directed to USB Configurator: the trial reinitializes the receiver UART carrying radio MSP. A radio-side guard sends no START. Mapping, protocol/port configuration, live inputs and throttle setup stay in this step. The radio requires an established receiver/MSP link, so receiver UART selection is omitted. Protocol configuration and USB guidance remain. Learning snapshots current raw FC input on click; throttle-switch instructions include OFF/ON endpoints."
      },
      {
        "source": "tabs/setup_wizard/StepSensors.svelte",
        "sha256": "32ca21d3ff75d8d75a65ef48c76f2f3c2889a50cb284c602e811cdc78d4c89f8",
        "functions": [
          "calibrateAccel",
          "closeDialog",
          "openAutoAlign"
        ],
        "props": [],
        "events": [
          "onclick"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua",
          "src/rfsuite/app/pages/helicopter_setup/attitude_view.lua"
        ],
        "contracts": [
          "S01.calibration-alignment",
          "S01.manual-alignment-fallback",
          "VISUAL.live-orientation-model"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises. The final orientation check uses a cached wireframe driven by fresh MSP attitude, with manual confirmation and separate compact/large layouts."
      },
      {
        "source": "tabs/setup_wizard/StepServoType.svelte",
        "sha256": "98e78949a11ab93d626f2fcab66cc83cf6e0fbedabefd2f8839851f6bec77e50",
        "functions": [
          "bandOf",
          "groupServos",
          "currentType",
          "apply"
        ],
        "props": [],
        "events": [
          "onclick"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua"
        ],
        "contracts": [
          "S07.servo-bands-and-reboot",
          "REVIEW.servo-types-per-group"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises. Separate cyclic/tail cards offer their own servo types (cyclic: Analog 50, Digital 165, Hi-end digital 333 Hz at 1520 us, Narrow band 560 Hz at 760 us; tail: Digital 200 Hz at 1520 us, Specific digital 333 and Hi-end specific 560 Hz at 760 us) instead of one list of three; a trimmed centre keeps its type, servos matching no type read Custom, which is shown and not chosen. The waveform uses stable cached points refreshed on edits."
      },
      {
        "source": "tabs/setup_wizard/StepServos.svelte",
        "sha256": "4ecb8520ac25514b0ecf19b83211510ae6989460f9ed6ec96aa04374a949db57",
        "functions": [
          "bandCentre",
          "test",
          "answer",
          "nudge",
          "signed"
        ],
        "props": [],
        "events": [
          "onclick"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/steps/servos.lua",
          "src/rfsuite/app/pages/helicopter_setup/servo_grid.lua",
          "src/rfsuite/app/pages/helicopter_setup/page.lua",
          "src/rfsuite/app/pages/helicopter_setup/view.lua"
        ],
        "contracts": [
          "S13.servo-direction-centre",
          "S13.intro-hold-lifecycle",
          "S13.servo-cards-controls-and-warnings",
          "S13.named-validation",
          "CORE.suite-step-entries"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/setup_wizard/StepSwash.svelte",
        "sha256": "86f0c7f697af39e6d795db7c4e66a887c50398fdcaa544a53080d7f6af524733",
        "functions": [
          "needReboot",
          "tailPinMovable",
          "swashLabel",
          "setSwashType",
          "setRotorDirection",
          "setTailMode"
        ],
        "props": [],
        "events": [
          "onclick"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua"
        ],
        "contracts": [
          "S06.tail-transition-and-pin"
        ],
        "adaptation": "Front/rear reference selection replaces two simultaneous drawings; it changes no FC setting. Explicit refusal blocks advance until retried."
      },
      {
        "source": "tabs/setup_wizard/StepTail.svelte",
        "sha256": "208bba285457d25a63875088020d98bb18e5a933592da3ce07ef272274482387",
        "functions": [
          "poll",
          "setHold",
          "toggleHold",
          "nudgeTrim",
          "reverse",
          "nudgeCal",
          "applyLimits"
        ],
        "props": [],
        "events": [
          "onchange",
          "onclick"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua"
        ],
        "contracts": [
          "S17.tail-servo-and-motor-variants"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/setup_wizard/StepThrottle.svelte",
        "sha256": "e9f31d5a7c12d1d8c760bb51397b2321be383a27201fce0f4ca4b90ed23d889a",
        "functions": [
          "setOverride",
          "release",
          "fullThrottle",
          "lowThrottle",
          "cancel",
          "poll"
        ],
        "props": [],
        "events": [
          "onclick"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/steps/throttle.lua"
        ],
        "contracts": [
          "S12.motor-hold-and-calibration",
          "S12.card-order-save-and-calibration-navigation"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises. Deliberate deviation: moved after ESC telemetry to step 12. PWM calibration first instructs unplugging the battery before full throttle; other protocols keep it connected for the spin test."
      },
      {
        "source": "tabs/setup_wizard/StickIcon.svelte",
        "sha256": "40ab2449e83b28bab1aaaa7bdb930892ef22bacb734065dc805d304942c87356",
        "functions": [],
        "props": [
          "x = 0, y = 0"
        ],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/diagrams.lua",
          "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua"
        ],
        "contracts": [
          "VISUAL.wizard-intro-pictures"
        ],
        "adaptation": "The channel-order card shows the active detection function with the Configurator x/y stick pose; idle and ARM detection use the centred pose."
      },
      {
        "source": "tabs/setup_wizard/SwashArt.svelte",
        "sha256": "a0c026b87048c46fb5d771e6b9997221549b40577fb029655ef6ed012cec4db4",
        "functions": [],
        "props": [
          "scene = \"level\""
        ],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/diagrams.lua",
          "src/rfsuite/app/pages/helicopter_setup/view.lua"
        ],
        "contracts": [
          "VISUAL.configurator-pictures"
        ],
        "adaptation": "Packaged Configurator roll, pitch, collective and level swash-motion pictures replace the mechanical sketches; live input meters remain."
      },
      {
        "source": "tabs/setup_wizard/SwitchFlick.svelte",
        "sha256": "1a264cef0e9b73344d575b11870ea4545ab9ccb6c2e034fc649a029e35273118",
        "functions": [],
        "props": [],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/diagrams.lua",
          "src/rfsuite/app/pages/helicopter_setup/view.lua"
        ],
        "contracts": [
          "VISUAL.configurator-pictures",
          "VISUAL.mode-switch-feedback"
        ],
        "adaptation": "Left/right Configurator pictures follow the existing live mode state. Unavailable input hides the directional picture and retains its status text; the profile card remains a labelled example."
      },
      {
        "source": "tabs/setup_wizard/TabButton.svelte",
        "sha256": "2b426cded74df3ecf8c272ca214bc115df12ae605d61b32574ee29a9056c69ac",
        "functions": [],
        "props": [
          "tab, children"
        ],
        "events": [
          "onclick"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/view.lua",
          "docs/pages/helicopter_setup.md"
        ],
        "contracts": [
          "VISUAL.cached-reactivity"
        ],
        "adaptation": "Advanced-tab shortcuts become task help and documented Suite menu routes; they do not leave an active bench test."
      },
      {
        "source": "tabs/setup_wizard/TailArt.svelte",
        "sha256": "896d820ae9fe57a279c7aa6fd732203552cb0f836d6489303e8d4ea6cbf6e6eb",
        "functions": [],
        "props": [
          "kind = \"servo\", move = false"
        ],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/diagrams.lua",
          "src/rfsuite/app/pages/helicopter_setup/view.lua"
        ],
        "contracts": [
          "VISUAL.configurator-pictures"
        ],
        "adaptation": "Packaged Configurator servo-centre, servo-direction, motor and bidirectional pictures replace the mechanical sketches. The direction meter remains; the calibration card draws TailFoldArt's end-on blades instead of a sketch."
      },
      {
        "source": "tabs/setup_wizard/TailFoldArt.svelte",
        "sha256": "6e55ee623542c229d59614e013411a12a1d14ea466a86bb6983f27b6fc7ab9ed",
        "functions": [],
        "props": [],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/diagrams.lua"
        ],
        "contracts": [
          "S17.tail-servo-and-motor-variants"
        ],
        "adaptation": "The end-on tail blades at 22.5 degrees each way with the 45-degree paper fold between them are drawn as Lua line art on the calibration card; the fold text is the card's hint."
      },
      {
        "source": "tabs/setup_wizard/TailMotorTest.svelte",
        "sha256": "24b88978b17ac1fc5273405e52febc02538cc741353ddf2aee88ab64632dce13",
        "functions": [
          "overrideValue",
          "send",
          "start",
          "stop",
          "nudge",
          "useIdle"
        ],
        "props": [],
        "events": [
          "onblur",
          "onclick",
          "onkeydown",
          "onkeyup",
          "onpointercancel",
          "onpointerdown",
          "onpointerleave",
          "onpointerup"
        ],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/controller.lua",
          "src/rfsuite/app/pages/helicopter_setup/workflow.lua"
        ],
        "contracts": [
          "CORE.prepared-api-roundtrip",
          "CORE.second-pass-edges",
          "CORE.status-expiry-during-pending-request",
          "CORE.trial-state-and-diagnostics",
          "CORE.wiring-success-polling-and-teardown",
          "S10.connection-gate",
          "S12.motor-hold-and-calibration",
          "S17.tail-servo-and-motor-variants"
        ],
        "adaptation": "Idle is limited to the actual U8 wire ceiling, 25.5%, and each motor hold has a 15-second local maximum."
      },
      {
        "source": "tabs/setup_wizard/adjust.js",
        "sha256": "781fc65aa66f91e1591f8fab2f726a80c21bbc95ce093f710aca582146ae6198",
        "functions": [
          "channelNumber",
          "toStep",
          "mappedRange",
          "switchPositions",
          "profileRange",
          "knobRange",
          "buttonValue",
          "buttonWindow",
          "buttonAt",
          "steppedGainRange",
          "slotFor",
          "rangeOf",
          "channelOf",
          "mappedValue",
          "profileMode",
          "gainMode"
        ],
        "props": [],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/math.lua"
        ],
        "contracts": [
          "SOURCE.pure-helper-golden-vectors"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/setup_wizard/governor.js",
        "sha256": "1cdfc451b26dd5236772a13e6964d839b27d7afde9e7fa4cd5c901f2be9151aa",
        "functions": [
          "hasFastRpm"
        ],
        "props": [],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/workflow.lua"
        ],
        "contracts": [
          "S08.governor-feature-and-rpm"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/setup_wizard/heli.js",
        "sha256": "5b1ee77e3600f68bf9b8362957a37459cfe7a5c649159aef9145a62750688110",
        "functions": [
          "swashRaw",
          "tailRaw",
          "servoRaw",
          "limitDegrees",
          "limitRaw",
          "wizardServos",
          "missingServos",
          "calibratedRate",
          "mapFromDetected",
          "movedChannel",
          "rangeForSwitch",
          "collectiveAtFullStick",
          "setCollectiveAtFullStick",
          "round1",
          "round2"
        ],
        "props": [],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/math.lua"
        ],
        "contracts": [
          "SOURCE.pure-helper-golden-vectors"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      },
      {
        "source": "tabs/setup_wizard/rates.js",
        "sha256": "4bfce823b82af5940ade4684018f97d7b3419dbcc95b68bf915940e1ec52c203",
        "functions": [
          "wizardRatesType",
          "curveShape",
          "applyStyle",
          "matchingStyle",
          "round2"
        ],
        "props": [],
        "events": [],
        "targets": [
          "src/rfsuite/app/pages/helicopter_setup/math.lua"
        ],
        "contracts": [
          "SOURCE.pure-helper-golden-vectors"
        ],
        "adaptation": "Behavior follows the source; resumable Lua jobs and compact task cards replace web component lifecycle and promises."
      }
    ]
  },
  "steps": [
    {
      "number": 0,
      "id": "model",
      "title": "Prepare the radio model",
      "phase": "A",
      "cards": [
        {
          "title": "Interrupted session",
          "title_expression": "self . L . recoveryTitle",
          "source": "src/rfsuite/app/pages/helicopter_setup/navigation.lua",
          "configurator_reference": [
            "tabs/setup_wizard/SetupWizard.svelte"
          ],
          "configurator_status": [
            "differs from the Configurator"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot confirms",
              "label": "FC power-cycled",
              "api": null,
              "field": "recoveryPowerCycle",
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/SetupWizard.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/navigation.lua",
              "expression": "self : check ( \"recoveryPowerCycle\" , self . L . fcPowerCycled )"
            }
          ]
        },
        {
          "title": "Prepare the radio model",
          "title_expression": "self . L . modelPreparationTitle",
          "source": "src/rfsuite/app/pages/helicopter_setup/navigation.lua",
          "configurator_reference": [
            "tabs/setup_wizard/SetupWizard.svelte"
          ],
          "configurator_status": [
            "differs from the Configurator"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "name.name",
              "api": "name",
              "field": "name",
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/SetupWizard.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/navigation.lua",
              "expression": "self : field ( \"name\" , \"name\" , v )"
            },
            {
              "kind": "read",
              "label": "Active model",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/SetupWizard.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/navigation.lua",
              "expression": "self : value ( self . L . activeModel , function ( ) return self . activeModelName end )"
            },
            {
              "kind": "pilot confirms",
              "label": "Radio model set up",
              "api": null,
              "field": "modelReady",
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/SetupWizard.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/navigation.lua",
              "expression": "self : check ( \"modelReady\" , self . L . modelChecked )"
            },
            {
              "kind": "pilot sets",
              "label": "FC name",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/SetupWizard.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/navigation.lua",
              "expression": "{ kind = \"text\" , label = self . L . craftName , length = 16 , get = function ( ) return self . data . name and self . data . name . name or \"\" end , set = function ( v ) if self . data . name then self : field ( \"name\" , \"name\" , v ) end end }"
            },
            {
              "kind": "MSP write",
              "label": "telemetry_config (record/payload)",
              "api": "telemetry_config",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/SetupWizard.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/navigation.lua",
              "expression": "self : action ( \"telemetry_config\" , payload )"
            },
            {
              "kind": "MSP write",
              "label": "telemetry_config.buffer",
              "api": "telemetry_config",
              "field": "buffer",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/SetupWizard.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/navigation.lua",
              "expression": "d . buffer ="
            }
          ]
        }
      ],
      "msp_reads": [],
      "msp_writes": [
        "name.name",
        "telemetry_config",
        "telemetry_config.buffer"
      ],
      "configurator_status": [
        "differs from the Configurator"
      ]
    },
    {
      "number": 1,
      "id": "sensors",
      "title": "Board orientation",
      "phase": "A",
      "cards": [
        {
          "title": "Prepare",
          "title_expression": "L . cardPrepare",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepSensors.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "gate",
              "label": "ack orientation",
              "api": null,
              "field": "orientation",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepSensors.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua",
              "expression": "w : ack ( \"orientation\" )"
            },
            {
              "kind": "pilot confirms",
              "label": "All blades removed",
              "api": null,
              "field": "blades",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepSensors.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua",
              "expression": "w : check ( \"blades\" , L . bladesRemoved )"
            },
            {
              "kind": "pilot confirms",
              "label": "Servos unplugged",
              "api": null,
              "field": "unplugged",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepSensors.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua",
              "expression": "w : check ( \"unplugged\" , L . servosUnplugged )"
            },
            {
              "kind": "gate",
              "label": "validation",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepSensors.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua",
              "expression": "validate = function ( ) return w : ack ( \"orientation\" ) end"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP attitude",
              "api": "attitude",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP servo",
              "api": "servo",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            }
          ]
        },
        {
          "title": "Calibrate the accelerometer",
          "title_expression": "L . calibrateTitle",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepSensors.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "acc_calibration (record/payload)",
              "api": "acc_calibration",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepSensors.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua",
              "expression": "w : write ( \"acc_calibration\" , { } , function ( ) w . message = L . calibrating ; w . calibrationAt = getTime ( ) end )"
            },
            {
              "kind": "read",
              "label": "Accelerometer",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepSensors.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua",
              "expression": "w : value ( L . accelerometer , function ( ) return acc and L . available or L . unavailable end )"
            },
            {
              "kind": "read",
              "label": "Calibrated",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepSensors.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua",
              "expression": "w : value ( L . accCalibrated , function ( ) return calibrated end )"
            }
          ]
        },
        {
          "title": "Mounting angles",
          "title_expression": "L . cardMounting",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepSensors.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot sets",
              "label": "Roll",
              "api": "board_alignment_config",
              "field": "roll_degrees",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepSensors.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua",
              "expression": "w : n ( \"board_alignment_config\" , \"roll_degrees\" , L . roll , - 180 , 180 , false , true )"
            },
            {
              "kind": "MSP write",
              "label": "board_alignment_config.roll_degrees",
              "api": "board_alignment_config",
              "field": "roll_degrees",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepSensors.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua",
              "expression": "w : n ( \"board_alignment_config\" , \"roll_degrees\" , L . roll , - 180 , 180 , false , true )"
            },
            {
              "kind": "pilot sets",
              "label": "Pitch",
              "api": "board_alignment_config",
              "field": "pitch_degrees",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepSensors.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua",
              "expression": "w : n ( \"board_alignment_config\" , \"pitch_degrees\" , L . pitch , - 180 , 180 , false , true )"
            },
            {
              "kind": "MSP write",
              "label": "board_alignment_config.pitch_degrees",
              "api": "board_alignment_config",
              "field": "pitch_degrees",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepSensors.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua",
              "expression": "w : n ( \"board_alignment_config\" , \"pitch_degrees\" , L . pitch , - 180 , 180 , false , true )"
            },
            {
              "kind": "pilot sets",
              "label": "Yaw",
              "api": "board_alignment_config",
              "field": "yaw_degrees",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepSensors.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua",
              "expression": "w : n ( \"board_alignment_config\" , \"yaw_degrees\" , L . yaw , - 180 , 180 , false , true )"
            },
            {
              "kind": "MSP write",
              "label": "board_alignment_config.yaw_degrees",
              "api": "board_alignment_config",
              "field": "yaw_degrees",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepSensors.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua",
              "expression": "w : n ( \"board_alignment_config\" , \"yaw_degrees\" , L . yaw , - 180 , 180 , false , true )"
            },
            {
              "kind": "read",
              "label": "MSP board_auto_align (trial)",
              "api": "board_auto_align",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepSensors.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua",
              "expression": "w : startTrial ( \"board_auto_align\" )"
            },
            {
              "kind": "MSP write",
              "label": "MSP board_auto_align (trial)",
              "api": "board_auto_align",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepSensors.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua",
              "expression": "w : startTrial ( \"board_auto_align\" )"
            }
          ]
        },
        {
          "title": "Check orientation",
          "title_expression": "L . checkOrientation",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepSensors.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot confirms",
              "label": "Direction is correct",
              "api": null,
              "field": "orientation",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepSensors.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/sensors.lua",
              "expression": "w : check ( \"orientation\" , L . directionCorrect )"
            }
          ]
        }
      ],
      "msp_reads": [
        "status",
        "attitude",
        "servo",
        "board_auto_align"
      ],
      "msp_writes": [
        "acc_calibration",
        "board_alignment_config.roll_degrees",
        "board_alignment_config.pitch_degrees",
        "board_alignment_config.yaw_degrees",
        "board_auto_align"
      ],
      "configurator_status": [
        "same"
      ]
    },
    {
      "number": 2,
      "id": "receiver",
      "title": "Receiver",
      "phase": "A",
      "cards": [
        {
          "title": "Receiver protocol",
          "title_expression": "L . cardReceiverProtocol",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
          "configurator_reference": [
            "tabs/setup_wizard/ReceiverArt.svelte",
            "tabs/setup_wizard/StepReceiver.svelte",
            "tabs/setup_wizard/StickIcon.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "rc_config.rc_center",
              "api": "rc_config",
              "field": "rc_center",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : field ( \"rc_config\" , \"rc_center\" , value )"
            },
            {
              "kind": "pilot sets",
              "label": "Protocol",
              "api": "rx_config",
              "field": "serialrx_provider",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : enum ( \"rx_config\" , \"serialrx_provider\" , L . protocol , w : receiverProtocols ( ) , true )"
            },
            {
              "kind": "MSP write",
              "label": "rx_config.serialrx_provider",
              "api": "rx_config",
              "field": "serialrx_provider",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : enum ( \"rx_config\" , \"serialrx_provider\" , L . protocol , w : receiverProtocols ( ) , true )"
            },
            {
              "kind": "MSP write",
              "label": "rx_config (record/payload)",
              "api": "rx_config",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : touch ( \"rx_config\" , true )"
            },
            {
              "kind": "read",
              "label": "Throttle",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : value ( L . throttle , throttleNow )"
            },
            {
              "kind": "MSP write",
              "label": "rc_config.rc_min_throttle",
              "api": "rc_config",
              "field": "rc_min_throttle",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : field ( \"rc_config\" , \"rc_min_throttle\" , 0 )"
            },
            {
              "kind": "MSP write",
              "label": "rc_config.rc_max_throttle",
              "api": "rc_config",
              "field": "rc_max_throttle",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : field ( \"rc_config\" , \"rc_max_throttle\" , 0 )"
            },
            {
              "kind": "MSP write",
              "label": "rc_config.rc_min_throttle",
              "api": "rc_config",
              "field": "rc_min_throttle",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : field ( \"rc_config\" , \"rc_min_throttle\" , low )"
            },
            {
              "kind": "MSP write",
              "label": "rc_config.rc_max_throttle",
              "api": "rc_config",
              "field": "rc_max_throttle",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : field ( \"rc_config\" , \"rc_max_throttle\" , high )"
            },
            {
              "kind": "read",
              "label": "Range (us)",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : value ( L . throttleAutoRange , function ( ) return string . format ( L . throttleAutoValue , autoRange ( ) ) end )"
            },
            {
              "kind": "MSP write",
              "label": "rc_config.rc_min_throttle",
              "api": "rc_config",
              "field": "rc_min_throttle",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : field ( \"rc_config\" , \"rc_min_throttle\" , r . low + 20 )"
            },
            {
              "kind": "MSP write",
              "label": "rc_config.rc_max_throttle",
              "api": "rc_config",
              "field": "rc_max_throttle",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : field ( \"rc_config\" , \"rc_max_throttle\" , r . high - 20 )"
            },
            {
              "kind": "pilot sets",
              "label": "Minimum (us)",
              "api": "rc_config",
              "field": "rc_min_throttle",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : n ( \"rc_config\" , \"rc_min_throttle\" , L . minimum , 0 , 2100 )"
            },
            {
              "kind": "MSP write",
              "label": "rc_config.rc_min_throttle",
              "api": "rc_config",
              "field": "rc_min_throttle",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : n ( \"rc_config\" , \"rc_min_throttle\" , L . minimum , 0 , 2100 )"
            },
            {
              "kind": "pilot sets",
              "label": "Maximum (us)",
              "api": "rc_config",
              "field": "rc_max_throttle",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : n ( \"rc_config\" , \"rc_max_throttle\" , L . maximum , 0 , 2100 )"
            },
            {
              "kind": "MSP write",
              "label": "rc_config.rc_max_throttle",
              "api": "rc_config",
              "field": "rc_max_throttle",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : n ( \"rc_config\" , \"rc_max_throttle\" , L . maximum , 0 , 2100 )"
            },
            {
              "kind": "gate",
              "label": "validation",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "validate = function ( ) local raw = w . data . rx_channels local ok = raw and # raw . channels >= 5 and ( w . data . status . arming_disable_flags & 4 ) == 0 if not ok then w . message = L . noReceiver ; return false end if r . detect then return false end if not travelOk ( ) then w . message = L . sticksShort ; return false end return true end"
            },
            {
              "kind": "pilot sets",
              "label": "Automatic throttle range",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "{ kind = \"toggle\" , label = L . throttleAuto , values = { L . no , L . yes } , get = function ( ) return automatic ( ) and 2 or 1 end , set = function ( v ) r . record = nil if v == 2 then if w . logDebug then w : log ( \"debug\" , \"throttle range automatic\" ) end w : field ( \"rc_config\" , \"rc_min_throttle\" , 0 ) w : field ( \"rc_config\" , \"rc_max_throttle\" , 0 ) else local low , high = autoRange ( ) if w . logDebug then w : log ( \"debug\" , \"throttle range manual from %s to %s\" , low , high ) end w : field ( \"rc_config\" , \"rc_min_throttle\" , low ) w : field ( \"rc_config\" , \"rc_max_throttle\" , high ) end w . buildRequested = true ; w : rebuild ( ) end }"
            },
            {
              "kind": "pilot sets",
              "label": "Advanced",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "{ kind = \"toggle\" , label = L . advanced , values = { L . no , L . yes } , get = function ( ) return unlocked ( ) and 2 or 1 end , set = function ( v ) r . advanced = v == 2 end }"
            },
            {
              "kind": "MSP write",
              "label": "feature_config (record/payload)",
              "api": "feature_config",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/features.svelte.js",
                "js/tail_motor.js",
                "tabs/configuration/AutoAlignWizard.svelte",
                "tabs/governor/state.svelte.js",
                "tabs/motors/EscWiringDetectWizard.svelte",
                "tabs/motors/state.svelte.js",
                "tabs/receiver/RxWiringDetectWizard.svelte",
                "tabs/receiver/channelPresets.js",
                "tabs/receiver/protocols.js",
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte",
                "tabs/setup_wizard/governor.js"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/workflow.lua",
              "expression": "self : touch ( \"feature_config\" , true )"
            },
            {
              "kind": "MSP write",
              "label": "feature_config.enabledFeatures",
              "api": "feature_config",
              "field": "enabledFeatures",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/features.svelte.js",
                "js/tail_motor.js",
                "tabs/configuration/AutoAlignWizard.svelte",
                "tabs/governor/state.svelte.js",
                "tabs/motors/EscWiringDetectWizard.svelte",
                "tabs/motors/state.svelte.js",
                "tabs/receiver/RxWiringDetectWizard.svelte",
                "tabs/receiver/channelPresets.js",
                "tabs/receiver/protocols.js",
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte",
                "tabs/setup_wizard/governor.js"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/workflow.lua",
              "expression": "d . enabledFeatures ="
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP rx_channels",
              "api": "rx_channels",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP servo",
              "api": "servo",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            }
          ]
        },
        {
          "title": "Channel order",
          "title_expression": "L . channelOrder",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
          "configurator_reference": [
            "tabs/setup_wizard/ReceiverArt.svelte",
            "tabs/setup_wizard/StepReceiver.svelte",
            "tabs/setup_wizard/StickIcon.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "rx_map (record/payload)",
              "api": "rx_map",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : touch ( \"rx_map\" )"
            },
            {
              "kind": "pilot sets",
              "label": "Standard channel order",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "{ kind = \"choice\" , label = L . standardOrder , allowUnset = true , values = { \"ELRS\" , \"FrSky\" , \"Futaba / Hitec\" , \"DSM / Graupner / JR\" } , get = presetIndex , set = function ( v ) local preset = { { 0 , 1 , 3 , 2 , 5 , 4 , 6 , 7 } , { 0 , 1 , 3 , 4 , 2 , 5 , 6 , 7 } , { 0 , 1 , 3 , 5 , 2 , 4 , 6 , 7 } , { 1 , 2 , 3 , 5 , 0 , 4 , 6 , 7 } } [ v ] if not preset then return end r . detect = nil ; w . data . rx_map [ \"aileron\" ] = preset [ 1 ] w . data . rx_map [ \"elevator\" ] = preset [ 2 ] w . data . rx_map [ \"rudder\" ] = preset [ 3 ] w . data . rx_map [ \"collective\" ] = preset [ 4 ] w . data . rx_map [ \"throttle\" ] = preset [ 5 ] w . data . rx_map [ \"aux1\" ] = preset [ 6 ] w . data . rx_map [ \"aux2\" ] = preset [ 7 ] w . data . rx_map [ \"aux3\" ] = preset [ 8 ] ; w : touch ( \"rx_map\" ) end , enabled = unlocked }"
            }
          ]
        },
        {
          "title": "Check sticks",
          "title_expression": "L . checkSticks",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
          "configurator_reference": [
            "tabs/setup_wizard/ReceiverArt.svelte",
            "tabs/setup_wizard/StepReceiver.svelte",
            "tabs/setup_wizard/StickIcon.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": []
        },
        {
          "title": "Throttle range",
          "title_expression": "L . throttleRange",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
          "configurator_reference": [
            "tabs/setup_wizard/ReceiverArt.svelte",
            "tabs/setup_wizard/StepReceiver.svelte",
            "tabs/setup_wizard/StickIcon.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": []
        },
        {
          "title": "Stick center",
          "title_expression": "L . centreTitle",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
          "configurator_reference": [
            "tabs/setup_wizard/ReceiverArt.svelte",
            "tabs/setup_wizard/StepReceiver.svelte",
            "tabs/setup_wizard/StickIcon.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Stick center",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : value ( L . centreTitle , centreNow )"
            }
          ]
        },
        {
          "title": "ELRS link",
          "title_expression": "L . linkTitle",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
          "configurator_reference": [
            "tabs/setup_wizard/ReceiverArt.svelte",
            "tabs/setup_wizard/StepReceiver.svelte",
            "tabs/setup_wizard/StickIcon.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Status",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : value ( L . linkStatus , function ( ) return L . linkNeedsCrsf end )"
            }
          ]
        },
        {
          "title": "Receiver done",
          "title_expression": "L . receiverDone",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
          "configurator_reference": [
            "tabs/setup_wizard/ReceiverArt.svelte",
            "tabs/setup_wizard/StepReceiver.svelte",
            "tabs/setup_wizard/StickIcon.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Protocol",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : value ( L . protocol , function ( ) return protocol . values [ protocol . get ( ) ] or L . notSet end )"
            },
            {
              "kind": "read",
              "label": "Channel order",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : value ( L . channelOrder , function ( ) return { \"ELRS\" , \"FrSky\" , \"Futaba / Hitec\" , \"DSM / Graupner / JR\" } [ presetIndex ( ) ] or L . servoCustom end )"
            },
            {
              "kind": "read",
              "label": "Throttle range",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : value ( L . throttleRange , function ( ) local rc = w . data . rc_config if rc . rc_min_throttle ~= rangeMin or rc . rc_max_throttle ~= rangeMax then rangeMin , rangeMax = rc . rc_min_throttle , rc . rc_max_throttle rangeText = ( rangeMin == 0 and rangeMax == 0 ) and L . throttleDefaults or string . format ( L . rangeUs , rangeMin , rangeMax ) end return rangeText end )"
            },
            {
              "kind": "read",
              "label": "Stick center",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ReceiverArt.svelte",
                "tabs/setup_wizard/StepReceiver.svelte",
                "tabs/setup_wizard/StickIcon.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/receiver.lua",
              "expression": "w : value ( L . centreTitle , centreNow )"
            }
          ]
        }
      ],
      "msp_reads": [
        "status",
        "rx_channels",
        "servo"
      ],
      "msp_writes": [
        "rc_config.rc_center",
        "rx_config.serialrx_provider",
        "rx_config",
        "rc_config.rc_min_throttle",
        "rc_config.rc_max_throttle",
        "feature_config",
        "feature_config.enabledFeatures",
        "rx_map"
      ],
      "configurator_status": [
        "same"
      ]
    },
    {
      "number": 3,
      "id": "modes",
      "title": "Mode switches",
      "phase": "A",
      "cards": [
        {
          "title": "Arm switch",
          "title_expression": "L . arm",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/modes.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepModes.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "mode_ranges (record/payload)",
              "api": "mode_ranges",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepModes.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/modes.lua",
              "expression": "w : touch ( \"mode_ranges\" )"
            },
            {
              "kind": "read",
              "label": "Assigned",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepModes.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/modes.lua",
              "expression": "w : value ( L . assigned , slotText ( 0 , function ( c , lo , hi ) return string . format ( \"CH%d  %d-%d\" , c , lo , hi ) end , L . no ) )"
            },
            {
              "kind": "gate",
              "label": "validation",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepModes.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/modes.lua",
              "expression": "validate = function ( ) if not assigned ( 0 ) then w . message = L . armRequired ; return false end ; return true end"
            },
            {
              "kind": "MSP write",
              "label": "MSP set_mode_range",
              "api": "set_mode_range",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"set_mode_range\" , write = true , payload = { i - 1 , r . id , r . auxChannelIndex , self . math . step ( r . range . start ) , self . math . step ( r . range [ \"end\" ] ) , extra . modeLogic or 0 , extra . linkedTo or 0 } }"
            },
            {
              "kind": "MSP write",
              "label": "MSP set_adjustment_range",
              "api": "set_adjustment_range",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"set_adjustment_range\" , write = true , payload = self . math . adjustPayload ( i - 1 , r ) }"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP rc",
              "api": "rc",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP servo",
              "api": "servo",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            }
          ]
        },
        {
          "title": "Rescue switch",
          "title_expression": "L . rescue",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/modes.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepModes.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Assigned",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepModes.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/modes.lua",
              "expression": "w : value ( L . assigned , slotText ( 53 , function ( c , lo , hi ) return string . format ( \"CH%d  %d-%d\" , c , lo , hi ) end , L . no ) )"
            }
          ]
        },
        {
          "title": "Trainer switch",
          "title_expression": "L . trainer",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/modes.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepModes.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Assigned",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepModes.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/modes.lua",
              "expression": "w : value ( L . assigned , slotText ( 47 , function ( c , lo , hi ) return string . format ( \"CH%d  %d-%d\" , c , lo , hi ) end , L . no ) )"
            }
          ]
        },
        {
          "title": "Switches done",
          "title_expression": "L . switchesDone",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/modes.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepModes.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": []
        }
      ],
      "msp_reads": [
        "status",
        "rc",
        "servo"
      ],
      "msp_writes": [
        "mode_ranges",
        "set_mode_range",
        "set_adjustment_range"
      ],
      "configurator_status": [
        "same"
      ]
    },
    {
      "number": 4,
      "id": "profiles",
      "title": "Profiles & gain",
      "phase": "A",
      "cards": [
        {
          "title": "Profile switch",
          "title_expression": "L . cardProfileSwitch",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepProfiles.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "adjustment_ranges (record/payload)",
              "api": "adjustment_ranges",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepProfiles.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
              "expression": "w : touch ( \"adjustment_ranges\" )"
            },
            {
              "kind": "read",
              "label": "Detected positions",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepProfiles.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
              "expression": "w : value ( L . positions , function ( ) local range = H . rangeOf ( ranges , 2 ) local count = ( p . record or # p . positions > 0 ) and math . min ( 3 , # p . positions ) or range and range . adjMax - range . adjMin + 1 or 0 return string . format ( \"CH%d: %d\" , w : channelNumber ( p . channel ) , count ) end )"
            },
            {
              "kind": "pilot sets",
              "label": "Profile switch",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepProfiles.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
              "expression": "{ kind = \"choice\" , label = L . profileSwitch , values = { L . bothProfiles , L . pidOnly , L . none } , get = function ( ) return p . mode end , set = function ( v ) cancel ( ) if v == 3 then remove ( 1 ) ; remove ( 2 ) elseif v == 2 then remove ( 1 ) else local r = H . rangeOf ( ranges , 2 ) if r then local clone = H . mapped ( 1 , r . adjChannel , r . adjRange1 . start , r . adjRange1 [ \"end\" ] , r . adjMin , r . adjMax ) if not writeRanges ( { clone } ) then return end end end p . mode = v end }"
            },
            {
              "kind": "MSP write",
              "label": "MSP set_adjustment_range",
              "api": "set_adjustment_range",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"set_adjustment_range\" , write = true , payload = self . math . adjustPayload ( slot - 1 , r ) }"
            },
            {
              "kind": "MSP write",
              "label": "MSP set_adjustment_range",
              "api": "set_adjustment_range",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"set_adjustment_range\" , write = true , payload = self . math . adjustPayload ( i - 1 , r ) }"
            },
            {
              "kind": "MSP write",
              "label": "set_pid_profile (record/payload)",
              "api": "set_pid_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : action ( \"set_pid_profile\" , { index + ( \"rescue\" == \"rates\" and 128 or 0 ) } )"
            },
            {
              "kind": "read",
              "label": "MSP rescue_profile",
              "api": "rescue_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : read ( \"rescue_profile\" , function ( d ) self . profileData = d if loaded then loaded ( d , index ) end if function ( d ) if c [ 1 ] ~= nil and ( c [ 1 ] == 0 or d . rescue_mode == 0 ) then d . rescue_mode = c [ 1 ] end if c [ 2 ] ~= nil then d . rescue_flip_mode = c [ 2 ] end end then self . profileOriginal = self . profileOriginal or { } self . profileOriginal [ \"rescue\" ] = self . profileOriginal [ \"rescue\" ] or { } self . profileOriginal [ \"rescue\" ] [ index ] = self . profileOriginal [ \"rescue\" ] [ index ] or copy ( d ) end end )"
            },
            {
              "kind": "MSP write",
              "label": "rescue_profile (record/payload)",
              "api": "rescue_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : write ( \"rescue_profile\" , function ( ) if function ( d ) if c [ 1 ] ~= nil and ( c [ 1 ] == 0 or d . rescue_mode == 0 ) then d . rescue_mode = c [ 1 ] end if c [ 2 ] ~= nil then d . rescue_flip_mode = c [ 2 ] end end ( self . profileData , index ) == false then return false end return self . profileData end )"
            },
            {
              "kind": "MSP write",
              "label": "set_pid_profile (record/payload)",
              "api": "set_pid_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : action ( \"set_pid_profile\" , { original } , function ( ) self . restoreProfile = nil end )"
            },
            {
              "kind": "read",
              "label": "MSP rescue_profile",
              "api": "rescue_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : read ( \"rescue_profile\" , function ( d ) self . data [ \"rescue_profile\" ] = d end )"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : read ( \"status\" , function ( d ) self . data . status = d end )"
            },
            {
              "kind": "MSP write",
              "label": "rescue_profile.rescue_mode",
              "api": "rescue_profile",
              "field": "rescue_mode",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "function ( d ) if c [ 1 ] ~= nil and ( c [ 1 ] == 0 or d . rescue_mode == 0 ) then d . rescue_mode = c [ 1 ] end if c [ 2 ] ~= nil then d . rescue_flip_mode = c [ 2 ] end end",
              "scope": "profile callback"
            },
            {
              "kind": "MSP write",
              "label": "rescue_profile.rescue_flip_mode",
              "api": "rescue_profile",
              "field": "rescue_flip_mode",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "function ( d ) if c [ 1 ] ~= nil and ( c [ 1 ] == 0 or d . rescue_mode == 0 ) then d . rescue_mode = c [ 1 ] end if c [ 2 ] ~= nil then d . rescue_flip_mode = c [ 2 ] end end",
              "scope": "profile callback"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP rc",
              "api": "rc",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP servo",
              "api": "servo",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            }
          ]
        },
        {
          "title": "Master gain",
          "title_expression": "L . masterGain",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepProfiles.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Channel",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepProfiles.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
              "expression": "w : value ( L . channel , function ( ) local r = H . rangeOf ( ranges , 83 ) ; return r and \"CH\" .. ( w : channelNumber ( r . adjChannel ) ) or L . none end )"
            },
            {
              "kind": "read",
              "label": "Gain now",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepProfiles.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
              "expression": "w : value ( L . gainNow , function ( ) local r = H . rangeOf ( ranges , 83 ) ; local v = r and channelValue ( r . adjChannel ) if not v then return \"--\" end if r . adjStep == 0 then return H . mappedValue ( r , v ) .. \"%\" end local a = H . rangeOf ( ranges , 83 ) if a then if v >= a . adjRange1 . start and v < a . adjRange1 [ \"end\" ] then return ( 83 == 83 and L . cyclic or L . yaw ) .. \" -5%\" end if v >= a . adjRange2 . start and v < a . adjRange2 [ \"end\" ] then return ( 83 == 83 and L . cyclic or L . yaw ) .. \" +5%\" end end local a = H . rangeOf ( ranges , 84 ) if a then if v >= a . adjRange1 . start and v < a . adjRange1 [ \"end\" ] then return ( 84 == 83 and L . cyclic or L . yaw ) .. \" -5%\" end if v >= a . adjRange2 . start and v < a . adjRange2 [ \"end\" ] then return ( 84 == 83 and L . cyclic or L . yaw ) .. \" +5%\" end end return L . none end )"
            },
            {
              "kind": "pilot sets",
              "label": "Method",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepProfiles.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
              "expression": "{ kind = \"choice\" , label = L . method , values = { L . none , L . knob , L . buttons } , get = function ( ) return p . gain end , set = function ( v ) if p . gain == v then return end ; cancel ( ) ; p . gain = v ; remove ( 83 ) ; remove ( 84 ) w . buildRequested = true ; w : rebuild ( ) end }"
            }
          ]
        },
        {
          "title": "Trim-button guide",
          "title_expression": "L . trimGuide",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepProfiles.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Cyclic gain down",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepProfiles.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
              "expression": "w : value ( L . cyclicDown , function ( ) return \"30% / 1654 us\" end )"
            },
            {
              "kind": "read",
              "label": "Cyclic gain up",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepProfiles.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
              "expression": "w : value ( L . cyclicUp , function ( ) return \"40% / 1705 us\" end )"
            },
            {
              "kind": "read",
              "label": "Yaw gain down",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepProfiles.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
              "expression": "w : value ( L . yawDown , function ( ) return \"50% / 1756 us\" end )"
            },
            {
              "kind": "read",
              "label": "Yaw gain up",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepProfiles.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
              "expression": "w : value ( L . yawUp , function ( ) return \"60% / 1807 us\" end )"
            }
          ]
        },
        {
          "title": "Channel use",
          "title_expression": "L . channelPlan",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepProfiles.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Profile now",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepProfiles.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
              "expression": "w : value ( L . profileNow , function ( ) local r = H . rangeOf ( ranges , 2 ) ; local v = r and channelValue ( r . adjChannel ) return v and H . mappedValue ( r , v ) or \"--\" end )"
            },
            {
              "kind": "read",
              "label": "Receiver channels",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepProfiles.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
              "expression": "w : value ( L . channelCount , function ( ) return w . data . rc and w . data . rc . channel_count or \"--\" end )"
            },
            {
              "kind": "read",
              "label": "{\"CH\" .. w : channelNumber ( 0 )}",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepProfiles.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
              "expression": "w : value ( \"CH\" .. w : channelNumber ( 0 ) , function ( ) return plan ( 0 ) end )"
            },
            {
              "kind": "read",
              "label": "{\"CH\" .. w : channelNumber ( 1 )}",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepProfiles.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
              "expression": "w : value ( \"CH\" .. w : channelNumber ( 1 ) , function ( ) return plan ( 1 ) end )"
            },
            {
              "kind": "read",
              "label": "{\"CH\" .. w : channelNumber ( 2 )}",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepProfiles.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
              "expression": "w : value ( \"CH\" .. w : channelNumber ( 2 ) , function ( ) return plan ( 2 ) end )"
            },
            {
              "kind": "read",
              "label": "{\"CH\" .. w : channelNumber ( ch )}",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepProfiles.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
              "expression": "w : value ( \"CH\" .. w : channelNumber ( ch ) , function ( ) return plan ( ch ) end )"
            }
          ]
        },
        {
          "title": "Channel use",
          "title_expression": "L . channelPlan",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepProfiles.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": []
        },
        {
          "title": "Rescue",
          "title_expression": "L . rescueName",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepProfiles.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "rescue_profile (record/payload)",
              "api": "rescue_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepProfiles.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
              "expression": "w : touch ( \"rescue_profile\" )"
            },
            {
              "kind": "read",
              "label": "MSP rescue_profile",
              "api": "rescue_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepProfiles.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
              "expression": "w : read ( \"rescue_profile\" , function ( d ) r . value = { d . rescue_mode , d . rescue_flip_mode } end )"
            },
            {
              "kind": "read",
              "label": "Rescue switch",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepProfiles.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
              "expression": "w : value ( L . rescue , function ( ) local r = rescueSwitch ( ) return r and \"CH\" .. w : channelNumber ( r . auxChannelIndex ) or L . rescueNoSwitch end )"
            },
            {
              "kind": "pilot sets",
              "label": "Rescue mode enable",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepProfiles.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
              "expression": "{ kind = \"choice\" , label = L . rescueEnable , values = { L . off , L . on } , allowUnset = true , get = function ( ) local v = rescueGet ( 1 ) ; return v and ( v > 0 and 2 or 1 ) or 0 end , set = function ( v ) local r = w . rescue ; local was = r and r . value and r . value [ 1 ] or 0 if v == 1 then rescueSet ( 1 , 0 ) elseif v == 2 and ( rescueGet ( 1 ) or 0 ) == 0 then rescueSet ( 1 , was > 0 and was or 1 ) end end , enabled = rescueReady }"
            },
            {
              "kind": "pilot sets",
              "label": "Flip to upright",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepProfiles.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/profiles.lua",
              "expression": "{ kind = \"choice\" , label = L . rescueFlip , values = { L . no , L . yes } , allowUnset = true , get = function ( ) local v = rescueGet ( 2 ) ; return v and v + 1 or 0 end , set = function ( v ) rescueSet ( 2 , v - 1 ) end , enabled = function ( ) return rescueReady ( ) and ( rescueGet ( 1 ) or 0 ) > 0 end }"
            }
          ]
        }
      ],
      "msp_reads": [
        "rescue_profile",
        "status",
        "rc",
        "servo"
      ],
      "msp_writes": [
        "adjustment_ranges",
        "set_adjustment_range",
        "set_pid_profile",
        "rescue_profile",
        "rescue_profile.rescue_mode",
        "rescue_profile.rescue_flip_mode"
      ],
      "configurator_status": [
        "same"
      ]
    },
    {
      "number": 5,
      "id": "rates",
      "title": "Rates",
      "phase": "A",
      "cards": [
        {
          "title": "Switch position {n} · rate profile {n} / Rate profile {n}",
          "title_expression": "switched and string . format ( L . switchRateProfile , position , index + 1 ) or string . format ( L . rateProfileTitle , index + 1 )",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/rates.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepRates.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "set_pid_profile (record/payload)",
              "api": "set_pid_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepRates.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/rates.lua",
              "expression": "w : action ( \"set_pid_profile\" , { index + 128 } )"
            },
            {
              "kind": "read",
              "label": "MSP rc_tuning",
              "api": "rc_tuning",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepRates.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/rates.lua",
              "expression": "w : read ( \"rc_tuning\" , function ( d ) w . rateTunings [ index ] = d ; w . rateMatched [ index ] = H . matchStyle ( d , ratesType ) end )"
            },
            {
              "kind": "MSP write",
              "label": "set_pid_profile (record/payload)",
              "api": "set_pid_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepRates.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/rates.lua",
              "expression": "w : action ( \"set_pid_profile\" , { original } , function ( ) w . restoreProfile = nil end )"
            },
            {
              "kind": "read",
              "label": "MSP rc_tuning",
              "api": "rc_tuning",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepRates.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/rates.lua",
              "expression": "w : read ( \"rc_tuning\" , function ( d ) w . data . rc_tuning = d end )"
            },
            {
              "kind": "MSP write",
              "label": "rc_tuning (record/payload)",
              "api": "rc_tuning",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepRates.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/rates.lua",
              "expression": "w : touch ( \"rc_tuning\" )"
            },
            {
              "kind": "MSP write",
              "label": "set_pid_profile (record/payload)",
              "api": "set_pid_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : action ( \"set_pid_profile\" , { index + ( \"rates\" == \"rates\" and 128 or 0 ) } )"
            },
            {
              "kind": "read",
              "label": "MSP rc_tuning",
              "api": "rc_tuning",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : read ( \"rc_tuning\" , function ( d ) self . profileData = d if loaded then loaded ( d , index ) end if function ( d , i ) H . style ( d , w . rateStyles [ i ] , ratesType ) ; w . rateTunings [ i ] = d end then self . profileOriginal = self . profileOriginal or { } self . profileOriginal [ \"rates\" ] = self . profileOriginal [ \"rates\" ] or { } self . profileOriginal [ \"rates\" ] [ index ] = self . profileOriginal [ \"rates\" ] [ index ] or copy ( d ) end end )"
            },
            {
              "kind": "MSP write",
              "label": "rc_tuning (record/payload)",
              "api": "rc_tuning",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : write ( \"rc_tuning\" , function ( ) if function ( d , i ) H . style ( d , w . rateStyles [ i ] , ratesType ) ; w . rateTunings [ i ] = d end ( self . profileData , index ) == false then return false end return self . profileData end )"
            },
            {
              "kind": "MSP write",
              "label": "set_pid_profile (record/payload)",
              "api": "set_pid_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : action ( \"set_pid_profile\" , { original } , function ( ) self . restoreProfile = nil end )"
            },
            {
              "kind": "read",
              "label": "MSP rc_tuning",
              "api": "rc_tuning",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : read ( \"rc_tuning\" , function ( d ) self . data [ \"rc_tuning\" ] = d end )"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : read ( \"status\" , function ( d ) self . data . status = d end )"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP servo",
              "api": "servo",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            }
          ]
        },
        {
          "title": "Rates set",
          "title_expression": "L . ratesSet",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/rates.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepRates.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": []
        }
      ],
      "msp_reads": [
        "rc_tuning",
        "status",
        "servo"
      ],
      "msp_writes": [
        "set_pid_profile",
        "rc_tuning"
      ],
      "configurator_status": [
        "same"
      ]
    },
    {
      "number": 6,
      "id": "swash",
      "title": "Swashplate",
      "phase": "B",
      "cards": [
        {
          "title": "Swash type",
          "title_expression": "L . swashType",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
          "configurator_reference": [
            "js/tail_motor.js",
            "tabs/setup_wizard/StepSwash.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "tail_motor_output.action",
              "api": "tail_motor_output",
              "field": "action",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/tail_motor.js",
                "tabs/setup_wizard/StepSwash.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
              "expression": "w : write ( \"tail_motor_output\" , { action = expected + 1 } , function ( d ) if not d then w : fail ( \"tail_motor_output\" , \"reply\" ) ; return end w . data . tail_motor_output = d if d . result ~= 0 or d . output ~= expected then w . tailPinRefused = expected w . tailPinNotice = string . format ( L . tailPinRefused , L [ \"tailPinResult\" .. tostring ( d . result ) ] or L . unknown ) w . stayNotice = w . tailPinNotice w : log ( \"warn\" , \"tail pin refused, result %s\" , d . result ) if w . logInfo then w . stayNoticeKey = \"tailPinRefused\" end else w . tailPinRefused , w . tailPinNotice = nil , nil w . rebootPending = true end end , false , true )"
            },
            {
              "kind": "MSP write",
              "label": "mixer_input (record/payload)",
              "api": "mixer_input",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/tail_motor.js",
                "tabs/setup_wizard/StepSwash.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
              "expression": "w : touch ( \"mixer_input\" , false , true )"
            },
            {
              "kind": "pilot sets",
              "label": "Swash type",
              "api": "mixer_config",
              "field": "swash_type",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/tail_motor.js",
                "tabs/setup_wizard/StepSwash.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
              "expression": "w : c ( \"mixer_config\" , \"swash_type\" , L . swashType , { L . direct , \"120\" , \"135\" , \"140\" , \"90L\" , \"90V\" } , true , true , 1 )"
            },
            {
              "kind": "MSP write",
              "label": "mixer_config.swash_type",
              "api": "mixer_config",
              "field": "swash_type",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/tail_motor.js",
                "tabs/setup_wizard/StepSwash.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
              "expression": "w : c ( \"mixer_config\" , \"swash_type\" , L . swashType , { L . direct , \"120\" , \"135\" , \"140\" , \"90L\" , \"90V\" } , true , true , 1 )"
            },
            {
              "kind": "gate",
              "label": "reboot pending",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/tail_motor.js",
                "tabs/setup_wizard/StepSwash.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
              "expression": "rebootPending"
            },
            {
              "kind": "pilot sets",
              "label": "Servo 1",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/tail_motor.js",
                "tabs/setup_wizard/StepSwash.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
              "expression": "{ kind = \"choice\" , label = L . servoOnePosition , values = { L . frontPosition , L . rearPosition } , get = function ( ) return w . swashRear ~= false and 2 or 1 end , set = function ( v ) w . swashRear = v == 2 end , enabled = function ( ) local s = w . data . mixer_config . swash_type ; return s >= 2 and s <= 4 end }"
            },
            {
              "kind": "MSP write",
              "label": "mixer_input.rate",
              "api": "mixer_input",
              "field": "rate",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/tail_motor.js",
                "tabs/setup_wizard/StepSwash.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
              "expression": "input . rate ="
            },
            {
              "kind": "MSP write",
              "label": "set_pid_profile (record/payload)",
              "api": "set_pid_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : action ( \"set_pid_profile\" , { index + ( \"pid\" == \"rates\" and 128 or 0 ) } )"
            },
            {
              "kind": "read",
              "label": "MSP governor_profile",
              "api": "governor_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : read ( \"governor_profile\" , function ( d ) self . profileData = d if loaded then loaded ( d , index ) end if function ( d ) d . governor_tta_gain = w : motorised ( ) and 100 or 0 end then self . profileOriginal = self . profileOriginal or { } self . profileOriginal [ \"pid\" ] = self . profileOriginal [ \"pid\" ] or { } self . profileOriginal [ \"pid\" ] [ index ] = self . profileOriginal [ \"pid\" ] [ index ] or copy ( d ) end end )"
            },
            {
              "kind": "MSP write",
              "label": "governor_profile (record/payload)",
              "api": "governor_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : write ( \"governor_profile\" , function ( ) if function ( d ) d . governor_tta_gain = w : motorised ( ) and 100 or 0 end ( self . profileData , index ) == false then return false end return self . profileData end )"
            },
            {
              "kind": "MSP write",
              "label": "set_pid_profile (record/payload)",
              "api": "set_pid_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : action ( \"set_pid_profile\" , { original } , function ( ) self . restoreProfile = nil end )"
            },
            {
              "kind": "read",
              "label": "MSP governor_profile",
              "api": "governor_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : read ( \"governor_profile\" , function ( d ) self . data [ \"governor_profile\" ] = d end )"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : read ( \"status\" , function ( d ) self . data . status = d end )"
            },
            {
              "kind": "MSP write",
              "label": "governor_profile.governor_tta_gain",
              "api": "governor_profile",
              "field": "governor_tta_gain",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "function ( d ) d . governor_tta_gain = w : motorised ( ) and 100 or 0 end",
              "scope": "profile callback"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP servo",
              "api": "servo",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            }
          ]
        },
        {
          "title": "Rotor direction",
          "title_expression": "L . rotorDirection",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
          "configurator_reference": [
            "js/tail_motor.js",
            "tabs/setup_wizard/StepSwash.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot sets",
              "label": "Rotor direction",
              "api": "mixer_config",
              "field": "main_rotor_dir",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/tail_motor.js",
                "tabs/setup_wizard/StepSwash.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
              "expression": "w : c ( \"mixer_config\" , \"main_rotor_dir\" , L . rotorDirection , { L . clockwise , L . counterclockwise } , false , true )"
            },
            {
              "kind": "MSP write",
              "label": "mixer_config.main_rotor_dir",
              "api": "mixer_config",
              "field": "main_rotor_dir",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/tail_motor.js",
                "tabs/setup_wizard/StepSwash.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
              "expression": "w : c ( \"mixer_config\" , \"main_rotor_dir\" , L . rotorDirection , { L . clockwise , L . counterclockwise } , false , true )"
            }
          ]
        },
        {
          "title": "Tail type",
          "title_expression": "L . tailType",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
          "configurator_reference": [
            "js/tail_motor.js",
            "tabs/setup_wizard/StepSwash.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot sets",
              "label": "Tail type",
              "api": "mixer_config",
              "field": "tail_rotor_mode",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/tail_motor.js",
                "tabs/setup_wizard/StepSwash.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
              "expression": "w : c ( \"mixer_config\" , \"tail_rotor_mode\" , L . tailType , { L . servoTail , L . motorTail , L . bidirectional } , true , true )"
            },
            {
              "kind": "MSP write",
              "label": "mixer_config.tail_rotor_mode",
              "api": "mixer_config",
              "field": "tail_rotor_mode",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/tail_motor.js",
                "tabs/setup_wizard/StepSwash.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
              "expression": "w : c ( \"mixer_config\" , \"tail_rotor_mode\" , L . tailType , { L . servoTail , L . motorTail , L . bidirectional } , true , true )"
            },
            {
              "kind": "read",
              "label": "Tail output",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/tail_motor.js",
                "tabs/setup_wizard/StepSwash.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
              "expression": "w : value ( L . tailPin , function ( ) local d = w . data . tail_motor_output if not d then return L . unsupported end if not pinMovable ( ) then return { L . servo4 , L . motor2 , L . both , L . noPin } [ d . output + 1 ] end local output = expectedOutput ( ) onSave [ output ] = onSave [ output ] or string . format ( L . tailPinOnSave , { L . servo4 , L . motor2 , L . both , L . noPin } [ output + 1 ] ) return onSave [ output ] end )"
            },
            {
              "kind": "read",
              "label": "Tail servo",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/tail_motor.js",
                "tabs/setup_wizard/StepSwash.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
              "expression": "w : value ( L . tailServo , function ( ) return w : motorised ( ) and L . none or L . servo4 end )"
            }
          ]
        },
        {
          "title": "Swashplate set",
          "title_expression": "L . swashSet",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
          "configurator_reference": [
            "js/tail_motor.js",
            "tabs/setup_wizard/StepSwash.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Swash type",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/tail_motor.js",
                "tabs/setup_wizard/StepSwash.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
              "expression": "w : value ( L . swashType , function ( ) return { L . direct , \"120\" , \"135\" , \"140\" , \"90L\" , \"90V\" } [ w . data . mixer_config . swash_type ] or L . unknown end )"
            },
            {
              "kind": "read",
              "label": "Rotor direction",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/tail_motor.js",
                "tabs/setup_wizard/StepSwash.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
              "expression": "w : value ( L . rotorDirection , function ( ) return w . data . mixer_config . main_rotor_dir == 1 and L . counterclockwise or L . clockwise end )"
            },
            {
              "kind": "read",
              "label": "Tail type",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/tail_motor.js",
                "tabs/setup_wizard/StepSwash.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
              "expression": "w : value ( L . tailType , function ( ) return { L . servoTail , L . motorTail , L . bidirectional } [ w . data . mixer_config . tail_rotor_mode + 1 ] or L . unknown end )"
            },
            {
              "kind": "read",
              "label": "Yaw input rate",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/tail_motor.js",
                "tabs/setup_wizard/StepSwash.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
              "expression": "w : value ( L . yawInputRate , function ( ) local rate = math . abs ( w . data . mixer_input . inputs [ 3 ] . rate ) if rate ~= shownRate then shownRate , rateText = rate , string . format ( L . percentValue , string . format ( \"%g\" , rate / 10 ) ) end return rateText end )"
            },
            {
              "kind": "read",
              "label": "TTA gain",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/tail_motor.js",
                "tabs/setup_wizard/StepSwash.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/swash.lua",
              "expression": "w : value ( L . ttaGain , function ( ) if ( w . startTail ~= 0 ) == w : motorised ( ) then return L . unchanged end return w : motorised ( ) and string . format ( L . ttaEvery , 100 ) or string . format ( L . ttaEvery , 0 ) end )"
            }
          ]
        }
      ],
      "msp_reads": [
        "governor_profile",
        "status",
        "servo"
      ],
      "msp_writes": [
        "tail_motor_output.action",
        "mixer_input",
        "mixer_config.swash_type",
        "mixer_input.rate",
        "set_pid_profile",
        "governor_profile",
        "governor_profile.governor_tta_gain",
        "mixer_config.main_rotor_dir",
        "mixer_config.tail_rotor_mode"
      ],
      "configurator_status": [
        "same"
      ]
    },
    {
      "number": 7,
      "id": "servoType",
      "title": "Servo type",
      "phase": "B",
      "cards": [
        {
          "title": "Swash servos",
          "title_expression": "L . cyclicServos",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
          "configurator_reference": [
            "tabs/setup_wizard/ServoArt.svelte",
            "tabs/setup_wizard/StepServoType.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "servo_configurations (record/payload)",
              "api": "servo_configurations",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "w : touch ( \"servo_configurations\" , false , true )"
            },
            {
              "kind": "pilot confirms",
              "label": "Servos unplugged",
              "api": null,
              "field": "unplugged",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "w : check ( \"unplugged\" , L . servosUnplugged )"
            },
            {
              "kind": "gate",
              "label": "reboot pending",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "rebootPending"
            },
            {
              "kind": "pilot sets",
              "label": "Swash servos",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "{ kind = \"choice\" , label = L . cyclicServos , enabled = unplugged , values = string . format ( L . servoSpec , first . mid , first . rate ) , allowUnset = true , get = function ( ) local kind = current ( false ) if kind == 0 and uniform ( false ) then return # string . format ( L . servoSpec , first . mid , first . rate ) end return kind end , set = function ( v ) if v < # string . format ( L . servoSpec , first . mid , first . rate ) and string . format ( L . servoSpec , first . mid , first . rate ) [ v ] then apply ( false , v ) end end }"
            },
            {
              "kind": "pilot sets",
              "label": "Frame rate (Hz)",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "{ kind = \"number\" , label = L . servoFrameRate , min = range . min , max = range . max , enabled = function ( ) return unplugged ( ) and uniform ( false ) end , get = function ( ) return first ( ) . rate end , set = function ( v ) if not w . checks . unplugged then w . message = L . confirmCheck ; return end local r = BAND_HZ [ band ( first ( ) ) ] if v < r . min or v > r . max then return end for _ , index in ipairs ( members [ tail ] ) do local servo = w . data . servo_configurations . servos [ index ] if servo . rate ~= v then servo . rate = v ; w . rebootPending = true end end w : touch ( \"servo_configurations\" , false , true ) if w . refreshPulse then w . refreshPulse ( ) end end }"
            },
            {
              "kind": "pilot sets",
              "label": "Geometry correction",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "{ kind = \"choice\" , label = L . geometryCorrection , values = { L . off , L . on } , allowUnset = true , get = function ( ) local result for _ , index in ipairs ( indices ) do local on = ( w . data . servo_configurations . servos [ index ] . flags & 2 ) ~= 0 and 2 or 1 if result and result ~= on then return 0 end result = on end return result or 0 end , set = function ( v ) if v ~= 1 and v ~= 2 then return end for _ , index in ipairs ( indices ) do local s = w . data . servo_configurations . servos [ index ] s . flags = v == 2 and ( s . flags | 2 ) or ( s . flags & ~ 2 ) end w : touch ( \"servo_configurations\" , false , true ) end }"
            },
            {
              "kind": "MSP write",
              "label": "servo_configurations.mid",
              "api": "servo_configurations",
              "field": "mid",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "servo . mid ,"
            },
            {
              "kind": "MSP write",
              "label": "servo_configurations.min",
              "api": "servo_configurations",
              "field": "min",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "servo . min ,"
            },
            {
              "kind": "MSP write",
              "label": "servo_configurations.max",
              "api": "servo_configurations",
              "field": "max",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "servo . max ="
            },
            {
              "kind": "MSP write",
              "label": "servo_configurations.rneg",
              "api": "servo_configurations",
              "field": "rneg",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "servo . rneg ,"
            },
            {
              "kind": "MSP write",
              "label": "servo_configurations.rpos",
              "api": "servo_configurations",
              "field": "rpos",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "servo . rpos ="
            },
            {
              "kind": "MSP write",
              "label": "servo_configurations.rate",
              "api": "servo_configurations",
              "field": "rate",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "servo . rate ="
            },
            {
              "kind": "MSP write",
              "label": "servo_configurations.flags",
              "api": "servo_configurations",
              "field": "flags",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "s . flags ="
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP servo",
              "api": "servo",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            }
          ]
        },
        {
          "title": "Tail servo",
          "title_expression": "L . tailServo",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
          "configurator_reference": [
            "tabs/setup_wizard/ServoArt.svelte",
            "tabs/setup_wizard/StepServoType.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot confirms",
              "label": "Servos unplugged",
              "api": null,
              "field": "unplugged",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "w : check ( \"unplugged\" , L . servosUnplugged )"
            },
            {
              "kind": "MSP write",
              "label": "servo_configurations (record/payload)",
              "api": "servo_configurations",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "w : touch ( \"servo_configurations\" , false , true )"
            },
            {
              "kind": "pilot sets",
              "label": "Tail servo",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "{ kind = \"choice\" , label = L . tailServo , enabled = unplugged , values = string . format ( L . servoSpec , first . mid , first . rate ) , allowUnset = true , get = function ( ) local kind = current ( true ) if kind == 0 and uniform ( true ) then return # string . format ( L . servoSpec , first . mid , first . rate ) end return kind end , set = function ( v ) if v < # string . format ( L . servoSpec , first . mid , first . rate ) and string . format ( L . servoSpec , first . mid , first . rate ) [ v ] then apply ( true , v ) end end }"
            },
            {
              "kind": "pilot sets",
              "label": "Frame rate (Hz)",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "{ kind = \"number\" , label = L . servoFrameRate , min = range . min , max = range . max , enabled = function ( ) return unplugged ( ) and uniform ( true ) end , get = function ( ) return first ( ) . rate end , set = function ( v ) if not w . checks . unplugged then w . message = L . confirmCheck ; return end local r = BAND_HZ [ band ( first ( ) ) ] if v < r . min or v > r . max then return end for _ , index in ipairs ( members [ tail ] ) do local servo = w . data . servo_configurations . servos [ index ] if servo . rate ~= v then servo . rate = v ; w . rebootPending = true end end w : touch ( \"servo_configurations\" , false , true ) if w . refreshPulse then w . refreshPulse ( ) end end }"
            },
            {
              "kind": "gate",
              "label": "reboot pending",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "rebootPending"
            },
            {
              "kind": "pilot sets",
              "label": "Geometry correction",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "{ kind = \"choice\" , label = L . geometryCorrection , values = { L . off , L . on } , allowUnset = true , get = function ( ) local result for _ , index in ipairs ( indices ) do local on = ( w . data . servo_configurations . servos [ index ] . flags & 2 ) ~= 0 and 2 or 1 if result and result ~= on then return 0 end result = on end return result or 0 end , set = function ( v ) if v ~= 1 and v ~= 2 then return end for _ , index in ipairs ( indices ) do local s = w . data . servo_configurations . servos [ index ] s . flags = v == 2 and ( s . flags | 2 ) or ( s . flags & ~ 2 ) end w : touch ( \"servo_configurations\" , false , true ) end }"
            },
            {
              "kind": "MSP write",
              "label": "servo_configurations.rate",
              "api": "servo_configurations",
              "field": "rate",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "servo . rate ="
            },
            {
              "kind": "MSP write",
              "label": "servo_configurations.flags",
              "api": "servo_configurations",
              "field": "flags",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "s . flags ="
            }
          ]
        },
        {
          "title": "No servos",
          "title_expression": "L . cardNoServos",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
          "configurator_reference": [
            "tabs/setup_wizard/ServoArt.svelte",
            "tabs/setup_wizard/StepServoType.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Servo",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepServoType.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servoType.lua",
              "expression": "w : value ( L . servo , function ( ) return L . unavailable end )"
            }
          ]
        }
      ],
      "msp_reads": [
        "status",
        "servo"
      ],
      "msp_writes": [
        "servo_configurations",
        "servo_configurations.mid",
        "servo_configurations.min",
        "servo_configurations.max",
        "servo_configurations.rneg",
        "servo_configurations.rpos",
        "servo_configurations.rate",
        "servo_configurations.flags"
      ],
      "configurator_status": [
        "same"
      ]
    },
    {
      "number": 8,
      "id": "governor",
      "title": "Governor",
      "phase": "B",
      "cards": [
        {
          "title": "Governor Mode",
          "title_expression": "L . governorMode",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepGovernor.svelte"
          ],
          "configurator_status": [
            "beyond the Configurator"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "MSP filter_config",
              "api": "filter_config",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGovernor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
              "expression": "w : read ( \"filter_config\" , function ( d ) w . data . filter_config = d end )"
            },
            {
              "kind": "read",
              "label": "MSP rpm_filter_v2",
              "api": "rpm_filter_v2",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGovernor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
              "expression": "w : read ( \"rpm_filter_v2\" , function ( d ) for i = 1 , 16 do if d [ \"notch_source_\" .. i ] == nil then w : fail ( \"rpm_filter_v2\" , \"decode\" ) ; return end if d [ \"notch_source_\" .. i ] ~= 0 then w . governorRpmFilter = true end end end , false , { 0 } )"
            },
            {
              "kind": "read",
              "label": "MSP rpm_filter_v2",
              "api": "rpm_filter_v2",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGovernor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
              "expression": "w : read ( \"rpm_filter_v2\" , function ( d ) for i = 1 , 16 do if d [ \"notch_source_\" .. i ] == nil then w : fail ( \"rpm_filter_v2\" , \"decode\" ) ; return end if d [ \"notch_source_\" .. i ] ~= 0 then w . governorRpmFilter = true end end end , false , { 1 } )"
            },
            {
              "kind": "read",
              "label": "MSP rpm_filter_v2",
              "api": "rpm_filter_v2",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGovernor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
              "expression": "w : read ( \"rpm_filter_v2\" , function ( d ) for i = 1 , 16 do if d [ \"notch_source_\" .. i ] == nil then w : fail ( \"rpm_filter_v2\" , \"decode\" ) ; return end if d [ \"notch_source_\" .. i ] ~= 0 then w . governorRpmFilter = true end end end , false , { 2 } )"
            },
            {
              "kind": "MSP write",
              "label": "governor_config.gov_mode",
              "api": "governor_config",
              "field": "gov_mode",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGovernor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
              "expression": "w : field ( \"governor_config\" , \"gov_mode\" , v - 1 , true )"
            },
            {
              "kind": "MSP write",
              "label": "feature_config.enabledFeatures",
              "api": "feature_config",
              "field": "enabledFeatures",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGovernor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
              "expression": "w : feature ( 26 , v > 1 )"
            },
            {
              "kind": "MSP write",
              "label": "governor_config.gov_throttle_type",
              "api": "governor_config",
              "field": "gov_throttle_type",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGovernor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
              "expression": "w : field ( \"governor_config\" , \"gov_throttle_type\" , 0 , true )"
            },
            {
              "kind": "gate",
              "label": "reboot pending",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGovernor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
              "expression": "rebootPending"
            },
            {
              "kind": "pilot sets",
              "label": "Mode",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGovernor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
              "expression": "{ kind = \"choice\" , label = L . mode , values = { L . off , L . limit , L . direct , L . electric , L . nitro } , get = function ( ) return mode ( ) + 1 end , set = setMode }"
            },
            {
              "kind": "MSP write",
              "label": "set_pid_profile (record/payload)",
              "api": "set_pid_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : action ( \"set_pid_profile\" , { index + ( \"pid\" == \"rates\" and 128 or 0 ) } )"
            },
            {
              "kind": "read",
              "label": "MSP governor_profile",
              "api": "governor_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : read ( \"governor_profile\" , function ( d ) self . profileData = d if function ( d , index ) if not ( w . governorChanged and w . governorChanged [ index ] ) then w . governorSpeeds [ index ] = d . governor_headspeed end end then function ( d , index ) if not ( w . governorChanged and w . governorChanged [ index ] ) then w . governorSpeeds [ index ] = d . governor_headspeed end end ( d , index ) end end )"
            },
            {
              "kind": "MSP write",
              "label": "set_pid_profile (record/payload)",
              "api": "set_pid_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : action ( \"set_pid_profile\" , { original } , function ( ) self . restoreProfile = nil end )"
            },
            {
              "kind": "read",
              "label": "MSP governor_profile",
              "api": "governor_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : read ( \"governor_profile\" , function ( d ) self . data [ \"governor_profile\" ] = d end )"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : read ( \"status\" , function ( d ) self . data . status = d end )"
            },
            {
              "kind": "MSP write",
              "label": "set_pid_profile (record/payload)",
              "api": "set_pid_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : action ( \"set_pid_profile\" , { index + ( \"pid\" == \"rates\" and 128 or 0 ) } )"
            },
            {
              "kind": "read",
              "label": "MSP governor_profile",
              "api": "governor_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : read ( \"governor_profile\" , function ( d ) self . profileData = d if loaded then loaded ( d , index ) end if function ( d , index ) d . governor_headspeed = w . governorSpeeds [ index ] end then self . profileOriginal = self . profileOriginal or { } self . profileOriginal [ \"pid\" ] = self . profileOriginal [ \"pid\" ] or { } self . profileOriginal [ \"pid\" ] [ index ] = self . profileOriginal [ \"pid\" ] [ index ] or copy ( d ) end end )"
            },
            {
              "kind": "MSP write",
              "label": "governor_profile (record/payload)",
              "api": "governor_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : write ( \"governor_profile\" , function ( ) if function ( d , index ) d . governor_headspeed = w . governorSpeeds [ index ] end ( self . profileData , index ) == false then return false end return self . profileData end )"
            },
            {
              "kind": "MSP write",
              "label": "set_pid_profile (record/payload)",
              "api": "set_pid_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : action ( \"set_pid_profile\" , { original } , function ( ) self . restoreProfile = nil end )"
            },
            {
              "kind": "read",
              "label": "MSP governor_profile",
              "api": "governor_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : read ( \"governor_profile\" , function ( d ) self . data [ \"governor_profile\" ] = d end )"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : read ( \"status\" , function ( d ) self . data . status = d end )"
            },
            {
              "kind": "MSP write",
              "label": "governor_profile.governor_headspeed",
              "api": "governor_profile",
              "field": "governor_headspeed",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [
                "governor-targets-and-filter-signal"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "function ( d , index ) d . governor_headspeed = w . governorSpeeds [ index ] end",
              "scope": "profile callback"
            },
            {
              "kind": "MSP write",
              "label": "feature_config.enabledFeatures",
              "api": "feature_config",
              "field": "enabledFeatures",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : feature ( 28 , not v == 2 , true )"
            },
            {
              "kind": "MSP write",
              "label": "motor_config.use_dshot_telemetry",
              "api": "motor_config",
              "field": "use_dshot_telemetry",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : field ( \"motor_config\" , \"use_dshot_telemetry\" , v == 2 and 1 or 0 , true )"
            },
            {
              "kind": "read",
              "label": "governor_profile.governor_headspeed",
              "api": "governor_profile",
              "field": "governor_headspeed",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGovernor.svelte"
              ],
              "additions": [
                "governor-targets-and-filter-signal"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
              "expression": "source-map additions: governor-targets-and-filter-signal",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "filter_config.rpm_preset",
              "api": "filter_config",
              "field": "rpm_preset",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGovernor.svelte"
              ],
              "additions": [
                "governor-targets-and-filter-signal"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
              "expression": "source-map additions: governor-targets-and-filter-signal",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "rpm_filter_v2.notch_source_1..16 (axes 0..2, CUSTOM only)",
              "api": "rpm_filter_v2",
              "field": "notch_source_1..16 (axes 0..2, CUSTOM only)",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGovernor.svelte"
              ],
              "additions": [
                "governor-targets-and-filter-signal"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
              "expression": "source-map additions: governor-targets-and-filter-signal",
              "scope": "mapped dependency"
            },
            {
              "kind": "MSP write",
              "label": "governor_profile.governor_headspeed",
              "api": "governor_profile",
              "field": "governor_headspeed",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGovernor.svelte"
              ],
              "additions": [
                "governor-targets-and-filter-signal"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
              "expression": "source-map additions: governor-targets-and-filter-signal",
              "scope": "mapped transaction"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP servo",
              "api": "servo",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            }
          ]
        },
        {
          "title": "RPM source",
          "title_expression": "L . rpmSource",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepGovernor.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Status",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGovernor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
              "expression": "w : value ( L . linkStatus , function ( ) return w : rpmStatus ( ) end )"
            },
            {
              "kind": "pilot sets",
              "label": "RPM source",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGovernor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
              "expression": "{ kind = \"choice\" , label = L . rpmSource , fullWidth = w . wideScreen , allowUnset = true , values = { L . rpmWire , L . bidirectionalDshot } , get = source , set = function ( v ) if ( mode ( ) == 0 and not w . governorRpmFilter ) or ( v ~= 1 and v ~= 2 ) then return end if v == 2 and w . data . motor_config . motor_pwm_protocol == 5 then w . message = L . dshot150NoRpm ; return end w : setRpmSource ( v == 2 ) w . rebootPending = true w . buildRequested = true ; w : rebuild ( ) end , enabled = function ( ) return mode ( ) > 0 or w . governorRpmFilter end }"
            },
            {
              "kind": "gate",
              "label": "reboot pending",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGovernor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
              "expression": "rebootPending"
            }
          ]
        },
        {
          "title": "RPM filter",
          "title_expression": "L . rpmFilter",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepGovernor.svelte"
          ],
          "configurator_status": [
            "beyond the Configurator"
          ],
          "additions": [
            "governor-targets-and-filter-signal"
          ],
          "rows": []
        },
        {
          "title": "Throttle Type",
          "title_expression": "L . throttleType",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepGovernor.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "governor_config.gov_throttle_type",
              "api": "governor_config",
              "field": "gov_throttle_type",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGovernor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
              "expression": "w : field ( \"governor_config\" , \"gov_throttle_type\" , v - 1 , true )"
            },
            {
              "kind": "pilot sets",
              "label": "Throttle Type",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGovernor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
              "expression": "{ kind = \"choice\" , label = L . throttleType , values = governs ( ) and { L . normal , L . switch , L . functionMode } or { L . normal } , get = function ( ) return w . data . governor_config . gov_throttle_type + 1 end , set = function ( v ) if not governs ( ) and v ~= 1 then return end w : field ( \"governor_config\" , \"gov_throttle_type\" , v - 1 , true ) end , enabled = function ( ) return mode ( ) > 0 end }"
            }
          ]
        },
        {
          "title": "Full headspeed (rpm)",
          "title_expression": "L . headspeed",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepGovernor.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "governor_profile (record/payload)",
              "api": "governor_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGovernor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
              "expression": "w : touch ( \"governor_profile\" )"
            },
            {
              "kind": "pilot sets",
              "label": "PID profile {n}",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGovernor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/governor.lua",
              "expression": "{ kind = \"number\" , label = string . format ( L . headspeedProfile , index + 1 ) , min = spec . min , max = spec . max , display = function ( v ) return w . governorSpeeds and w . governorSpeeds [ index ] ~= nil and tostring ( v ) or \"--\" end , get = function ( ) return w . governorSpeeds and w . governorSpeeds [ index ] or 0 end , set = function ( v ) if not governs ( ) or not w . governorLoaded or w . governorSpeeds [ index ] == nil then return end local value = v if value == w . governorSpeeds [ index ] then return end w . governorSpeeds [ index ] = value w . governorChanged = w . governorChanged or { } ; w . governorChanged [ index ] = true if w . logTrace then w : log ( \"trace\" , \"headspeed PID profile %s set\" , index ) end w : touch ( \"governor_profile\" ) end , enabled = function ( ) return governs ( ) and w . governorLoaded == true and w . governorSpeeds [ index ] ~= nil end }"
            }
          ]
        }
      ],
      "msp_reads": [
        "filter_config",
        "rpm_filter_v2",
        "governor_profile",
        "status",
        "governor_profile.governor_headspeed",
        "filter_config.rpm_preset",
        "rpm_filter_v2.notch_source_1..16 (axes 0..2, CUSTOM only)",
        "servo"
      ],
      "msp_writes": [
        "governor_config.gov_mode",
        "feature_config.enabledFeatures",
        "governor_config.gov_throttle_type",
        "set_pid_profile",
        "governor_profile",
        "governor_profile.governor_headspeed",
        "motor_config.use_dshot_telemetry"
      ],
      "configurator_status": [
        "beyond the Configurator"
      ]
    },
    {
      "number": 9,
      "id": "motor",
      "title": "Motor & ESC",
      "phase": "B",
      "cards": [
        {
          "title": "Throttle Protocol",
          "title_expression": "L . throttleProtocol",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
          "configurator_reference": [
            "tabs/setup_wizard/MotorGearArt.svelte",
            "tabs/setup_wizard/StepMotor.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot sets",
              "label": "Bidirectional DShot",
              "api": "motor_config",
              "field": "use_dshot_telemetry",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : c ( \"motor_config\" , \"use_dshot_telemetry\" , L . bidirectionalDshot , { L . off , L . on } , true )"
            },
            {
              "kind": "MSP write",
              "label": "motor_config.use_dshot_telemetry",
              "api": "motor_config",
              "field": "use_dshot_telemetry",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : c ( \"motor_config\" , \"use_dshot_telemetry\" , L . bidirectionalDshot , { L . off , L . on } , true )"
            },
            {
              "kind": "MSP write",
              "label": "motor_config.use_dshot_telemetry",
              "api": "motor_config",
              "field": "use_dshot_telemetry",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : field ( \"motor_config\" , \"use_dshot_telemetry\" , 0 , true )"
            },
            {
              "kind": "pilot sets",
              "label": "Protocol",
              "api": "motor_config",
              "field": "motor_pwm_protocol",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : enum ( \"motor_config\" , \"motor_pwm_protocol\" , L . protocol , protocols , true )"
            },
            {
              "kind": "MSP write",
              "label": "motor_config.motor_pwm_protocol",
              "api": "motor_config",
              "field": "motor_pwm_protocol",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : enum ( \"motor_config\" , \"motor_pwm_protocol\" , L . protocol , protocols , true )"
            },
            {
              "kind": "pilot confirms",
              "label": "All blades removed",
              "api": null,
              "field": "blades",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : check ( \"blades\" , L . bladesRemoved )"
            },
            {
              "kind": "MSP write",
              "label": "esc_sensor_config (record/payload)",
              "api": "esc_sensor_config",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/features.svelte.js",
                "js/tail_motor.js",
                "tabs/configuration/AutoAlignWizard.svelte",
                "tabs/governor/state.svelte.js",
                "tabs/motors/EscWiringDetectWizard.svelte",
                "tabs/motors/state.svelte.js",
                "tabs/receiver/RxWiringDetectWizard.svelte",
                "tabs/receiver/channelPresets.js",
                "tabs/receiver/protocols.js",
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte",
                "tabs/setup_wizard/governor.js"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/workflow.lua",
              "expression": "self : touch ( \"esc_sensor_config\" )"
            },
            {
              "kind": "MSP write",
              "label": "feature_config.enabledFeatures",
              "api": "feature_config",
              "field": "enabledFeatures",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/features.svelte.js",
                "js/tail_motor.js",
                "tabs/configuration/AutoAlignWizard.svelte",
                "tabs/governor/state.svelte.js",
                "tabs/motors/EscWiringDetectWizard.svelte",
                "tabs/motors/state.svelte.js",
                "tabs/receiver/RxWiringDetectWizard.svelte",
                "tabs/receiver/channelPresets.js",
                "tabs/receiver/protocols.js",
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte",
                "tabs/setup_wizard/governor.js"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/workflow.lua",
              "expression": "self : feature ( 27 , castle or self . data . esc_sensor_config . protocol > 0 , true )"
            },
            {
              "kind": "MSP write",
              "label": "motor_config.use_dshot_telemetry",
              "api": "motor_config",
              "field": "use_dshot_telemetry",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/features.svelte.js",
                "js/tail_motor.js",
                "tabs/configuration/AutoAlignWizard.svelte",
                "tabs/governor/state.svelte.js",
                "tabs/motors/EscWiringDetectWizard.svelte",
                "tabs/motors/state.svelte.js",
                "tabs/receiver/RxWiringDetectWizard.svelte",
                "tabs/receiver/channelPresets.js",
                "tabs/receiver/protocols.js",
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte",
                "tabs/setup_wizard/governor.js"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/workflow.lua",
              "expression": "self : field ( \"motor_config\" , \"use_dshot_telemetry\" , 0 , true )"
            },
            {
              "kind": "MSP write",
              "label": "feature_config.enabledFeatures",
              "api": "feature_config",
              "field": "enabledFeatures",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : feature ( 28 , not true , true )"
            },
            {
              "kind": "MSP write",
              "label": "motor_config.use_dshot_telemetry",
              "api": "motor_config",
              "field": "use_dshot_telemetry",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : field ( \"motor_config\" , \"use_dshot_telemetry\" , true and 1 or 0 , true )"
            },
            {
              "kind": "MSP write",
              "label": "feature_config.enabledFeatures",
              "api": "feature_config",
              "field": "enabledFeatures",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : feature ( 28 , not m . motor_pwm_protocol == 6 or m . motor_pwm_protocol == 7 , true )"
            },
            {
              "kind": "MSP write",
              "label": "motor_config.use_dshot_telemetry",
              "api": "motor_config",
              "field": "use_dshot_telemetry",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : field ( \"motor_config\" , \"use_dshot_telemetry\" , m . motor_pwm_protocol == 6 or m . motor_pwm_protocol == 7 and 1 or 0 , true )"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP servo",
              "api": "servo",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            }
          ]
        },
        {
          "title": "Main motor poles",
          "title_expression": "L . motorPoles",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
          "configurator_reference": [
            "tabs/setup_wizard/MotorGearArt.svelte",
            "tabs/setup_wizard/StepMotor.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot sets",
              "label": "Main motor poles",
              "api": "motor_config",
              "field": "motor_pole_count_0",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : n ( \"motor_config\" , \"motor_pole_count_0\" , L . motorPoles , 2 , 255 , true )"
            },
            {
              "kind": "MSP write",
              "label": "motor_config.motor_pole_count_0",
              "api": "motor_config",
              "field": "motor_pole_count_0",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : n ( \"motor_config\" , \"motor_pole_count_0\" , L . motorPoles , 2 , 255 , true )"
            }
          ]
        },
        {
          "title": "Main gear ratio",
          "title_expression": "L . mainGearRatio",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
          "configurator_reference": [
            "tabs/setup_wizard/MotorGearArt.svelte",
            "tabs/setup_wizard/StepMotor.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "motor_config.main_rotor_gear_ratio_0",
              "api": "motor_config",
              "field": "main_rotor_gear_ratio_0",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : field ( \"motor_config\" , \"main_rotor_gear_ratio_0\" , p0 , true )"
            },
            {
              "kind": "MSP write",
              "label": "motor_config.main_rotor_gear_ratio_1",
              "api": "motor_config",
              "field": "main_rotor_gear_ratio_1",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : field ( \"motor_config\" , \"main_rotor_gear_ratio_1\" , p1 , true )"
            },
            {
              "kind": "MSP write",
              "label": "motor_config.tail_rotor_gear_ratio_0",
              "api": "motor_config",
              "field": "tail_rotor_gear_ratio_0",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : field ( \"motor_config\" , \"tail_rotor_gear_ratio_0\" , t0 , true )"
            },
            {
              "kind": "MSP write",
              "label": "motor_config.tail_rotor_gear_ratio_1",
              "api": "motor_config",
              "field": "tail_rotor_gear_ratio_1",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : field ( \"motor_config\" , \"tail_rotor_gear_ratio_1\" , t1 , true )"
            },
            {
              "kind": "read",
              "label": "Main ratio",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : value ( L . mainRatio , mainRatio )"
            },
            {
              "kind": "pilot sets",
              "label": "Gear train",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "{ kind = \"choice\" , label = L . gearTrain , values = { L . stagesOne , L . stagesTwo , L . ratioOnly } , get = function ( ) return g . stages end , set = setStages }"
            },
            {
              "kind": "pilot sets",
              "label": "Gear ratio",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "{ kind = \"number\" , label = L . gearRatio , min = 100 , max = 10000 , display = ratioDisplay , get = r . get , set = r . set }"
            },
            {
              "kind": "pilot sets",
              "label": "Pinion : intermediate",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "{ kind = \"pair\" , label = L . pairStage1 , min = 1 , max = 50000 , left = value ( g , \"pinion\" ) , right = value ( g , \"pinionSide\" ) }"
            },
            {
              "kind": "pilot sets",
              "label": "Intermediate : main gear",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "{ kind = \"pair\" , label = L . pairStage2 , min = 1 , max = 50000 , left = value ( g , \"mainSide\" ) , right = value ( g , \"main\" ) }"
            },
            {
              "kind": "pilot sets",
              "label": "Pinion : main gear",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "{ kind = \"pair\" , label = L . pairSingle , min = 1 , max = 50000 , left = value ( g , \"pinion\" ) , right = value ( g , \"main\" ) }"
            }
          ]
        },
        {
          "title": "Tail gear ratio",
          "title_expression": "L . tailGearRatio",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
          "configurator_reference": [
            "tabs/setup_wizard/MotorGearArt.svelte",
            "tabs/setup_wizard/StepMotor.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot sets",
              "label": "Tail motor poles",
              "api": "motor_config",
              "field": "motor_pole_count_1",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : n ( \"motor_config\" , \"motor_pole_count_1\" , L . tailMotorPoles , 2 , 255 , true )"
            },
            {
              "kind": "MSP write",
              "label": "motor_config.motor_pole_count_1",
              "api": "motor_config",
              "field": "motor_pole_count_1",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : n ( \"motor_config\" , \"motor_pole_count_1\" , L . tailMotorPoles , 2 , 255 , true )"
            },
            {
              "kind": "read",
              "label": "Tail ratio",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : value ( L . tailRatio , tailRatio )"
            },
            {
              "kind": "pilot sets",
              "label": "Tail drive from",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "{ kind = \"choice\" , label = L . tailDriveFrom , values = { L . tailFromMain , L . tailFromIntermediate , L . ratioOnly } , get = function ( ) return t . from end , set = function ( v ) if v == t . from then return end if v == 2 and g . stages == 3 then w . message = L . tailNeedsTeeth ; return end local before , beforeMesh = t . from , t . mesh ; t . from = v if v == 3 then t . ratio = hundredths ( m . tail_rotor_gear_ratio_0 , m . tail_rotor_gear_ratio_1 ) end if v == 2 and g . stages ~= 2 then t . mesh = g . main end if not apply ( ) then t . from , t . mesh = before , beforeMesh end w . buildRequested = true ; w : rebuild ( ) end }"
            },
            {
              "kind": "pilot sets",
              "label": "Gear ratio",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "{ kind = \"number\" , label = L . gearRatio , min = 100 , max = 10000 , display = ratioDisplay , get = r . get , set = r . set }"
            },
            {
              "kind": "pilot sets",
              "label": "Intermediate : main gear",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "{ kind = \"pair\" , label = L . pairMainMesh , min = 1 , max = 50000 , left = g . stages == 2 and value ( g , \"mainSide\" ) or value ( t , \"mesh\" ) , right = value ( g , \"main\" ) }"
            },
            {
              "kind": "pilot sets",
              "label": "Pulley : tail rotor pulley",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "{ kind = \"pair\" , label = L . pairTailShaft , min = 1 , max = 50000 , left = value ( t , \"a\" ) , right = value ( t , \"b\" ) }"
            },
            {
              "kind": "pilot sets",
              "label": "Drive : tail rotor gear",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "{ kind = \"pair\" , label = L . pairTail , min = 1 , max = 50000 , left = value ( t , \"a\" ) , right = value ( t , \"b\" ) }"
            }
          ]
        },
        {
          "title": "Motor & ESC set",
          "title_expression": "L . motorDone",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
          "configurator_reference": [
            "tabs/setup_wizard/MotorGearArt.svelte",
            "tabs/setup_wizard/StepMotor.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Protocol",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : value ( L . protocol , function ( ) for _ , e in ipairs ( protocols ) do if e [ 1 ] == m . motor_pwm_protocol then return e [ 2 ] end end return tostring ( m . motor_pwm_protocol ) end )"
            },
            {
              "kind": "read",
              "label": "Main motor poles",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : value ( L . motorPoles , function ( ) return m . motor_pole_count_0 end )"
            },
            {
              "kind": "read",
              "label": "Gear train",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : value ( L . gearTrain , function ( ) return { L . stagesOne , L . stagesTwo , L . ratioOnly } [ g . stages ] end )"
            },
            {
              "kind": "read",
              "label": "Main ratio",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : value ( L . mainRatio , mainRatio )"
            },
            {
              "kind": "read",
              "label": "Tail motor poles",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : value ( L . tailMotorPoles , function ( ) return m . motor_pole_count_1 end )"
            },
            {
              "kind": "read",
              "label": "Tail ratio",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MotorGearArt.svelte",
                "tabs/setup_wizard/StepMotor.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/motor.lua",
              "expression": "w : value ( L . tailRatio , tailRatio )"
            }
          ]
        }
      ],
      "msp_reads": [
        "status",
        "servo"
      ],
      "msp_writes": [
        "motor_config.use_dshot_telemetry",
        "motor_config.motor_pwm_protocol",
        "esc_sensor_config",
        "feature_config.enabledFeatures",
        "motor_config.motor_pole_count_0",
        "motor_config.main_rotor_gear_ratio_0",
        "motor_config.main_rotor_gear_ratio_1",
        "motor_config.tail_rotor_gear_ratio_0",
        "motor_config.tail_rotor_gear_ratio_1",
        "motor_config.motor_pole_count_1"
      ],
      "configurator_status": [
        "same"
      ]
    },
    {
      "number": 10,
      "id": "connect",
      "title": "Connect the servos",
      "phase": "B",
      "cards": [
        {
          "title": "Restart first",
          "title_expression": "L . cardRestart",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/connect.lua",
          "configurator_reference": [
            "tabs/setup_wizard/ServoArt.svelte",
            "tabs/setup_wizard/StepConnect.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "gate",
              "label": "ack unplugged",
              "api": null,
              "field": "unplugged",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepConnect.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/connect.lua",
              "expression": "w : ack ( \"unplugged\" )"
            },
            {
              "kind": "gate",
              "label": "ack connected",
              "api": null,
              "field": "connected",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepConnect.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/connect.lua",
              "expression": "w : ack ( \"connected\" )"
            },
            {
              "kind": "gate",
              "label": "ack blades",
              "api": null,
              "field": "blades",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepConnect.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/connect.lua",
              "expression": "w : ack ( \"blades\" )"
            },
            {
              "kind": "pilot confirms",
              "label": "Servos unplugged",
              "api": null,
              "field": "unplugged",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepConnect.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/connect.lua",
              "expression": "w : check ( \"unplugged\" , L . servosUnplugged )"
            },
            {
              "kind": "read",
              "label": "Reboot",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepConnect.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/connect.lua",
              "expression": "w : value ( L . reboot , function ( ) return L . required end )"
            },
            {
              "kind": "gate",
              "label": "validation",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepConnect.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/connect.lua",
              "expression": "validate = function ( ) if w . rebootPending then return w : ack ( \"unplugged\" ) end if not w : motorOutputsOk ( ) then w : log ( \"warn\" , \"connect: a motor output is missing\" ) w . message = L . motorFailed ; return false end local swash = w . data . mixer_config . swash_type local needed = ( swash == 0 and 0 or swash >= 5 and 2 or 3 ) + ( w : motorised ( ) and 0 or 1 ) if # w : servos ( ) < needed then w : log ( \"warn\" , \"connect: %s servo outputs, %s needed\" , # w : servos ( ) , needed ) w . message = L . servoMissing ; return false end return w : ack ( \"connected\" ) and w : ack ( \"blades\" ) end"
            },
            {
              "kind": "gate",
              "label": "reboot pending",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepConnect.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/connect.lua",
              "expression": "rebootPending"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP servo",
              "api": "servo",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP motor",
              "api": "motor",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            }
          ]
        },
        {
          "title": "Plug the servos in",
          "title_expression": "L . plugServos",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/connect.lua",
          "configurator_reference": [
            "tabs/setup_wizard/ServoArt.svelte",
            "tabs/setup_wizard/StepConnect.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Motor outputs",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepConnect.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/connect.lua",
              "expression": "w : value ( L . motorOutputs , function ( ) return w : motorOutputsOk ( ) and L . ready or L . motorFailed end )"
            },
            {
              "kind": "read",
              "label": "Servos",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepConnect.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/connect.lua",
              "expression": "w : value ( L . servos , function ( ) return servoNames end )"
            },
            {
              "kind": "pilot confirms",
              "label": "Servos connected and powered",
              "api": null,
              "field": "connected",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepConnect.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/connect.lua",
              "expression": "w : check ( \"connected\" , L . servosConnected )"
            },
            {
              "kind": "pilot confirms",
              "label": "All blades removed",
              "api": null,
              "field": "blades",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArt.svelte",
                "tabs/setup_wizard/StepConnect.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/connect.lua",
              "expression": "w : check ( \"blades\" , L . bladesRemoved )"
            }
          ]
        }
      ],
      "msp_reads": [
        "status",
        "servo",
        "motor"
      ],
      "msp_writes": [],
      "configurator_status": [
        "same"
      ]
    },
    {
      "number": 11,
      "id": "escTelemetry",
      "title": "ESC telemetry",
      "phase": "C",
      "cards": [
        {
          "title": "Connect the battery",
          "title_expression": "L . connectBattery",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua",
          "configurator_reference": [
            "tabs/setup_wizard/EscArt.svelte",
            "tabs/setup_wizard/StepEscTelemetry.svelte"
          ],
          "configurator_status": [
            "differs from the Configurator",
            "beyond the Configurator"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "serial_config (record/payload)",
              "api": "serial_config",
              "field": null,
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua",
              "expression": "w : touch ( \"serial_config\" , true )"
            },
            {
              "kind": "MSP write",
              "label": "esc_sensor_config (record/payload)",
              "api": "esc_sensor_config",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/features.svelte.js",
                "js/tail_motor.js",
                "tabs/configuration/AutoAlignWizard.svelte",
                "tabs/governor/state.svelte.js",
                "tabs/motors/EscWiringDetectWizard.svelte",
                "tabs/motors/state.svelte.js",
                "tabs/receiver/RxWiringDetectWizard.svelte",
                "tabs/receiver/channelPresets.js",
                "tabs/receiver/protocols.js",
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte",
                "tabs/setup_wizard/governor.js"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/workflow.lua",
              "expression": "self : touch ( \"esc_sensor_config\" )"
            },
            {
              "kind": "MSP write",
              "label": "feature_config.enabledFeatures",
              "api": "feature_config",
              "field": "enabledFeatures",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/features.svelte.js",
                "js/tail_motor.js",
                "tabs/configuration/AutoAlignWizard.svelte",
                "tabs/governor/state.svelte.js",
                "tabs/motors/EscWiringDetectWizard.svelte",
                "tabs/motors/state.svelte.js",
                "tabs/receiver/RxWiringDetectWizard.svelte",
                "tabs/receiver/channelPresets.js",
                "tabs/receiver/protocols.js",
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte",
                "tabs/setup_wizard/governor.js"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/workflow.lua",
              "expression": "self : feature ( 27 , castle or self . data . esc_sensor_config . protocol > 0 , true )"
            },
            {
              "kind": "MSP write",
              "label": "motor_config.use_dshot_telemetry",
              "api": "motor_config",
              "field": "use_dshot_telemetry",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/features.svelte.js",
                "js/tail_motor.js",
                "tabs/configuration/AutoAlignWizard.svelte",
                "tabs/governor/state.svelte.js",
                "tabs/motors/EscWiringDetectWizard.svelte",
                "tabs/motors/state.svelte.js",
                "tabs/receiver/RxWiringDetectWizard.svelte",
                "tabs/receiver/channelPresets.js",
                "tabs/receiver/protocols.js",
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte",
                "tabs/setup_wizard/governor.js"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/workflow.lua",
              "expression": "self : field ( \"motor_config\" , \"use_dshot_telemetry\" , 0 , true )"
            },
            {
              "kind": "MSP write",
              "label": "esc_sensor_config.half_duplex",
              "api": "esc_sensor_config",
              "field": "half_duplex",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : field ( \"esc_sensor_config\" , \"half_duplex\" , saved . half_duplex , true )"
            },
            {
              "kind": "MSP write",
              "label": "esc_sensor_config.pin_swap",
              "api": "esc_sensor_config",
              "field": "pin_swap",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : field ( \"esc_sensor_config\" , \"pin_swap\" , saved . pin_swap , true )"
            },
            {
              "kind": "MSP write",
              "label": "esc_sensor_config.half_duplex",
              "api": "esc_sensor_config",
              "field": "half_duplex",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : field ( \"esc_sensor_config\" , \"half_duplex\" , 1 , true )"
            },
            {
              "kind": "MSP write",
              "label": "esc_sensor_config.pin_swap",
              "api": "esc_sensor_config",
              "field": "pin_swap",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : field ( \"esc_sensor_config\" , \"pin_swap\" , swap , true )"
            },
            {
              "kind": "MSP write",
              "label": "esc_sensor_config.half_duplex",
              "api": "esc_sensor_config",
              "field": "half_duplex",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : field ( \"esc_sensor_config\" , \"half_duplex\" , 0 , true )"
            },
            {
              "kind": "MSP write",
              "label": "esc_sensor_config.pin_swap",
              "api": "esc_sensor_config",
              "field": "pin_swap",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : field ( \"esc_sensor_config\" , \"pin_swap\" , swap , true )"
            },
            {
              "kind": "MSP write",
              "label": "motor_config (record/payload)",
              "api": "motor_config",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : touch ( \"motor_config\" , true )"
            },
            {
              "kind": "read",
              "label": "MSP motor_config",
              "api": "motor_config",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : read ( \"motor_config\" , function ( actual ) self . data . motor_config = actual if not params . matches ( actual , expected ) then self : escResult ( nil , \"fc_mismatch\" ) ; return end self . escFcWritten = true send ( ) end )"
            },
            {
              "kind": "read",
              "label": "esc_parameters_yge.governor",
              "api": "esc_parameters_yge",
              "field": "governor",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "esc_parameters_yge.stick_zero_us",
              "api": "esc_parameters_yge",
              "field": "stick_zero_us",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "esc_parameters_yge.stick_range_us",
              "api": "esc_parameters_yge",
              "field": "stick_range_us",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "esc_parameters_yge.esc_model",
              "api": "esc_parameters_yge",
              "field": "esc_model",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "esc_parameters_yge.esc_type",
              "api": "esc_parameters_yge",
              "field": "esc_type",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "esc_parameters_yge.firmware_version",
              "api": "esc_parameters_yge",
              "field": "firmware_version",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "esc_parameters_hw5.flight_mode",
              "api": "esc_parameters_hw5",
              "field": "flight_mode",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "esc_parameters_hw5.model_name",
              "api": "esc_parameters_hw5",
              "field": "model_name",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "esc_parameters_hw5.firmware_version",
              "api": "esc_parameters_hw5",
              "field": "firmware_version",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "esc_parameters_hw5._supported",
              "api": "esc_parameters_hw5",
              "field": "_supported",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "motor_config.mincommand",
              "api": "motor_config",
              "field": "mincommand",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "motor_config.minthrottle",
              "api": "motor_config",
              "field": "minthrottle",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "motor_config.maxthrottle",
              "api": "motor_config",
              "field": "maxthrottle",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "esc_sensor_config.half_duplex",
              "api": "esc_sensor_config",
              "field": "half_duplex",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "motor_telemetry.voltage",
              "api": "motor_telemetry",
              "field": "voltage",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "motor_telemetry.temperature",
              "api": "motor_telemetry",
              "field": "temperature",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped dependency"
            },
            {
              "kind": "MSP write",
              "label": "esc_parameters_yge.governor",
              "api": "esc_parameters_yge",
              "field": "governor",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped transaction"
            },
            {
              "kind": "MSP write",
              "label": "esc_parameters_yge.stick_zero_us",
              "api": "esc_parameters_yge",
              "field": "stick_zero_us",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped transaction"
            },
            {
              "kind": "MSP write",
              "label": "esc_parameters_yge.stick_range_us",
              "api": "esc_parameters_yge",
              "field": "stick_range_us",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped transaction"
            },
            {
              "kind": "MSP write",
              "label": "esc_parameters_hw5.flight_mode",
              "api": "esc_parameters_hw5",
              "field": "flight_mode",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped transaction"
            },
            {
              "kind": "MSP write",
              "label": "motor_config.mincommand",
              "api": "motor_config",
              "field": "mincommand",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped transaction"
            },
            {
              "kind": "MSP write",
              "label": "motor_config.minthrottle",
              "api": "motor_config",
              "field": "minthrottle",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped transaction"
            },
            {
              "kind": "MSP write",
              "label": "motor_config.maxthrottle",
              "api": "motor_config",
              "field": "maxthrottle",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped transaction"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP servo",
              "api": "servo",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP motor_telemetry",
              "api": "motor_telemetry",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP analog",
              "api": "analog",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            }
          ]
        },
        {
          "title": "Telemetry protocol",
          "title_expression": "L . cardTelemetryProtocol",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua",
          "configurator_reference": [
            "tabs/setup_wizard/EscArt.svelte",
            "tabs/setup_wizard/StepEscTelemetry.svelte"
          ],
          "configurator_status": [
            "differs from the Configurator",
            "beyond the Configurator"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot sets",
              "label": "Protocol",
              "api": "esc_sensor_config",
              "field": "protocol",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator",
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua",
              "expression": "w : enum ( \"esc_sensor_config\" , \"protocol\" , L . protocol , protocols , true )"
            },
            {
              "kind": "MSP write",
              "label": "esc_sensor_config.protocol",
              "api": "esc_sensor_config",
              "field": "protocol",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator",
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua",
              "expression": "w : enum ( \"esc_sensor_config\" , \"protocol\" , L . protocol , protocols , true )"
            },
            {
              "kind": "gate",
              "label": "validation",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua",
              "expression": "validate = function ( ) w : escFamily ( ) if w . escParams and ( w . escParams . changes or w . escParams . restart ) then w . message = L . escRestart ; return false end return not w . escBusy end"
            },
            {
              "kind": "read",
              "label": "esc_sensor_config.protocol",
              "api": "esc_sensor_config",
              "field": "protocol",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "source-map additions: esc-range-and-operating-mode",
              "scope": "mapped dependency"
            }
          ]
        },
        {
          "title": "Port",
          "title_expression": "L . port",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua",
          "configurator_reference": [
            "tabs/setup_wizard/EscArt.svelte",
            "tabs/setup_wizard/StepEscTelemetry.svelte"
          ],
          "configurator_status": [
            "differs from the Configurator"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot sets",
              "label": "Port",
              "api": "serial_config",
              "field": "port_{n}_function_mask",
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua",
              "expression": "w : port ( L . port , 1024 )"
            },
            {
              "kind": "MSP write",
              "label": "serial_config.port_{n}_function_mask",
              "api": "serial_config",
              "field": "port_{n}_function_mask",
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua",
              "expression": "w : port ( L . port , 1024 )"
            }
          ]
        },
        {
          "title": "Check",
          "title_expression": "L . telemetryCheck",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua",
          "configurator_reference": [
            "tabs/setup_wizard/EscArt.svelte",
            "tabs/setup_wizard/StepEscTelemetry.svelte"
          ],
          "configurator_status": [
            "differs from the Configurator"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "MSP esc_sensor_trial (trial)",
              "api": "esc_sensor_trial",
              "field": null,
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua",
              "expression": "w : startTrial ( \"esc_sensor_trial\" )"
            },
            {
              "kind": "MSP write",
              "label": "MSP esc_sensor_trial (trial)",
              "api": "esc_sensor_trial",
              "field": null,
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua",
              "expression": "w : startTrial ( \"esc_sensor_trial\" )"
            },
            {
              "kind": "read",
              "label": "Voltage",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua",
              "expression": "w : value ( L . voltage , function ( ) local m = motor ( ) ; return m and w . powerFields . reading ( m . voltage , 1000 , \"V\" ) or \"--\" end )"
            },
            {
              "kind": "read",
              "label": "Temperature",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua",
              "expression": "w : value ( L . temperature , function ( ) local m = motor ( ) ; return m and string . format ( \"%.1f°C\" , m . temperature / 10 ) or \"--\" end )"
            }
          ]
        },
        {
          "title": "Telemetry readings",
          "title_expression": "L . telemetryStatus",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua",
          "configurator_reference": [
            "tabs/setup_wizard/EscArt.svelte",
            "tabs/setup_wizard/StepEscTelemetry.svelte"
          ],
          "configurator_status": [
            "differs from the Configurator"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Current",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua",
              "expression": "w : value ( L . current , function ( ) local m = motor ( ) ; return m and w . powerFields . reading ( m . current , 1000 , \"A\" ) or \"--\" end )"
            },
            {
              "kind": "read",
              "label": "RPM",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua",
              "expression": "w : value ( L . rpm , function ( ) local m = motor ( ) ; return m and m . rpm or \"--\" end )"
            },
            {
              "kind": "read",
              "label": "Active",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua",
              "expression": "w : value ( L . active , function ( ) local m = motor ( ) ; return m and ( m . voltage > 0 or m . temperature > 0 ) and L . receiving or L . noTelemetry end )"
            },
            {
              "kind": "read",
              "label": "Protocol",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepEscTelemetry.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/escTelemetry.lua",
              "expression": "w : value ( L . protocol , function ( ) if castle then return \"Castle Link\" end local entry = protocols [ w . data . esc_sensor_config . protocol + 1 ] return entry and entry [ 2 ] or L . on end )"
            }
          ]
        },
        {
          "title": "Voltage and current",
          "title_expression": "L . powerSources",
          "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
          "configurator_reference": [],
          "configurator_status": [
            "beyond the Configurator"
          ],
          "additions": [
            "esc-telemetry-power-and-battery"
          ],
          "rows": [
            {
              "kind": "pilot sets",
              "label": "{label}",
              "api": "battery_config",
              "field": "{key}",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "w : enum ( \"battery_config\" , key , label , entries ( options ) )"
            },
            {
              "kind": "MSP write",
              "label": "battery_config.{key}",
              "api": "battery_config",
              "field": "{key}",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "w : enum ( \"battery_config\" , key , label , entries ( options ) )"
            },
            {
              "kind": "MSP write",
              "label": "battery_config (record/payload)",
              "api": "battery_config",
              "field": null,
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "w : touch ( \"battery_config\" , false , true )"
            },
            {
              "kind": "read",
              "label": "battery_config.voltageMeterSource",
              "api": "battery_config",
              "field": "voltageMeterSource",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "battery_config.currentMeterSource",
              "api": "battery_config",
              "field": "currentMeterSource",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "battery_config.vbatmincellvoltage",
              "api": "battery_config",
              "field": "vbatmincellvoltage",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "battery_config.vbatmaxcellvoltage",
              "api": "battery_config",
              "field": "vbatmaxcellvoltage",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "battery_config.vbatfullcellvoltage",
              "api": "battery_config",
              "field": "vbatfullcellvoltage",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "battery_config.vbatwarningcellvoltage",
              "api": "battery_config",
              "field": "vbatwarningcellvoltage",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "battery_config.lvcPercentage",
              "api": "battery_config",
              "field": "lvcPercentage",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "battery_config.consumptionWarningPercentage",
              "api": "battery_config",
              "field": "consumptionWarningPercentage",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "battery_config.batteryCapacity_0..5",
              "api": "battery_config",
              "field": "batteryCapacity_0..5",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "battery_config.batteryCellCount_0..5",
              "api": "battery_config",
              "field": "batteryCellCount_0..5",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "battery_config.vbatmincellvoltage_0..5",
              "api": "battery_config",
              "field": "vbatmincellvoltage_0..5",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "battery_config.vbatmaxcellvoltage_0..5",
              "api": "battery_config",
              "field": "vbatmaxcellvoltage_0..5",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "battery_config.vbatfullcellvoltage_0..5",
              "api": "battery_config",
              "field": "vbatfullcellvoltage_0..5",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "battery_config.vbatwarningcellvoltage_0..5",
              "api": "battery_config",
              "field": "vbatwarningcellvoltage_0..5",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "battery_config.hasProfileCells",
              "api": "battery_config",
              "field": "hasProfileCells",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "battery_profile.batteryProfile",
              "api": "battery_profile",
              "field": "batteryProfile",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "smartfuel_config.voltage_drop_rate",
              "api": "smartfuel_config",
              "field": "voltage_drop_rate",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "smartfuel_config.charge_drop_rate",
              "api": "smartfuel_config",
              "field": "charge_drop_rate",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "smartfuel_config.sag_gain",
              "api": "smartfuel_config",
              "field": "sag_gain",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "motor_telemetry.voltage",
              "api": "motor_telemetry",
              "field": "voltage",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "motor_telemetry.current",
              "api": "motor_telemetry",
              "field": "current",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "analog.voltage",
              "api": "analog",
              "field": "voltage",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "analog.current",
              "api": "analog",
              "field": "current",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "MSP write",
              "label": "battery_config.voltageMeterSource",
              "api": "battery_config",
              "field": "voltageMeterSource",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped transaction"
            },
            {
              "kind": "MSP write",
              "label": "battery_config.currentMeterSource",
              "api": "battery_config",
              "field": "currentMeterSource",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped transaction"
            },
            {
              "kind": "MSP write",
              "label": "battery_config.batteryCapacity_0..5",
              "api": "battery_config",
              "field": "batteryCapacity_0..5",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped transaction"
            },
            {
              "kind": "MSP write",
              "label": "battery_config.batteryCellCount_0..5",
              "api": "battery_config",
              "field": "batteryCellCount_0..5",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped transaction"
            }
          ]
        },
        {
          "title": "Batteries",
          "title_expression": "L . packTable",
          "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
          "configurator_reference": [],
          "configurator_status": [
            "beyond the Configurator"
          ],
          "additions": [
            "esc-telemetry-power-and-battery"
          ],
          "rows": [
            {
              "kind": "read",
              "label": "Voltage / Current",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "w : value ( signal == \"voltage\" and L . voltage or L . current , function ( ) return sourceValue ( key , signal , unit ) end )"
            },
            {
              "kind": "pilot sets",
              "label": "Cell count",
              "api": "battery_config",
              "field": "{cellKey}",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "w : n ( \"battery_config\" , cellKey , L . cellCount , fields . cellCount . min , fields . cellCount . max )"
            },
            {
              "kind": "MSP write",
              "label": "battery_config.{cellKey}",
              "api": "battery_config",
              "field": "{cellKey}",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "w : n ( \"battery_config\" , cellKey , L . cellCount , fields . cellCount . min , fields . cellCount . max )"
            },
            {
              "kind": "MSP write",
              "label": "battery_config.batteryCellCount",
              "api": "battery_config",
              "field": "batteryCellCount",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "w : field ( \"battery_config\" , \"batteryCellCount\" , v )"
            },
            {
              "kind": "pilot sets",
              "label": "Capacity",
              "api": "battery_config",
              "field": "{capKey}",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "w : n ( \"battery_config\" , capKey , L . capacity , fields . capacity . min , fields . capacity . max )"
            },
            {
              "kind": "MSP write",
              "label": "battery_config.{capKey}",
              "api": "battery_config",
              "field": "{capKey}",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "w : n ( \"battery_config\" , capKey , L . capacity , fields . capacity . min , fields . capacity . max )"
            },
            {
              "kind": "MSP write",
              "label": "battery_config.batteryCapacity",
              "api": "battery_config",
              "field": "batteryCapacity",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "w : field ( \"battery_config\" , \"batteryCapacity\" , v )"
            },
            {
              "kind": "pilot sets",
              "label": "Different packs",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "{ kind = \"choice\" , label = L . packCount , values = counts , get = function ( ) return w . packCount end , set = function ( v ) if v == w . packCount or not counts [ v ] then return end if w . logDebug then w : log ( \"debug\" , \"pack count %s\" , v ) end local saved = w . saved and w . saved . battery_config for i = v , 5 do if saved and saved [ \"batteryCellCount_\" .. i ] ~= nil and battery [ \"batteryCellCount_\" .. i ] ~= saved [ \"batteryCellCount_\" .. i ] then battery [ \"batteryCellCount_\" .. i ] = saved [ \"batteryCellCount_\" .. i ] end if saved and saved [ \"batteryCapacity_\" .. i ] ~= nil and battery [ \"batteryCapacity_\" .. i ] ~= saved [ \"batteryCapacity_\" .. i ] then battery [ \"batteryCapacity_\" .. i ] = saved [ \"batteryCapacity_\" .. i ] end end w . packCount = v ; w . buildRequested = true ; w : rebuild ( ) end }"
            },
            {
              "kind": "pilot sets",
              "label": "{cells . label}",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "{ kind = \"choice\" , label = cells . label , values = values , enabled = cells . enabled , get = function ( ) local v = cells . get ( ) ; return type ( v ) == \"number\" and v - first + 1 or 1 end , set = function ( index ) if values [ index ] then cells . set ( index - 1 + first ) end end }"
            },
            {
              "kind": "pilot sets",
              "label": "Battery",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "{ kind = \"pair\" , label = L . batterySlot .. \" \" .. ( index + 1 ) , left = cells , right = capacity , separator = \"\" }"
            },
            {
              "kind": "read",
              "label": "battery_config.batteryCapacity",
              "api": "battery_config",
              "field": "batteryCapacity",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "read",
              "label": "battery_config.batteryCellCount",
              "api": "battery_config",
              "field": "batteryCellCount",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "MSP write",
              "label": "battery_config.batteryCellCount",
              "api": "battery_config",
              "field": "batteryCellCount",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped transaction"
            },
            {
              "kind": "MSP write",
              "label": "battery_config.batteryCapacity",
              "api": "battery_config",
              "field": "batteryCapacity",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped transaction"
            }
          ]
        },
        {
          "title": "SmartFuel Mode",
          "title_expression": "L . smartFuel",
          "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
          "configurator_reference": [],
          "configurator_status": [
            "beyond the Configurator"
          ],
          "additions": [
            "esc-telemetry-power-and-battery"
          ],
          "rows": [
            {
              "kind": "pilot sets",
              "label": "Firmware Source",
              "api": "smartfuel_config",
              "field": "smartfuel_mode",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "w : enum ( \"smartfuel_config\" , \"smartfuel_mode\" , L . firmwareSource , entries ( fields . modeOptions ( w . i18n ) ) )"
            },
            {
              "kind": "MSP write",
              "label": "smartfuel_config.smartfuel_mode",
              "api": "smartfuel_config",
              "field": "smartfuel_mode",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "w : enum ( \"smartfuel_config\" , \"smartfuel_mode\" , L . firmwareSource , entries ( fields . modeOptions ( w . i18n ) ) )"
            },
            {
              "kind": "read",
              "label": "smartfuel_config.smartfuel_mode",
              "api": "smartfuel_config",
              "field": "smartfuel_mode",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped dependency"
            },
            {
              "kind": "MSP write",
              "label": "smartfuel_config.smartfuel_mode",
              "api": "smartfuel_config",
              "field": "smartfuel_mode",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-telemetry-power-and-battery"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/power_cards.lua",
              "expression": "source-map additions: esc-telemetry-power-and-battery",
              "scope": "mapped transaction"
            }
          ]
        },
        {
          "title": "Throttle range",
          "title_expression": "L . throttleRange",
          "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
          "configurator_reference": [],
          "configurator_status": [
            "beyond the Configurator"
          ],
          "additions": [
            "esc-range-and-operating-mode"
          ],
          "rows": [
            {
              "kind": "MSP write",
              "label": "esc_sensor_config.half_duplex",
              "api": "esc_sensor_config",
              "field": "half_duplex",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : field ( \"esc_sensor_config\" , \"half_duplex\" , 1 , true )"
            },
            {
              "kind": "MSP write",
              "label": "esc_sensor_config.pin_swap",
              "api": "esc_sensor_config",
              "field": "pin_swap",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : field ( \"esc_sensor_config\" , \"pin_swap\" , swap , true )"
            },
            {
              "kind": "MSP write",
              "label": "esc_sensor_config.half_duplex",
              "api": "esc_sensor_config",
              "field": "half_duplex",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : field ( \"esc_sensor_config\" , \"half_duplex\" , 0 , true )"
            },
            {
              "kind": "MSP write",
              "label": "esc_sensor_config.half_duplex",
              "api": "esc_sensor_config",
              "field": "half_duplex",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : field ( \"esc_sensor_config\" , \"half_duplex\" , saved . half_duplex , true )"
            },
            {
              "kind": "MSP write",
              "label": "esc_sensor_config.pin_swap",
              "api": "esc_sensor_config",
              "field": "pin_swap",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : field ( \"esc_sensor_config\" , \"pin_swap\" , saved . pin_swap , true )"
            },
            {
              "kind": "MSP write",
              "label": "motor_config (record/payload)",
              "api": "motor_config",
              "field": null,
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : touch ( \"motor_config\" , true )"
            },
            {
              "kind": "read",
              "label": "MSP motor_config",
              "api": "motor_config",
              "field": null,
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : read ( \"motor_config\" , function ( actual ) self . data . motor_config = actual if not params . matches ( actual , expected ) then self : escResult ( nil , \"fc_mismatch\" ) ; return end self . escFcWritten = true send ( ) end )"
            },
            {
              "kind": "gate",
              "label": "reboot pending",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "rebootPending"
            },
            {
              "kind": "pilot sets",
              "label": "How is the ESC's throttle range set?",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "{ kind = \"choice\" , label = L . rangeQuestion , values = labels , fullWidth = true , allowUnset = true , get = function ( ) for i , route in ipairs ( routes ) do if route == self . rangeChoice then return i end end return 0 end , set = function ( value ) if not routes [ value ] or self . escBusy then return end self . rangeChoice , self . rangeSource , self . calibratedEsc = routes [ value ] , nil , nil if self . logDebug then self : log ( \"debug\" , \"throttle range route %s\" , routes [ value ] ) end self . escRangeExpected , self . escRangeChanges , self . escOperation = nil , nil , nil self . rangeNeedsVerification = nil self . checks . rangeAsserted = nil ; self : escRefresh ( ) end }"
            }
          ]
        },
        {
          "title": "Throttle range",
          "title_expression": "L . throttleRange",
          "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
          "configurator_reference": [],
          "configurator_status": [
            "beyond the Configurator"
          ],
          "additions": [
            "esc-range-and-operating-mode"
          ],
          "rows": [
            {
              "kind": "pilot confirms",
              "label": "I confirm the ESC range is set",
              "api": null,
              "field": "rangeAsserted",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : check ( \"rangeAsserted\" , L . rangeConfirm )"
            }
          ]
        },
        {
          "title": "ESC parameter link",
          "title_expression": "L . escLink",
          "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
          "configurator_reference": [],
          "configurator_status": [
            "beyond the Configurator"
          ],
          "additions": [
            "esc-range-and-operating-mode"
          ],
          "rows": [
            {
              "kind": "pilot sets",
              "label": "Use half-duplex",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "{ kind = \"toggle\" , label = L . escUseHalfDuplex , values = { L . no , L . yes } , get = function ( ) return self . data . esc_sensor_config . half_duplex == 1 and 2 or 1 end , set = function ( v ) if v == 2 then self : escUseHalfDuplex ( ) else self : escHalfDuplexOff ( ) end self : escRefresh ( ) end , enabled = function ( ) return not self . escBusy end }"
            }
          ]
        },
        {
          "title": "Restart the ESC",
          "title_expression": "L . escRestartTitle",
          "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
          "configurator_reference": [],
          "configurator_status": [
            "beyond the Configurator"
          ],
          "additions": [
            "esc-range-and-operating-mode"
          ],
          "rows": [
            {
              "kind": "pilot confirms",
              "label": "Battery unplugged and reconnected",
              "api": null,
              "field": "escBatteryCycle",
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : check ( \"escBatteryCycle\" , L . escBatteryCycle )"
            }
          ]
        },
        {
          "title": "ESC operating mode",
          "title_expression": "L . escMode",
          "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
          "configurator_reference": [],
          "configurator_status": [
            "beyond the Configurator"
          ],
          "additions": [
            "esc-range-and-operating-mode"
          ],
          "rows": [
            {
              "kind": "read",
              "label": "Current ESC mode",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : value ( L . escCurrentMode , function ( ) return currentMode end )"
            },
            {
              "kind": "pilot sets",
              "label": "Expected ESC mode",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "{ kind = \"choice\" , label = L . escExpectedMode , values = values , get = function ( ) return 1 end , set = function ( v ) selected = v end }"
            }
          ]
        },
        {
          "title": "ESC parameter link",
          "title_expression": "L . escLink",
          "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
          "configurator_reference": [],
          "configurator_status": [
            "beyond the Configurator"
          ],
          "additions": [
            "esc-range-and-operating-mode"
          ],
          "rows": [
            {
              "kind": "read",
              "label": "Current ESC mode",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : value ( L . escCurrentMode , function ( ) return L . escModeUnavailable end )"
            }
          ]
        },
        {
          "title": "Current ESC values",
          "title_expression": "L . escCurrentRange",
          "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
          "configurator_reference": [],
          "configurator_status": [
            "beyond the Configurator"
          ],
          "additions": [
            "esc-range-and-operating-mode"
          ],
          "rows": [
            {
              "kind": "read",
              "label": "ESC model",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : value ( L . escModel , function ( ) return block . model_name or block . esc_type or block . esc_model or L . unknown end )"
            },
            {
              "kind": "read",
              "label": "ESC firmware",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : value ( L . escFirmware , function ( ) return block . firmware_version or L . unknown end )"
            },
            {
              "kind": "read",
              "label": "Stick zero (us)",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : value ( L . escZero , function ( ) return block [ family . range . zero ] end )"
            },
            {
              "kind": "read",
              "label": "Zero + range (us)",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : value ( L . escFull , function ( ) return block [ family . range . zero ] + block [ family . range . span ] end )"
            }
          ]
        },
        {
          "title": "Throttle range",
          "title_expression": "L . throttleRange",
          "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
          "configurator_reference": [],
          "configurator_status": [
            "beyond the Configurator"
          ],
          "additions": [
            "esc-range-and-operating-mode"
          ],
          "rows": [
            {
              "kind": "read",
              "label": "Stop pulse (us)",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "self : value ( L . rangeStop , function ( ) return 1000 end )"
            },
            {
              "kind": "pilot sets",
              "label": "Minimum pulse (us)",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "{ kind = \"number\" , label = L . rangeMin , min = limit . min , max = limit . max , get = function ( ) return self . escRangeDraft [ \"minthrottle\" ] end , set = function ( v ) if not self . escBusy then self . escRangeDraft [ \"minthrottle\" ] = v end end }"
            },
            {
              "kind": "pilot sets",
              "label": "Maximum pulse (us)",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "beyond the Configurator"
              ],
              "configurator_reference": [],
              "additions": [
                "esc-range-and-operating-mode"
              ],
              "source": "src/rfsuite/app/pages/helicopter_setup/esc_link.lua",
              "expression": "{ kind = \"number\" , label = L . rangeMax , min = limit . min , max = limit . max , get = function ( ) return self . escRangeDraft [ \"maxthrottle\" ] end , set = function ( v ) if not self . escBusy then self . escRangeDraft [ \"maxthrottle\" ] = v end end }"
            }
          ]
        }
      ],
      "msp_reads": [
        "motor_config",
        "esc_parameters_yge.governor",
        "esc_parameters_yge.stick_zero_us",
        "esc_parameters_yge.stick_range_us",
        "esc_parameters_yge.esc_model",
        "esc_parameters_yge.esc_type",
        "esc_parameters_yge.firmware_version",
        "esc_parameters_hw5.flight_mode",
        "esc_parameters_hw5.model_name",
        "esc_parameters_hw5.firmware_version",
        "esc_parameters_hw5._supported",
        "motor_config.mincommand",
        "motor_config.minthrottle",
        "motor_config.maxthrottle",
        "esc_sensor_config.half_duplex",
        "motor_telemetry.voltage",
        "motor_telemetry.temperature",
        "status",
        "servo",
        "motor_telemetry",
        "analog",
        "esc_sensor_config.protocol",
        "esc_sensor_trial",
        "battery_config.voltageMeterSource",
        "battery_config.currentMeterSource",
        "battery_config.vbatmincellvoltage",
        "battery_config.vbatmaxcellvoltage",
        "battery_config.vbatfullcellvoltage",
        "battery_config.vbatwarningcellvoltage",
        "battery_config.lvcPercentage",
        "battery_config.consumptionWarningPercentage",
        "battery_config.batteryCapacity_0..5",
        "battery_config.batteryCellCount_0..5",
        "battery_config.vbatmincellvoltage_0..5",
        "battery_config.vbatmaxcellvoltage_0..5",
        "battery_config.vbatfullcellvoltage_0..5",
        "battery_config.vbatwarningcellvoltage_0..5",
        "battery_config.hasProfileCells",
        "battery_profile.batteryProfile",
        "smartfuel_config.voltage_drop_rate",
        "smartfuel_config.charge_drop_rate",
        "smartfuel_config.sag_gain",
        "motor_telemetry.current",
        "analog.voltage",
        "analog.current",
        "battery_config.batteryCapacity",
        "battery_config.batteryCellCount",
        "smartfuel_config.smartfuel_mode"
      ],
      "msp_writes": [
        "serial_config",
        "esc_sensor_config",
        "feature_config.enabledFeatures",
        "motor_config.use_dshot_telemetry",
        "esc_sensor_config.half_duplex",
        "esc_sensor_config.pin_swap",
        "motor_config",
        "esc_parameters_yge.governor",
        "esc_parameters_yge.stick_zero_us",
        "esc_parameters_yge.stick_range_us",
        "esc_parameters_hw5.flight_mode",
        "motor_config.mincommand",
        "motor_config.minthrottle",
        "motor_config.maxthrottle",
        "esc_sensor_config.protocol",
        "serial_config.port_{n}_function_mask",
        "esc_sensor_trial",
        "battery_config.{key}",
        "battery_config",
        "battery_config.voltageMeterSource",
        "battery_config.currentMeterSource",
        "battery_config.batteryCapacity_0..5",
        "battery_config.batteryCellCount_0..5",
        "battery_config.{cellKey}",
        "battery_config.batteryCellCount",
        "battery_config.{capKey}",
        "battery_config.batteryCapacity",
        "smartfuel_config.smartfuel_mode"
      ],
      "configurator_status": [
        "differs from the Configurator",
        "beyond the Configurator"
      ]
    },
    {
      "number": 12,
      "id": "throttle",
      "title": "ESC & spin test",
      "phase": "C",
      "cards": [
        {
          "title": "Full throttle",
          "title_expression": "L . fullThrottleTitle",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/throttle.lua",
          "configurator_reference": [
            "tabs/setup_wizard/EscArt.svelte",
            "tabs/setup_wizard/StepThrottle.svelte"
          ],
          "configurator_status": [
            "differs from the Configurator"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Output (us)",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepThrottle.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/throttle.lua",
              "expression": "w : value ( L . output , function ( ) return output ( ) end )"
            },
            {
              "kind": "pilot confirms",
              "label": "All blades removed",
              "api": null,
              "field": "escBlades",
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepThrottle.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/throttle.lua",
              "expression": "w : check ( \"escBlades\" , L . bladesRemoved )"
            },
            {
              "kind": "pilot sets",
              "label": "Power (%)",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepThrottle.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/throttle.lua",
              "expression": "{ kind = \"number\" , label = L . powerPercent , min = 5 , max = 50 , get = function ( ) return w . percent end , set = function ( v ) w . percent = v end }"
            },
            {
              "kind": "gate",
              "label": "reboot pending",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepThrottle.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/throttle.lua",
              "expression": "rebootPending"
            },
            {
              "kind": "MSP write",
              "label": "motor_override.index",
              "api": "motor_override",
              "field": "index",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : write ( \"motor_override\" , { index = 0 , value = 0 } )"
            },
            {
              "kind": "MSP write",
              "label": "motor_override.value",
              "api": "motor_override",
              "field": "value",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : write ( \"motor_override\" , { index = 0 , value = 0 } )"
            },
            {
              "kind": "MSP write",
              "label": "motor_override.index",
              "api": "motor_override",
              "field": "index",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : write ( \"motor_override\" , { index = 1 , value = 0 } )"
            },
            {
              "kind": "MSP write",
              "label": "motor_override.value",
              "api": "motor_override",
              "field": "value",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : write ( \"motor_override\" , { index = 1 , value = 0 } )"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP servo",
              "api": "servo",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP motor",
              "api": "motor",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            }
          ]
        },
        {
          "title": "Connect the battery",
          "title_expression": "L . connectBattery",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/throttle.lua",
          "configurator_reference": [
            "tabs/setup_wizard/EscArt.svelte",
            "tabs/setup_wizard/StepThrottle.svelte"
          ],
          "configurator_status": [
            "differs from the Configurator"
          ],
          "additions": [],
          "rows": []
        },
        {
          "title": "Low throttle",
          "title_expression": "L . lowThrottle",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/throttle.lua",
          "configurator_reference": [
            "tabs/setup_wizard/EscArt.svelte",
            "tabs/setup_wizard/StepThrottle.svelte"
          ],
          "configurator_status": [
            "differs from the Configurator"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Output (us)",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepThrottle.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/throttle.lua",
              "expression": "w : value ( L . output , function ( ) return output ( ) end )"
            }
          ]
        },
        {
          "title": "Connect the battery",
          "title_expression": "L . connectBattery",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/throttle.lua",
          "configurator_reference": [
            "tabs/setup_wizard/EscArt.svelte",
            "tabs/setup_wizard/StepThrottle.svelte"
          ],
          "configurator_status": [
            "differs from the Configurator"
          ],
          "additions": [],
          "rows": []
        },
        {
          "title": "Throttle",
          "title_expression": "L . throttle",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/throttle.lua",
          "configurator_reference": [
            "tabs/setup_wizard/EscArt.svelte",
            "tabs/setup_wizard/StepThrottle.svelte"
          ],
          "configurator_status": [
            "differs from the Configurator"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot confirms",
              "label": "All blades removed",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepThrottle.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/throttle.lua",
              "expression": "{ kind = \"toggle\" , label = L . bladesRemoved , values = { L . no , L . yes } , get = function ( ) return w . bladesOff and 2 or 1 end , set = function ( v ) w . bladesOff = v == 2 ; if v == 1 then w : stopMotor ( ) end end }"
            }
          ]
        },
        {
          "title": "Main rotor direction",
          "title_expression": "L . motorDirection",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/throttle.lua",
          "configurator_reference": [
            "tabs/setup_wizard/EscArt.svelte",
            "tabs/setup_wizard/StepThrottle.svelte"
          ],
          "configurator_status": [
            "differs from the Configurator"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "gate",
              "label": "ack motorDirection",
              "api": null,
              "field": "motorDirection",
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepThrottle.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/throttle.lua",
              "expression": "w : ack ( \"motorDirection\" )"
            },
            {
              "kind": "pilot confirms",
              "label": "Direction is correct",
              "api": null,
              "field": "motorDirection",
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepThrottle.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/throttle.lua",
              "expression": "w : check ( \"motorDirection\" , L . directionCorrect )"
            },
            {
              "kind": "gate",
              "label": "validation",
              "api": null,
              "field": null,
              "deviation": true,
              "configurator_status": [
                "differs from the Configurator"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/EscArt.svelte",
                "tabs/setup_wizard/StepThrottle.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/throttle.lua",
              "expression": "validate = function ( ) return w : ack ( \"motorDirection\" ) end"
            }
          ]
        }
      ],
      "msp_reads": [
        "status",
        "servo",
        "motor"
      ],
      "msp_writes": [
        "motor_override.index",
        "motor_override.value"
      ],
      "configurator_status": [
        "differs from the Configurator"
      ]
    },
    {
      "number": 13,
      "id": "servos",
      "title": "Servo direction & centre",
      "phase": "D",
      "cards": [
        {
          "title": "Servo arms",
          "title_expression": "L . servoArmsTitle",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/servos.lua",
          "configurator_reference": [
            "tabs/setup_wizard/ServoArmArt.svelte",
            "tabs/setup_wizard/StepServos.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "servo_configurations (record/payload)",
              "api": "servo_configurations",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArmArt.svelte",
                "tabs/setup_wizard/StepServos.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servos.lua",
              "expression": "w : touch ( \"servo_configurations\" , false , true )"
            },
            {
              "kind": "pilot confirms",
              "label": "Servo arms",
              "api": null,
              "field": "\"servoUp\" .. index",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArmArt.svelte",
                "tabs/setup_wizard/StepServos.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servos.lua",
              "expression": "w . checks [ \"servoUp\" .. index ] = true"
            },
            {
              "kind": "MSP write",
              "label": "servo_configurations.flags",
              "api": "servo_configurations",
              "field": "flags",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArmArt.svelte",
                "tabs/setup_wizard/StepServos.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servos.lua",
              "expression": "s . flags ="
            },
            {
              "kind": "MSP write",
              "label": "servo_configurations.mid",
              "api": "servo_configurations",
              "field": "mid",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArmArt.svelte",
                "tabs/setup_wizard/StepServos.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servos.lua",
              "expression": "s . mid ="
            },
            {
              "kind": "MSP write",
              "label": "MSP servo_override",
              "api": "servo_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"servo\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "MSP write",
              "label": "MSP servo_override",
              "api": "servo_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"servo\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "MSP write",
              "label": "MSP servo_override",
              "api": "servo_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"servo\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "MSP write",
              "label": "MSP servo_override",
              "api": "servo_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"servo\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP servo",
              "api": "servo",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            }
          ]
        },
        {
          "title": "{c . title .. \" \" .. c . role}",
          "title_expression": "c . title .. \" \" .. c . role",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/servos.lua",
          "configurator_reference": [
            "tabs/setup_wizard/ServoArmArt.svelte",
            "tabs/setup_wizard/StepServos.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": []
        },
        {
          "title": "{nil . title .. \" \" .. nil . role}",
          "title_expression": "nil . title .. \" \" .. nil . role",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/servos.lua",
          "configurator_reference": [
            "tabs/setup_wizard/ServoArmArt.svelte",
            "tabs/setup_wizard/StepServos.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "gate",
              "label": "validation",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/ServoArmArt.svelte",
                "tabs/setup_wizard/StepServos.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/servos.lua",
              "expression": "validate = function ( ) for _ , c in ipairs ( swash ) do if not c . confirmed ( ) then w . message = string . format ( L . servoBlocked , c . title , c . role , L . servoDirectionMissing ) if w . logInfo then w : keyMessage ( \"servoBlocked\" ) end return false end end for i = 2 , # cards do local c = cards [ i ] . servo if c and c . far ( ) then w . message = string . format ( L . servoBlocked , c . title , c . role , L . servoFar ) if w . logInfo then w : keyMessage ( \"servoBlocked\" ) end return false end end return true end"
            }
          ]
        }
      ],
      "msp_reads": [
        "status",
        "servo"
      ],
      "msp_writes": [
        "servo_configurations",
        "servo_configurations.flags",
        "servo_configurations.mid",
        "servo_override"
      ],
      "configurator_status": [
        "same"
      ]
    },
    {
      "number": 14,
      "id": "direction",
      "title": "Control directions",
      "phase": "D",
      "cards": [
        {
          "title": "Roll right",
          "title_expression": "L . rollRight",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/direction.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepDirection.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Give roll right",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepDirection.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/direction.lua",
              "expression": "w : value ( L . inputRoll , function ( ) return w : stickNow ( 1 ) end )"
            },
            {
              "kind": "read",
              "label": "Expected",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepDirection.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/direction.lua",
              "expression": "w : value ( L . expected , function ( ) return L . rightDown end )"
            },
            {
              "kind": "pilot confirms",
              "label": "Direction is correct",
              "api": null,
              "field": "control1",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepDirection.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/direction.lua",
              "expression": "w : check ( \"control1\" , L . directionCorrect )"
            },
            {
              "kind": "MSP write",
              "label": "mixer_input (record/payload)",
              "api": "mixer_input",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/features.svelte.js",
                "tabs/configuration/util.js",
                "tabs/governor/state.svelte.js",
                "tabs/motors/state.svelte.js",
                "tabs/receiver/channelPresets.js",
                "tabs/receiver/protocols.js"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/forms.lua",
              "expression": "self : touch ( \"mixer_input\" , false , true )"
            },
            {
              "kind": "MSP write",
              "label": "mixer_input.rate",
              "api": "mixer_input",
              "field": "rate",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/features.svelte.js",
                "tabs/configuration/util.js",
                "tabs/governor/state.svelte.js",
                "tabs/motors/state.svelte.js",
                "tabs/receiver/channelPresets.js",
                "tabs/receiver/protocols.js"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/forms.lua",
              "expression": "r . rate ="
            },
            {
              "kind": "MSP write",
              "label": "MSP mixer_override",
              "api": "mixer_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"mixer\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "MSP write",
              "label": "MSP mixer_override",
              "api": "mixer_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"mixer\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "MSP write",
              "label": "MSP mixer_override",
              "api": "mixer_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"mixer\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP servo",
              "api": "servo",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP rc_command",
              "api": "rc_command",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            }
          ]
        },
        {
          "title": "Pitch forward",
          "title_expression": "L . pitchForward",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/direction.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepDirection.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Give pitch forward",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepDirection.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/direction.lua",
              "expression": "w : value ( L . inputPitch , function ( ) return w : stickNow ( 2 ) end )"
            },
            {
              "kind": "read",
              "label": "Expected",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepDirection.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/direction.lua",
              "expression": "w : value ( L . expected , function ( ) return L . frontDown end )"
            },
            {
              "kind": "pilot confirms",
              "label": "Direction is correct",
              "api": null,
              "field": "control2",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepDirection.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/direction.lua",
              "expression": "w : check ( \"control2\" , L . directionCorrect )"
            }
          ]
        },
        {
          "title": "Collective up",
          "title_expression": "L . collectiveUp",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/direction.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepDirection.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Give collective up",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepDirection.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/direction.lua",
              "expression": "w : value ( L . inputCollective , function ( ) return w : stickNow ( 4 ) end )"
            },
            {
              "kind": "read",
              "label": "Expected",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepDirection.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/direction.lua",
              "expression": "w : value ( L . expected , function ( ) return L . allUp end )"
            },
            {
              "kind": "pilot confirms",
              "label": "Direction is correct",
              "api": null,
              "field": "control4",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepDirection.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/direction.lua",
              "expression": "w : check ( \"control4\" , L . directionCorrect )"
            },
            {
              "kind": "gate",
              "label": "ack control1",
              "api": null,
              "field": "control1",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepDirection.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/direction.lua",
              "expression": "w : ack ( \"control1\" )"
            },
            {
              "kind": "gate",
              "label": "ack control2",
              "api": null,
              "field": "control2",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepDirection.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/direction.lua",
              "expression": "w : ack ( \"control2\" )"
            },
            {
              "kind": "gate",
              "label": "ack control4",
              "api": null,
              "field": "control4",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepDirection.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/direction.lua",
              "expression": "w : ack ( \"control4\" )"
            },
            {
              "kind": "gate",
              "label": "validation",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepDirection.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/direction.lua",
              "expression": "validate = function ( ) return w : ack ( \"control1\" ) and w : ack ( \"control2\" ) and w : ack ( \"control4\" ) end"
            }
          ]
        }
      ],
      "msp_reads": [
        "status",
        "servo",
        "rc_command"
      ],
      "msp_writes": [
        "mixer_input",
        "mixer_input.rate",
        "mixer_override"
      ],
      "configurator_status": [
        "same"
      ]
    },
    {
      "number": 15,
      "id": "level",
      "title": "Level the swash",
      "phase": "D",
      "cards": [
        {
          "title": "No swashplate",
          "title_expression": "L . cardNoSwash",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/level.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepLevel.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "MSP mixer_override",
              "api": "mixer_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"mixer\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "MSP write",
              "label": "MSP mixer_override",
              "api": "mixer_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"mixer\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "MSP write",
              "label": "MSP mixer_override",
              "api": "mixer_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"mixer\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP servo",
              "api": "servo",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            }
          ]
        },
        {
          "title": "Motor unplugged",
          "title_expression": "L . motorOffTitle",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/level.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepLevel.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "gate",
              "label": "ack motorUnplugged",
              "api": null,
              "field": "motorUnplugged",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepLevel.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/level.lua",
              "expression": "w : ack ( \"motorUnplugged\" )"
            },
            {
              "kind": "gate",
              "label": "ack level",
              "api": null,
              "field": "level",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepLevel.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/level.lua",
              "expression": "w : ack ( \"level\" )"
            },
            {
              "kind": "gate",
              "label": "ack bladeZero",
              "api": null,
              "field": "bladeZero",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepLevel.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/level.lua",
              "expression": "w : ack ( \"bladeZero\" )"
            },
            {
              "kind": "pilot confirms",
              "label": "Motor unplugged",
              "api": null,
              "field": "motorUnplugged",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepLevel.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/level.lua",
              "expression": "w : check ( \"motorUnplugged\" , L . motorUnplugged )"
            },
            {
              "kind": "gate",
              "label": "validation",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepLevel.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/level.lua",
              "expression": "validate = function ( ) return w : ack ( \"motorUnplugged\" ) and w : ack ( \"level\" ) and w : ack ( \"bladeZero\" ) end"
            }
          ]
        },
        {
          "title": "Swash trims",
          "title_expression": "L . cardSwashTrims",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/level.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepLevel.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot sets",
              "label": "Roll",
              "api": "mixer_config",
              "field": "swash_trim_0",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepLevel.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/level.lua",
              "expression": "w : n ( \"mixer_config\" , \"swash_trim_0\" , L . roll , - 1000 , 1000 , false , true , 10 )"
            },
            {
              "kind": "MSP write",
              "label": "mixer_config.swash_trim_0",
              "api": "mixer_config",
              "field": "swash_trim_0",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepLevel.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/level.lua",
              "expression": "w : n ( \"mixer_config\" , \"swash_trim_0\" , L . roll , - 1000 , 1000 , false , true , 10 )"
            },
            {
              "kind": "pilot sets",
              "label": "Pitch",
              "api": "mixer_config",
              "field": "swash_trim_1",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepLevel.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/level.lua",
              "expression": "w : n ( \"mixer_config\" , \"swash_trim_1\" , L . pitch , - 1000 , 1000 , false , true , 10 )"
            },
            {
              "kind": "MSP write",
              "label": "mixer_config.swash_trim_1",
              "api": "mixer_config",
              "field": "swash_trim_1",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepLevel.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/level.lua",
              "expression": "w : n ( \"mixer_config\" , \"swash_trim_1\" , L . pitch , - 1000 , 1000 , false , true , 10 )"
            },
            {
              "kind": "pilot sets",
              "label": "Collective",
              "api": "mixer_config",
              "field": "swash_trim_2",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepLevel.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/level.lua",
              "expression": "w : n ( \"mixer_config\" , \"swash_trim_2\" , L . collective , - 1000 , 1000 , false , true , 10 )"
            },
            {
              "kind": "MSP write",
              "label": "mixer_config.swash_trim_2",
              "api": "mixer_config",
              "field": "swash_trim_2",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepLevel.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/level.lua",
              "expression": "w : n ( \"mixer_config\" , \"swash_trim_2\" , L . collective , - 1000 , 1000 , false , true , 10 )"
            },
            {
              "kind": "MSP write",
              "label": "mixer_config.swash_trim_0",
              "api": "mixer_config",
              "field": "swash_trim_0",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepLevel.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/level.lua",
              "expression": "w : field ( \"mixer_config\" , \"swash_trim_0\" , 0 , false , true )"
            },
            {
              "kind": "MSP write",
              "label": "mixer_config.swash_trim_1",
              "api": "mixer_config",
              "field": "swash_trim_1",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepLevel.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/level.lua",
              "expression": "w : field ( \"mixer_config\" , \"swash_trim_1\" , 0 , false , true )"
            },
            {
              "kind": "MSP write",
              "label": "mixer_config.swash_trim_2",
              "api": "mixer_config",
              "field": "swash_trim_2",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepLevel.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/level.lua",
              "expression": "w : field ( \"mixer_config\" , \"swash_trim_2\" , 0 , false , true )"
            }
          ]
        },
        {
          "title": "Check swash level",
          "title_expression": "L . levelCheck",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/level.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepLevel.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot confirms",
              "label": "Swash is level",
              "api": null,
              "field": "level",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepLevel.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/level.lua",
              "expression": "w : check ( \"level\" , L . swashLevel )"
            }
          ]
        },
        {
          "title": "Blades at zero",
          "title_expression": "L . bladeZeroTitle",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/level.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepLevel.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot confirms",
              "label": "Blade pitch is 0 degrees",
              "api": null,
              "field": "bladeZero",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepLevel.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/level.lua",
              "expression": "w : check ( \"bladeZero\" , L . bladeZero )"
            }
          ]
        }
      ],
      "msp_reads": [
        "status",
        "servo"
      ],
      "msp_writes": [
        "mixer_override",
        "mixer_config.swash_trim_0",
        "mixer_config.swash_trim_1",
        "mixer_config.swash_trim_2"
      ],
      "configurator_status": [
        "same"
      ]
    },
    {
      "number": 16,
      "id": "pitch",
      "title": "Blade pitch",
      "phase": "D",
      "cards": [
        {
          "title": "Blades along the boom",
          "title_expression": "L . cardBladesBoom",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepPitch.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot confirms",
              "label": "Blades along the boom",
              "api": null,
              "field": "bladesBoom",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "w : check ( \"bladesBoom\" , L . bladesBoomCheck )"
            },
            {
              "kind": "MSP write",
              "label": "MSP mixer_override",
              "api": "mixer_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"mixer\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "MSP write",
              "label": "MSP mixer_override",
              "api": "mixer_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"mixer\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "MSP write",
              "label": "MSP mixer_override",
              "api": "mixer_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"mixer\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "MSP write",
              "label": "MSP mixer_override",
              "api": "mixer_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"mixer\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "MSP write",
              "label": "MSP mixer_override",
              "api": "mixer_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"mixer\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "MSP write",
              "label": "MSP mixer_override",
              "api": "mixer_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"mixer\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "MSP write",
              "label": "MSP mixer_override",
              "api": "mixer_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"mixer\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "MSP write",
              "label": "MSP mixer_override",
              "api": "mixer_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"mixer\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "MSP write",
              "label": "MSP mixer_override",
              "api": "mixer_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"mixer\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "MSP write",
              "label": "MSP mixer_override",
              "api": "mixer_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"mixer\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "MSP write",
              "label": "MSP mixer_override",
              "api": "mixer_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"mixer\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "MSP write",
              "label": "MSP mixer_override",
              "api": "mixer_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"mixer\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "MSP write",
              "label": "set_pid_profile (record/payload)",
              "api": "set_pid_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : action ( \"set_pid_profile\" , { index + ( \"rates\" == \"rates\" and 128 or 0 ) } )"
            },
            {
              "kind": "read",
              "label": "MSP rc_tuning",
              "api": "rc_tuning",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : read ( \"rc_tuning\" , function ( d ) self . profileData = d if function ( d , index ) if not ( w . pitchFullChanged and w . pitchFullChanged [ index ] ) then w . pitchFull [ index ] = H . collective ( d ) end if w . logDebug then w : log ( \"debug\" , \"rate profile %s collective read\" , index ) end end then function ( d , index ) if not ( w . pitchFullChanged and w . pitchFullChanged [ index ] ) then w . pitchFull [ index ] = H . collective ( d ) end if w . logDebug then w : log ( \"debug\" , \"rate profile %s collective read\" , index ) end end ( d , index ) end end )"
            },
            {
              "kind": "MSP write",
              "label": "set_pid_profile (record/payload)",
              "api": "set_pid_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : action ( \"set_pid_profile\" , { original } , function ( ) self . restoreProfile = nil end )"
            },
            {
              "kind": "read",
              "label": "MSP rc_tuning",
              "api": "rc_tuning",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : read ( \"rc_tuning\" , function ( d ) self . data [ \"rc_tuning\" ] = d end )"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : read ( \"status\" , function ( d ) self . data . status = d end )"
            },
            {
              "kind": "MSP write",
              "label": "set_pid_profile (record/payload)",
              "api": "set_pid_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : action ( \"set_pid_profile\" , { index + ( \"rates\" == \"rates\" and 128 or 0 ) } )"
            },
            {
              "kind": "read",
              "label": "MSP rc_tuning",
              "api": "rc_tuning",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : read ( \"rc_tuning\" , function ( d ) self . profileData = d if loaded then loaded ( d , index ) end if function ( d , index ) return H . setCollective ( d , w . pitchFull [ index ] ) end then self . profileOriginal = self . profileOriginal or { } self . profileOriginal [ \"rates\" ] = self . profileOriginal [ \"rates\" ] or { } self . profileOriginal [ \"rates\" ] [ index ] = self . profileOriginal [ \"rates\" ] [ index ] or copy ( d ) end end )"
            },
            {
              "kind": "MSP write",
              "label": "rc_tuning (record/payload)",
              "api": "rc_tuning",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : write ( \"rc_tuning\" , function ( ) if function ( d , index ) return H . setCollective ( d , w . pitchFull [ index ] ) end ( self . profileData , index ) == false then return false end return self . profileData end )"
            },
            {
              "kind": "MSP write",
              "label": "set_pid_profile (record/payload)",
              "api": "set_pid_profile",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : action ( \"set_pid_profile\" , { original } , function ( ) self . restoreProfile = nil end )"
            },
            {
              "kind": "read",
              "label": "MSP rc_tuning",
              "api": "rc_tuning",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : read ( \"rc_tuning\" , function ( d ) self . data [ \"rc_tuning\" ] = d end )"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : read ( \"status\" , function ( d ) self . data . status = d end )"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP servo",
              "api": "servo",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            }
          ]
        },
        {
          "title": "Collective",
          "title_expression": "L . collective",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepPitch.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "mixer_input (record/payload)",
              "api": "mixer_input",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "w : touch ( \"mixer_input\" , false , true )"
            },
            {
              "kind": "pilot sets",
              "label": "Degrees",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "{ kind = \"holdNumber\" , label = L . degrees , fullWidth = true , min = - limit , max = limit , divisor = 10 , holdLabel = function ( ) return held ( ) and L . releaseTest or L . holdTest end , press = function ( ) if w . logTrace then w : log ( \"trace\" , \"pitch axis %s hold pressed, held=%s\" , 4 , tostring ( held ( ) ) ) end if held ( ) then w . pitchHeld = nil ; w : holdAxes ( 4 , 0 ) ; return end w . pitchHeld = 1 w : holdAxes ( 4 , command ( w . pitchAngle or 0 ) ) end , get = function ( ) return w . pitchAngle or 0 end , set = function ( v ) w . pitchAngle = v if held ( ) then w : holdAxes ( 4 , command ( v ) ) end end }"
            },
            {
              "kind": "pilot sets",
              "label": "Measured (deg)",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "{ kind = \"number\" , label = L . measuredDegrees , min = 10 , max = 300 , divisor = 10 , get = function ( ) return w . pitchMeasured [ 1 ] end , set = function ( v ) w . pitchMeasured [ 1 ] = v end }"
            },
            {
              "kind": "pilot sets",
              "label": "Mixer rate (%)",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "{ kind = \"number\" , label = L . ratePercent , min = 200 , max = 2000 , divisor = 10 , get = function ( ) return math . abs ( w . data . mixer_input . inputs [ 4 ] . rate ) end , set = function ( v ) for _ , i in ipairs ( index == 1 and { 4 } or { 1 , 2 } ) do local input = w . data . mixer_input . inputs [ i ] ; input . rate = ( input . rate < 0 and - 1 or 1 ) * v end ; w : touch ( \"mixer_input\" , false , true ) end }"
            },
            {
              "kind": "MSP write",
              "label": "mixer_input.rate",
              "api": "mixer_input",
              "field": "rate",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "old . rate ="
            },
            {
              "kind": "MSP write",
              "label": "mixer_input.rate",
              "api": "mixer_input",
              "field": "rate",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "input . rate ="
            }
          ]
        },
        {
          "title": "Cyclic",
          "title_expression": "L . cyclic",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepPitch.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "mixer_input (record/payload)",
              "api": "mixer_input",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "w : touch ( \"mixer_input\" , false , true )"
            },
            {
              "kind": "pilot sets",
              "label": "Degrees",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "{ kind = \"holdNumber\" , label = L . degrees , fullWidth = true , min = - limit , max = limit , divisor = 10 , holdLabel = function ( ) return held ( ) and L . releaseTest or L . holdTest end , press = function ( ) if w . logTrace then w : log ( \"trace\" , \"pitch axis %s hold pressed, held=%s\" , 1 , tostring ( held ( ) ) ) end if held ( ) then w . pitchHeld = nil ; w : holdAxes ( 1 , 0 ) ; return end w . pitchHeld = 2 w : holdAxes ( 1 , command ( w . pitchAngle or 0 ) ) end , get = function ( ) return w . pitchAngle or 0 end , set = function ( v ) w . pitchAngle = v if held ( ) then w : holdAxes ( 1 , command ( v ) ) end end }"
            },
            {
              "kind": "pilot sets",
              "label": "Measured (deg)",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "{ kind = \"number\" , label = L . measuredDegrees , min = 10 , max = 300 , divisor = 10 , get = function ( ) return w . pitchMeasured [ 2 ] end , set = function ( v ) w . pitchMeasured [ 2 ] = v end }"
            },
            {
              "kind": "pilot sets",
              "label": "Mixer rate (%)",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "{ kind = \"number\" , label = L . ratePercent , min = 200 , max = 2000 , divisor = 10 , get = function ( ) return math . abs ( w . data . mixer_input . inputs [ 1 ] . rate ) end , set = function ( v ) for _ , i in ipairs ( index == 1 and { 4 } or { 1 , 2 } ) do local input = w . data . mixer_input . inputs [ i ] ; input . rate = ( input . rate < 0 and - 1 or 1 ) * v end ; w : touch ( \"mixer_input\" , false , true ) end }"
            },
            {
              "kind": "MSP write",
              "label": "mixer_input.rate",
              "api": "mixer_input",
              "field": "rate",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "old . rate ="
            },
            {
              "kind": "MSP write",
              "label": "mixer_input.rate",
              "api": "mixer_input",
              "field": "rate",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "input . rate ="
            }
          ]
        },
        {
          "title": "Cyclic (deg)",
          "title_expression": "L . cyclicLimit",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepPitch.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "mixer_input (record/payload)",
              "api": "mixer_input",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "w : touch ( \"mixer_input\" , false , true )"
            },
            {
              "kind": "pilot sets",
              "label": "Cyclic (deg)",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "{ kind = \"number\" , label = L . cyclicLimit , min = 0 , max = 200 , divisor = 10 , get = function ( ) return H . round ( w . data . mixer_input . inputs [ 2 ] . max * 0.12 ) end , set = function ( v ) for _ , i in ipairs ( axis == 2 and { 1 , 2 } or { 4 } ) do local d = w . data . mixer_input . inputs [ i ] ; d . min , d . max = - H . round ( v / 0.12 ) , H . round ( v / 0.12 ) end ; w : touch ( \"mixer_input\" , false , true ) end }"
            },
            {
              "kind": "MSP write",
              "label": "mixer_input.min",
              "api": "mixer_input",
              "field": "min",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "d . min ,"
            },
            {
              "kind": "MSP write",
              "label": "mixer_input.max",
              "api": "mixer_input",
              "field": "max",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "d . max ="
            }
          ]
        },
        {
          "title": "Collective (deg)",
          "title_expression": "L . collectiveLimit",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepPitch.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "mixer_input (record/payload)",
              "api": "mixer_input",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "w : touch ( \"mixer_input\" , false , true )"
            },
            {
              "kind": "pilot sets",
              "label": "Collective (deg)",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "{ kind = \"number\" , label = L . collectiveLimit , min = 0 , max = 200 , divisor = 10 , get = function ( ) return H . round ( w . data . mixer_input . inputs [ 4 ] . max * 0.12 ) end , set = function ( v ) for _ , i in ipairs ( axis == 2 and { 1 , 2 } or { 4 } ) do local d = w . data . mixer_input . inputs [ i ] ; d . min , d . max = - H . round ( v / 0.12 ) , H . round ( v / 0.12 ) end ; w : touch ( \"mixer_input\" , false , true ) end }"
            },
            {
              "kind": "MSP write",
              "label": "mixer_input.min",
              "api": "mixer_input",
              "field": "min",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "d . min ,"
            },
            {
              "kind": "MSP write",
              "label": "mixer_input.max",
              "api": "mixer_input",
              "field": "max",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "d . max ="
            }
          ]
        },
        {
          "title": "Total (deg)",
          "title_expression": "L . totalLimit",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepPitch.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "mixer_config.swash_pitch_limit",
              "api": "mixer_config",
              "field": "swash_pitch_limit",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "w : field ( \"mixer_config\" , \"swash_pitch_limit\" , H . round ( v / 0.12 ) , false , true )"
            },
            {
              "kind": "pilot sets",
              "label": "Total (deg)",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "{ kind = \"number\" , label = L . totalLimit , min = 0 , max = 360 , divisor = 10 , get = function ( ) return H . round ( w . data . mixer_config . swash_pitch_limit * 0.12 ) end , set = function ( v ) w : field ( \"mixer_config\" , \"swash_pitch_limit\" , H . round ( v / 0.12 ) , false , true ) end }"
            }
          ]
        },
        {
          "title": "Full-stick collective",
          "title_expression": "L . fullStick",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepPitch.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "rc_tuning (record/payload)",
              "api": "rc_tuning",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "w : touch ( \"rc_tuning\" )"
            },
            {
              "kind": "pilot sets",
              "label": "Rate profile {n}",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "{ kind = \"number\" , label = string . format ( L . rateProfileTitle , index + 1 ) , min = 0 , max = 250 , divisor = 10 , display = function ( v ) if not ( w . pitchFull and w . pitchFull [ index ] ) then return \"--\" end return string . format ( \"%.1f\" , v / 10 ) end , get = function ( ) return H . round ( ( ( w . pitchFull and w . pitchFull [ index ] ) or 0 ) * 10 ) end , set = function ( v ) if not ( w . pitchFull and w . pitchFull [ index ] ) then return end w . pitchFull [ index ] = v / 10 w . pitchFullChanged = w . pitchFullChanged or { } ; w . pitchFullChanged [ index ] = true w : touch ( \"rc_tuning\" ) end , enabled = function ( ) return w . pitchFull ~= nil and w . pitchFull [ index ] ~= nil end }"
            }
          ]
        },
        {
          "title": "End stops",
          "title_expression": "L . bindingTitle",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepPitch.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot confirms",
              "label": "Full travel without binding",
              "api": null,
              "field": "pitch",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "w : check ( \"pitch\" , L . noBinding )"
            },
            {
              "kind": "gate",
              "label": "ack pitch",
              "api": null,
              "field": "pitch",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "w : ack ( \"pitch\" )"
            },
            {
              "kind": "gate",
              "label": "validation",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepPitch.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/pitch.lua",
              "expression": "validate = function ( ) return w : ack ( \"pitch\" ) end"
            }
          ]
        }
      ],
      "msp_reads": [
        "rc_tuning",
        "status",
        "servo"
      ],
      "msp_writes": [
        "mixer_override",
        "set_pid_profile",
        "rc_tuning",
        "mixer_input",
        "mixer_input.rate",
        "mixer_input.min",
        "mixer_input.max",
        "mixer_config.swash_pitch_limit"
      ],
      "configurator_status": [
        "same"
      ]
    },
    {
      "number": 17,
      "id": "tail",
      "title": "Tail rotor",
      "phase": "D",
      "cards": [
        {
          "title": "Tail motor",
          "title_expression": "L . cardTailMotor",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepTail.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot confirms",
              "label": "All blades removed",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepTail.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
              "expression": "{ kind = \"toggle\" , label = L . bladesRemoved , values = { L . no , L . yes } , get = function ( ) return w . bladesOff and 2 or 1 end , set = function ( v ) w . bladesOff = v == 2 ; if v == 1 then w : stopMotor ( ) end end }"
            },
            {
              "kind": "pilot sets",
              "label": "Power (%)",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepTail.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
              "expression": "{ kind = \"number\" , label = L . powerPercent , min = 5 , max = 50 , get = function ( ) return w . percent end , set = function ( v ) w . percent = v end }"
            },
            {
              "kind": "MSP write",
              "label": "motor_override.index",
              "api": "motor_override",
              "field": "index",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : write ( \"motor_override\" , { index = 0 , value = 0 } )"
            },
            {
              "kind": "MSP write",
              "label": "motor_override.value",
              "api": "motor_override",
              "field": "value",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : write ( \"motor_override\" , { index = 0 , value = 0 } )"
            },
            {
              "kind": "MSP write",
              "label": "motor_override.index",
              "api": "motor_override",
              "field": "index",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : write ( \"motor_override\" , { index = 1 , value = 0 } )"
            },
            {
              "kind": "MSP write",
              "label": "motor_override.value",
              "api": "motor_override",
              "field": "value",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "self : write ( \"motor_override\" , { index = 1 , value = 0 } )"
            },
            {
              "kind": "MSP write",
              "label": "MSP mixer_override",
              "api": "mixer_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"mixer\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "MSP write",
              "label": "MSP mixer_override",
              "api": "mixer_override",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/MainMotorTest.svelte",
                "tabs/setup_wizard/MotorCheck.svelte",
                "tabs/setup_wizard/RebootLater.svelte",
                "tabs/setup_wizard/SetupWizard.svelte",
                "tabs/setup_wizard/TailMotorTest.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "{ api = \"mixer\" .. \"_override\" , write = true , override = true , data = d }",
              "scope": "deferred hold in tick"
            },
            {
              "kind": "MSP write",
              "label": "mixer_input (record/payload)",
              "api": "mixer_input",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/features.svelte.js",
                "tabs/configuration/util.js",
                "tabs/governor/state.svelte.js",
                "tabs/motors/state.svelte.js",
                "tabs/receiver/channelPresets.js",
                "tabs/receiver/protocols.js"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/forms.lua",
              "expression": "self : touch ( \"mixer_input\" , false , true )"
            },
            {
              "kind": "MSP write",
              "label": "mixer_input.rate",
              "api": "mixer_input",
              "field": "rate",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "js/features.svelte.js",
                "tabs/configuration/util.js",
                "tabs/governor/state.svelte.js",
                "tabs/motors/state.svelte.js",
                "tabs/receiver/channelPresets.js",
                "tabs/receiver/protocols.js"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/forms.lua",
              "expression": "r . rate ="
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP servo",
              "api": "servo",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP motor",
              "api": "motor",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP rc_command",
              "api": "rc_command",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            }
          ]
        },
        {
          "title": "Tail motor idle",
          "title_expression": "L . tailIdle",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepTail.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot sets",
              "label": "Idle (%)",
              "api": "mixer_config",
              "field": "tail_motor_idle",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepTail.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
              "expression": "w : n ( \"mixer_config\" , \"tail_motor_idle\" , L . idlePercent , 0 , 250 , false , true , 10 )"
            },
            {
              "kind": "MSP write",
              "label": "mixer_config.tail_motor_idle",
              "api": "mixer_config",
              "field": "tail_motor_idle",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepTail.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
              "expression": "w : n ( \"mixer_config\" , \"tail_motor_idle\" , L . idlePercent , 0 , 250 , false , true , 10 )"
            },
            {
              "kind": "MSP write",
              "label": "mixer_config.tail_motor_idle",
              "api": "mixer_config",
              "field": "tail_motor_idle",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepTail.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
              "expression": "w : field ( \"mixer_config\" , \"tail_motor_idle\" , math . min ( w . percent * 10 , 250 ) , false , true )"
            },
            {
              "kind": "gate",
              "label": "reboot pending",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepTail.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
              "expression": "rebootPending"
            }
          ]
        },
        {
          "title": "Tail centre",
          "title_expression": "L . tailCentre",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepTail.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "mixer_config.tail_center_trim",
              "api": "mixer_config",
              "field": "tail_center_trim",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepTail.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
              "expression": "w : field ( \"mixer_config\" , \"tail_center_trim\" , w . math . round ( v / 0.24 ) , false , true )"
            },
            {
              "kind": "pilot confirms",
              "label": "Tail neutral pitch checked",
              "api": null,
              "field": "tailCentre",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepTail.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
              "expression": "w : check ( \"tailCentre\" , L . tailCentred )"
            },
            {
              "kind": "pilot sets",
              "label": "Centre trim (deg)",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepTail.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
              "expression": "{ kind = \"number\" , label = L . centreDegrees , min = - 250 , max = 250 , divisor = 10 , get = function ( ) return w . math . round ( w . data . mixer_config . tail_center_trim * 0.24 ) end , set = function ( v ) w : field ( \"mixer_config\" , \"tail_center_trim\" , w . math . round ( v / 0.24 ) , false , true ) end }"
            }
          ]
        },
        {
          "title": "Tail control direction",
          "title_expression": "L . tailDirection",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepTail.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Give yaw right",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepTail.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
              "expression": "w : value ( L . inputYaw , function ( ) return w : stickNow ( 3 ) end )"
            },
            {
              "kind": "pilot confirms",
              "label": "Direction is correct",
              "api": null,
              "field": "tailDirection",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepTail.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
              "expression": "w : check ( \"tailDirection\" , L . directionCorrect )"
            }
          ]
        },
        {
          "title": "Tail pitch calibration",
          "title_expression": "L . tailCalibration",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepTail.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "mixer_input (record/payload)",
              "api": "mixer_input",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepTail.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
              "expression": "w : touch ( \"mixer_input\" , false , true )"
            },
            {
              "kind": "pilot sets",
              "label": "Mixer rate (%)",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepTail.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
              "expression": "{ kind = \"number\" , label = L . ratePercent , min = 100 , max = 5000 , divisor = 10 , get = function ( ) return math . abs ( w . data . mixer_input . inputs [ 3 ] . rate ) end , set = function ( v ) local input = w . data . mixer_input . inputs [ 3 ] ; input . rate = ( input . rate < 0 and - 1 or 1 ) * v w : touch ( \"mixer_input\" , false , true ) end }"
            },
            {
              "kind": "MSP write",
              "label": "mixer_input.rate",
              "api": "mixer_input",
              "field": "rate",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepTail.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
              "expression": "input . rate ="
            }
          ]
        },
        {
          "title": "Tail pitch limits",
          "title_expression": "L . tailLimits",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepTail.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "MSP write",
              "label": "mixer_input (record/payload)",
              "api": "mixer_input",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepTail.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
              "expression": "w : touch ( \"mixer_input\" , false , true )"
            },
            {
              "kind": "gate",
              "label": "ack tailCentre",
              "api": null,
              "field": "tailCentre",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepTail.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
              "expression": "w : ack ( \"tailCentre\" )"
            },
            {
              "kind": "gate",
              "label": "ack tailDirection",
              "api": null,
              "field": "tailDirection",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepTail.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
              "expression": "w : ack ( \"tailDirection\" )"
            },
            {
              "kind": "pilot sets",
              "label": "CW limit (deg)",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepTail.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
              "expression": "{ kind = \"number\" , label = L . clockwiseDegrees , min = 0 , max = 600 , divisor = 10 , get = function ( ) return w . math . round ( - w . data . mixer_input . inputs [ 3 ] . min * 0.24 ) end , set = function ( v ) w . data . mixer_input . inputs [ 3 ] . min = - w . math . round ( v / 0.24 ) ; w : touch ( \"mixer_input\" , false , true ) end }"
            },
            {
              "kind": "pilot sets",
              "label": "CCW limit (deg)",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepTail.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
              "expression": "{ kind = \"number\" , label = L . counterclockwiseDegrees , min = 0 , max = 600 , divisor = 10 , get = function ( ) return w . math . round ( w . data . mixer_input . inputs [ 3 ] . max * 0.24 ) end , set = function ( v ) w . data . mixer_input . inputs [ 3 ] . max = w . math . round ( v / 0.24 ) ; w : touch ( \"mixer_input\" , false , true ) end }"
            },
            {
              "kind": "gate",
              "label": "validation",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepTail.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/tail.lua",
              "expression": "validate = function ( ) return w : ack ( \"tailCentre\" ) and w : ack ( \"tailDirection\" ) end"
            }
          ]
        }
      ],
      "msp_reads": [
        "status",
        "servo",
        "motor",
        "rc_command"
      ],
      "msp_writes": [
        "motor_override.index",
        "motor_override.value",
        "mixer_override",
        "mixer_input",
        "mixer_input.rate",
        "mixer_config.tail_motor_idle",
        "mixer_config.tail_center_trim"
      ],
      "configurator_status": [
        "same"
      ]
    },
    {
      "number": 18,
      "id": "gyro",
      "title": "Gyro check",
      "phase": "D",
      "cards": [
        {
          "title": "Roll",
          "title_expression": "L . roll",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/gyro.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepGyro.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot confirms",
              "label": "Counters movement",
              "api": null,
              "field": "gyro1",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGyro.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/gyro.lua",
              "expression": "w : check ( \"gyro1\" , L . againstMovement )"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP servo",
              "api": "servo",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            }
          ]
        },
        {
          "title": "Pitch",
          "title_expression": "L . pitch",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/gyro.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepGyro.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot confirms",
              "label": "Counters movement",
              "api": null,
              "field": "gyro2",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGyro.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/gyro.lua",
              "expression": "w : check ( \"gyro2\" , L . againstMovement )"
            }
          ]
        },
        {
          "title": "Yaw",
          "title_expression": "L . yaw",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/gyro.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepGyro.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "pilot confirms",
              "label": "Counters movement",
              "api": null,
              "field": "gyro3",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGyro.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/gyro.lua",
              "expression": "w : check ( \"gyro3\" , L . againstMovement )"
            },
            {
              "kind": "gate",
              "label": "ack gyro1",
              "api": null,
              "field": "gyro1",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGyro.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/gyro.lua",
              "expression": "w : ack ( \"gyro1\" )"
            },
            {
              "kind": "gate",
              "label": "ack gyro2",
              "api": null,
              "field": "gyro2",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGyro.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/gyro.lua",
              "expression": "w : ack ( \"gyro2\" )"
            },
            {
              "kind": "gate",
              "label": "ack gyro3",
              "api": null,
              "field": "gyro3",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGyro.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/gyro.lua",
              "expression": "w : ack ( \"gyro3\" )"
            },
            {
              "kind": "gate",
              "label": "validation",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepGyro.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/gyro.lua",
              "expression": "validate = function ( ) return w : ack ( \"gyro1\" ) and w : ack ( \"gyro2\" ) and ( w : motorised ( ) or w : ack ( \"gyro3\" ) ) end"
            }
          ]
        }
      ],
      "msp_reads": [
        "status",
        "servo"
      ],
      "msp_writes": [],
      "configurator_status": [
        "same"
      ]
    },
    {
      "number": 19,
      "id": "finish",
      "title": "Finish",
      "phase": "D",
      "cards": [
        {
          "title": "Swashplate and tail",
          "title_expression": "L . cardFinishGeometry",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepFinish.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "gate",
              "label": "ack finish",
              "api": null,
              "field": "finish",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepFinish.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua",
              "expression": "w : ack ( \"finish\" )"
            },
            {
              "kind": "read",
              "label": "Swash type",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepFinish.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua",
              "expression": "w : value ( L . swashType , function ( ) return ( { L . none , L . direct , \"120\" , \"135\" , \"140\" , \"90L\" , \"90V\" } ) [ w . data . mixer_config . swash_type + 1 ] or L . unknown end )"
            },
            {
              "kind": "read",
              "label": "Rotor direction",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepFinish.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua",
              "expression": "w : value ( L . rotorDirection , function ( ) return w . data . mixer_config . main_rotor_dir == 0 and L . clockwise or L . counterclockwise end )"
            },
            {
              "kind": "read",
              "label": "Tail type",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepFinish.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua",
              "expression": "w : value ( L . tailType , function ( ) return ( { L . servoTail , L . motorTail , L . bidirectional } ) [ w . data . mixer_config . tail_rotor_mode + 1 ] end )"
            },
            {
              "kind": "read",
              "label": "Collective (deg)",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepFinish.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua",
              "expression": "w : value ( L . collectiveLimit , function ( ) return string . format ( \"%.1f°\" , w . data . mixer_input . inputs [ 4 ] . max * 0.012 ) end )"
            },
            {
              "kind": "gate",
              "label": "validation",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepFinish.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua",
              "expression": "validate = function ( ) return w : ack ( \"finish\" ) end"
            },
            {
              "kind": "read",
              "label": "MSP status",
              "api": "status",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            },
            {
              "kind": "read",
              "label": "MSP servo",
              "api": "servo",
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/controller.lua",
              "expression": "w:poll",
              "scope": "live poll"
            }
          ]
        },
        {
          "title": "Motor and governor",
          "title_expression": "L . cardFinishDrive",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepFinish.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Cyclic (deg)",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepFinish.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua",
              "expression": "w : value ( L . cyclicLimit , function ( ) return string . format ( \"%.1f°\" , w . data . mixer_input . inputs [ 2 ] . max * 0.012 ) end )"
            },
            {
              "kind": "read",
              "label": "Protocol",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepFinish.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua",
              "expression": "w : value ( L . protocol , function ( ) return protocol ( motorProtocols , w . data . motor_config . motor_pwm_protocol ) end )"
            },
            {
              "kind": "read",
              "label": "ESC telemetry",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepFinish.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua",
              "expression": "w : value ( L . escTelemetry , function ( ) return w . data . motor_config . motor_pwm_protocol == 9 and \"Castle Link\" or protocol ( telemetryProtocols , w . data . esc_sensor_config . protocol ) end )"
            },
            {
              "kind": "read",
              "label": "Governor",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepFinish.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua",
              "expression": "w : value ( L . governor , function ( ) if ( w . data . feature_config . enabledFeatures & ( 1 << 26 ) ) == 0 then return L . off end return ( { L . off , L . limit , L . direct , L . electric , L . nitro } ) [ w . data . governor_config . gov_mode + 1 ] or L . unknown end )"
            }
          ]
        },
        {
          "title": "Safety check",
          "title_expression": "L . cardFinishSafety",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepFinish.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Throttle Type",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepFinish.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua",
              "expression": "w : value ( L . throttleType , function ( ) return ( { L . normal , L . switch , L . functionMode } ) [ w . data . governor_config . gov_throttle_type + 1 ] or L . unknown end )"
            },
            {
              "kind": "read",
              "label": "Fast RPM source",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepFinish.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua",
              "expression": "w : value ( L . fastRpm , function ( ) return w : fastRpm ( ) and L . available or L . rpmMissing end )"
            },
            {
              "kind": "read",
              "label": "Arm switch",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepFinish.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua",
              "expression": "w : value ( L . arm , function ( ) for _ , r in ipairs ( w . data . mode_ranges . mode_ranges ) do if r . id == 0 and r . range . start < r . range [ \"end\" ] then return L . assigned end end return L . armRequired end )"
            },
            {
              "kind": "pilot confirms",
              "label": "Final checks understood",
              "api": null,
              "field": "finish",
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepFinish.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua",
              "expression": "w : check ( \"finish\" , L . finalCheck )"
            }
          ]
        },
        {
          "title": "Before the first flight",
          "title_expression": "L . finishBeforeTitle",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepFinish.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": []
        },
        {
          "title": "Throttle range",
          "title_expression": "L . cardFinishRanges",
          "source": "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua",
          "configurator_reference": [
            "tabs/setup_wizard/StepFinish.svelte"
          ],
          "configurator_status": [
            "same"
          ],
          "additions": [],
          "rows": [
            {
              "kind": "read",
              "label": "Throttle range",
              "api": null,
              "field": null,
              "deviation": false,
              "configurator_status": [
                "same"
              ],
              "configurator_reference": [
                "tabs/setup_wizard/StepFinish.svelte"
              ],
              "additions": [],
              "source": "src/rfsuite/app/pages/helicopter_setup/steps/finish.lua",
              "expression": "w : value ( L . throttleRange , function ( ) return w . rangeSource == \"esc_link\" and L . rangeViaLink or w . rangeSource == \"asserted\" and L . rangeByPilot or w . rangeSource == \"calibrated\" and L . rangeCalibrated or L . unknown end )"
            }
          ]
        }
      ],
      "msp_reads": [
        "status",
        "servo"
      ],
      "msp_writes": [],
      "configurator_status": [
        "same"
      ]
    }
  ]
}
