@@ -553,6 +553,49 @@ export default defineComponent({
553553 const pilotName = ref (" " );
554554 const showPilotName = ref (false );
555555
556+ const armingConfig = reactive ({
557+ small_angle: 25 ,
558+ gyro_cal_on_first_arm_bool: false ,
559+ auto_disarm_delay: 0 ,
560+ });
561+
562+ const accelTrims = reactive ({
563+ roll: 0 ,
564+ pitch: 0 ,
565+ });
566+
567+ const sensorAlignment = reactive ({
568+ gyro_to_use: 0 ,
569+ gyro_1_align: 0 ,
570+ gyro_2_align: 0 ,
571+ align_mag: 0 ,
572+ });
573+
574+ const magDeclination = ref (0 );
575+ const showGyroCalOnFirstArm = ref (false );
576+ const showAutoDisarmDelay = ref (false );
577+ const hasSecondGyro = ref (false );
578+ const hasDualGyros = ref (false );
579+ const showGyro1Align = ref (false );
580+ const showGyro2Align = ref (false );
581+ const showMagAlign = ref (false );
582+ const showOtherSensors = ref (false );
583+ const showMagDeclination = ref (false );
584+ const showRangefinder = ref (false );
585+ const showOpticalFlow = ref (false );
586+ const sonarTypesList = ref ([]);
587+ const opticalFlowTypesList = ref ([]);
588+ const sensorAlignments = ref ([
589+ " CW 0°" ,
590+ " CW 90°" ,
591+ " CW 180°" ,
592+ " CW 270°" ,
593+ " CW 0° flip" ,
594+ " CW 90° flip" ,
595+ " CW 180° flip" ,
596+ " CW 270° flip" ,
597+ ]);
598+
556599 // Features & Beepers State wrapper
557600 const featuresList = computed (() => {
558601 if (! FC .FEATURE_CONFIG ? .features ? ._features ) return [];
0 commit comments