Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / plugins / config / revosensors.ui
blob3bfab0ebcc76199d8a3e598700d3ed5018b54223
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>RevoSensorsWidget</class>
4 <widget class="QWidget" name="RevoSensorsWidget">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>954</width>
10 <height>726</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Form</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout">
17 <item>
18 <widget class="QTabWidget" name="tabWidget">
19 <property name="autoFillBackground">
20 <bool>true</bool>
21 </property>
22 <property name="currentIndex">
23 <number>0</number>
24 </property>
25 <widget class="QWidget" name="calibrationTab">
26 <property name="autoFillBackground">
27 <bool>true</bool>
28 </property>
29 <attribute name="title">
30 <string>Calibration</string>
31 </attribute>
32 <layout class="QVBoxLayout" name="verticalLayout_11">
33 <property name="spacing">
34 <number>6</number>
35 </property>
36 <property name="leftMargin">
37 <number>12</number>
38 </property>
39 <property name="topMargin">
40 <number>12</number>
41 </property>
42 <property name="rightMargin">
43 <number>12</number>
44 </property>
45 <property name="bottomMargin">
46 <number>12</number>
47 </property>
48 <item>
49 <layout class="QHBoxLayout" name="horizontalLayout">
50 <property name="spacing">
51 <number>6</number>
52 </property>
53 <property name="leftMargin">
54 <number>0</number>
55 </property>
56 <property name="topMargin">
57 <number>0</number>
58 </property>
59 <property name="rightMargin">
60 <number>0</number>
61 </property>
62 <property name="bottomMargin">
63 <number>0</number>
64 </property>
65 <item>
66 <widget class="QGraphicsView" name="calibrationVisualHelp">
67 <property name="sizePolicy">
68 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
69 <horstretch>0</horstretch>
70 <verstretch>0</verstretch>
71 </sizepolicy>
72 </property>
73 <property name="frameShape">
74 <enum>QFrame::NoFrame</enum>
75 </property>
76 <property name="lineWidth">
77 <number>0</number>
78 </property>
79 <property name="verticalScrollBarPolicy">
80 <enum>Qt::ScrollBarAlwaysOff</enum>
81 </property>
82 <property name="horizontalScrollBarPolicy">
83 <enum>Qt::ScrollBarAlwaysOff</enum>
84 </property>
85 <property name="sizeAdjustPolicy">
86 <enum>QAbstractScrollArea::AdjustToContents</enum>
87 </property>
88 <property name="interactive">
89 <bool>false</bool>
90 </property>
91 </widget>
92 </item>
93 <item>
94 <layout class="QVBoxLayout" name="verticalLayout_2">
95 <property name="spacing">
96 <number>6</number>
97 </property>
98 <property name="leftMargin">
99 <number>0</number>
100 </property>
101 <property name="topMargin">
102 <number>0</number>
103 </property>
104 <property name="rightMargin">
105 <number>0</number>
106 </property>
107 <property name="bottomMargin">
108 <number>0</number>
109 </property>
110 <item>
111 <widget class="QGroupBox" name="accelCalGroupBox">
112 <property name="title">
113 <string>Accelerometer calibration</string>
114 </property>
115 <layout class="QHBoxLayout" name="horizontalLayout_4">
116 <item>
117 <widget class="QPushButton" name="accelStart">
118 <property name="enabled">
119 <bool>true</bool>
120 </property>
121 <property name="toolTip">
122 <string>Launch accelerometer range and bias calibration.</string>
123 </property>
124 <property name="text">
125 <string>Start</string>
126 </property>
127 </widget>
128 </item>
129 <item>
130 <widget class="QProgressBar" name="accelProgress">
131 <property name="value">
132 <number>0</number>
133 </property>
134 </widget>
135 </item>
136 <item>
137 <widget class="QPushButton" name="accelSavePos">
138 <property name="enabled">
139 <bool>true</bool>
140 </property>
141 <property name="toolTip">
142 <string>Save settings (only enabled when calibration is running)</string>
143 </property>
144 <property name="text">
145 <string>Save Position</string>
146 </property>
147 </widget>
148 </item>
149 </layout>
150 </widget>
151 </item>
152 <item>
153 <widget class="QGroupBox" name="magCalGroupBox">
154 <property name="title">
155 <string>Magnetometer calibration</string>
156 </property>
157 <layout class="QHBoxLayout" name="horizontalLayout_3">
158 <item>
159 <widget class="QPushButton" name="magStart">
160 <property name="enabled">
161 <bool>true</bool>
162 </property>
163 <property name="toolTip">
164 <string>Launch magnetometer range and bias calibration.</string>
165 </property>
166 <property name="text">
167 <string>Start</string>
168 </property>
169 </widget>
170 </item>
171 <item>
172 <widget class="QProgressBar" name="magProgress">
173 <property name="value">
174 <number>0</number>
175 </property>
176 </widget>
177 </item>
178 <item>
179 <widget class="QPushButton" name="magSavePos">
180 <property name="enabled">
181 <bool>true</bool>
182 </property>
183 <property name="text">
184 <string>Save Position</string>
185 </property>
186 </widget>
187 </item>
188 </layout>
189 </widget>
190 </item>
191 <item>
192 <widget class="QGroupBox" name="boardLevelCalGroupBox">
193 <property name="title">
194 <string>Board level calibration</string>
195 </property>
196 <layout class="QHBoxLayout">
197 <item>
198 <widget class="QPushButton" name="boardLevelStart">
199 <property name="enabled">
200 <bool>true</bool>
201 </property>
202 <property name="text">
203 <string>Start</string>
204 </property>
205 </widget>
206 </item>
207 <item>
208 <widget class="QProgressBar" name="boardLevelProgress">
209 <property name="value">
210 <number>0</number>
211 </property>
212 <property name="textVisible">
213 <bool>true</bool>
214 </property>
215 </widget>
216 </item>
217 <item>
218 <widget class="QPushButton" name="boardLevelSavePos">
219 <property name="enabled">
220 <bool>true</bool>
221 </property>
222 <property name="text">
223 <string>Save Position</string>
224 </property>
225 </widget>
226 </item>
227 </layout>
228 </widget>
229 </item>
230 <item>
231 <widget class="QGroupBox" name="gyroBiasGroupBox">
232 <property name="title">
233 <string>Gyro bias calibration</string>
234 </property>
235 <layout class="QHBoxLayout">
236 <item>
237 <widget class="QPushButton" name="gyroBiasStart">
238 <property name="enabled">
239 <bool>true</bool>
240 </property>
241 <property name="sizePolicy">
242 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
243 <horstretch>0</horstretch>
244 <verstretch>0</verstretch>
245 </sizepolicy>
246 </property>
247 <property name="text">
248 <string>Start</string>
249 </property>
250 </widget>
251 </item>
252 <item>
253 <widget class="QProgressBar" name="gyroBiasProgress">
254 <property name="minimumSize">
255 <size>
256 <width>300</width>
257 <height>0</height>
258 </size>
259 </property>
260 <property name="maximumSize">
261 <size>
262 <width>16777215</width>
263 <height>16777215</height>
264 </size>
265 </property>
266 <property name="value">
267 <number>0</number>
268 </property>
269 <property name="textVisible">
270 <bool>true</bool>
271 </property>
272 </widget>
273 </item>
274 </layout>
275 </widget>
276 </item>
277 <item>
278 <widget class="QGroupBox" name="thermalCalGroupBox">
279 <property name="title">
280 <string>Thermal calibration</string>
281 </property>
282 <layout class="QVBoxLayout">
283 <item>
284 <layout class="QHBoxLayout" name="horizontalLayout_thermalbias2">
285 <item>
286 <widget class="QPushButton" name="thermalBiasStart">
287 <property name="enabled">
288 <bool>true</bool>
289 </property>
290 <property name="text">
291 <string>Start</string>
292 </property>
293 </widget>
294 </item>
295 <item>
296 <widget class="QProgressBar" name="thermalBiasProgress">
297 <property name="minimumSize">
298 <size>
299 <width>300</width>
300 <height>0</height>
301 </size>
302 </property>
303 <property name="maximumSize">
304 <size>
305 <width>16777215</width>
306 <height>16777215</height>
307 </size>
308 </property>
309 <property name="value">
310 <number>0</number>
311 </property>
312 <property name="textVisible">
313 <bool>true</bool>
314 </property>
315 </widget>
316 </item>
317 <item>
318 <widget class="QPushButton" name="thermalBiasEnd">
319 <property name="enabled">
320 <bool>true</bool>
321 </property>
322 <property name="text">
323 <string>End</string>
324 </property>
325 </widget>
326 </item>
327 <item>
328 <widget class="QPushButton" name="thermalBiasCancel">
329 <property name="enabled">
330 <bool>true</bool>
331 </property>
332 <property name="text">
333 <string>Cancel</string>
334 </property>
335 </widget>
336 </item>
337 </layout>
338 </item>
339 <item>
340 <layout class="QHBoxLayout" name="horizontalLayout_2">
341 <property name="spacing">
342 <number>12</number>
343 </property>
344 <property name="leftMargin">
345 <number>0</number>
346 </property>
347 <property name="topMargin">
348 <number>0</number>
349 </property>
350 <item>
351 <widget class="QLabel" name="temperatureLabel">
352 <property name="sizePolicy">
353 <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
354 <horstretch>0</horstretch>
355 <verstretch>0</verstretch>
356 </sizepolicy>
357 </property>
358 <property name="font">
359 <font>
360 <weight>50</weight>
361 <bold>false</bold>
362 </font>
363 </property>
364 <property name="text">
365 <string>&lt;temperature&gt;</string>
366 </property>
367 </widget>
368 </item>
369 <item>
370 <widget class="QLabel" name="temperatureGradientLabel">
371 <property name="sizePolicy">
372 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
373 <horstretch>0</horstretch>
374 <verstretch>0</verstretch>
375 </sizepolicy>
376 </property>
377 <property name="text">
378 <string>&lt;gradient&gt;</string>
379 </property>
380 </widget>
381 </item>
382 <item>
383 <widget class="QLabel" name="temperatureRangeLabel">
384 <property name="text">
385 <string>&lt;range&gt;</string>
386 </property>
387 </widget>
388 </item>
389 <item>
390 <spacer name="horizontalSpacer_3">
391 <property name="orientation">
392 <enum>Qt::Horizontal</enum>
393 </property>
394 <property name="sizeHint" stdset="0">
395 <size>
396 <width>40</width>
397 <height>20</height>
398 </size>
399 </property>
400 </spacer>
401 </item>
402 </layout>
403 </item>
404 </layout>
405 </widget>
406 </item>
407 <item>
408 <widget class="QTextEdit" name="calibrationInstructions">
409 <property name="sizePolicy">
410 <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
411 <horstretch>0</horstretch>
412 <verstretch>0</verstretch>
413 </sizepolicy>
414 </property>
415 <property name="font">
416 <font>
417 <pointsize>10</pointsize>
418 <weight>50</weight>
419 <bold>false</bold>
420 </font>
421 </property>
422 <property name="toolTip">
423 <string>Calibration status</string>
424 </property>
425 <property name="frameShape">
426 <enum>QFrame::StyledPanel</enum>
427 </property>
428 <property name="verticalScrollBarPolicy">
429 <enum>Qt::ScrollBarAlwaysOn</enum>
430 </property>
431 <property name="horizontalScrollBarPolicy">
432 <enum>Qt::ScrollBarAlwaysOff</enum>
433 </property>
434 <property name="sizeAdjustPolicy">
435 <enum>QAbstractScrollArea::AdjustIgnored</enum>
436 </property>
437 <property name="html">
438 <string notr="true">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
439 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
440 p, li { white-space: pre-wrap; }
441 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
442 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-weight:600;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
443 </property>
444 <property name="textInteractionFlags">
445 <set>Qt::NoTextInteraction</set>
446 </property>
447 </widget>
448 </item>
449 </layout>
450 </item>
451 </layout>
452 </item>
453 <item>
454 <spacer name="verticalSpacer_4">
455 <property name="orientation">
456 <enum>Qt::Vertical</enum>
457 </property>
458 <property name="sizeHint" stdset="0">
459 <size>
460 <width>20</width>
461 <height>40</height>
462 </size>
463 </property>
464 </spacer>
465 </item>
466 </layout>
467 </widget>
468 <widget class="QWidget" name="settingsTab">
469 <property name="autoFillBackground">
470 <bool>true</bool>
471 </property>
472 <attribute name="title">
473 <string>Settings</string>
474 </attribute>
475 <layout class="QVBoxLayout" name="verticalLayout_6">
476 <item>
477 <layout class="QGridLayout" name="gridLayout_4">
478 <property name="leftMargin">
479 <number>6</number>
480 </property>
481 <property name="topMargin">
482 <number>6</number>
483 </property>
484 <property name="rightMargin">
485 <number>6</number>
486 </property>
487 <property name="bottomMargin">
488 <number>6</number>
489 </property>
490 <item row="0" column="1">
491 <widget class="QGroupBox" name="groupBox">
492 <property name="sizePolicy">
493 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
494 <horstretch>0</horstretch>
495 <verstretch>0</verstretch>
496 </sizepolicy>
497 </property>
498 <property name="title">
499 <string>Home Location</string>
500 </property>
501 <property name="alignment">
502 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
503 </property>
504 <layout class="QGridLayout" name="gridLayout_2">
505 <property name="sizeConstraint">
506 <enum>QLayout::SetDefaultConstraint</enum>
507 </property>
508 <item row="2" column="3">
509 <widget class="QLabel" name="label_10">
510 <property name="text">
511 <string>Gravity acceleration:</string>
512 </property>
513 </widget>
514 </item>
515 <item row="1" column="0">
516 <widget class="QLabel" name="label_2">
517 <property name="text">
518 <string>Latitude:</string>
519 </property>
520 </widget>
521 </item>
522 <item row="2" column="5">
523 <widget class="QLineEdit" name="geBox">
524 <property name="alignment">
525 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
526 </property>
527 <property name="readOnly">
528 <bool>true</bool>
529 </property>
530 <property name="objrelation" stdset="0">
531 <stringlist notr="true">
532 <string>objname:HomeLocation</string>
533 <string>fieldname:g_e</string>
534 </stringlist>
535 </property>
536 </widget>
537 </item>
538 <item row="1" column="2">
539 <widget class="QLineEdit" name="lattitudeBox">
540 <property name="alignment">
541 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
542 </property>
543 <property name="readOnly">
544 <bool>true</bool>
545 </property>
546 <property name="objrelation" stdset="0">
547 <stringlist notr="true">
548 <string>objname:HomeLocation</string>
549 <string>fieldname:Latitude</string>
550 </stringlist>
551 </property>
552 </widget>
553 </item>
554 <item row="1" column="5">
555 <widget class="QLineEdit" name="beBox">
556 <property name="alignment">
557 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
558 </property>
559 <property name="readOnly">
560 <bool>true</bool>
561 </property>
562 </widget>
563 </item>
564 <item row="3" column="0">
565 <widget class="QLabel" name="label_8">
566 <property name="text">
567 <string>Altitude:</string>
568 </property>
569 </widget>
570 </item>
571 <item row="3" column="2">
572 <widget class="QLineEdit" name="altitudeBox">
573 <property name="alignment">
574 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
575 </property>
576 <property name="readOnly">
577 <bool>true</bool>
578 </property>
579 <property name="objrelation" stdset="0">
580 <stringlist notr="true">
581 <string>objname:HomeLocation</string>
582 <string>fieldname:Altitude</string>
583 </stringlist>
584 </property>
585 </widget>
586 </item>
587 <item row="1" column="3">
588 <widget class="QLabel" name="label_9">
589 <property name="text">
590 <string>Magnetic field vector:</string>
591 </property>
592 </widget>
593 </item>
594 <item row="0" column="0" colspan="6">
595 <widget class="QLabel" name="label_11">
596 <property name="text">
597 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This information must be set to enable calibration the Revolution controller's sensors. &lt;br/&gt;Set home location using context menu in the map widget.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
598 </property>
599 </widget>
600 </item>
601 <item row="2" column="2">
602 <widget class="QLineEdit" name="longitudeBox">
603 <property name="alignment">
604 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
605 </property>
606 <property name="readOnly">
607 <bool>true</bool>
608 </property>
609 <property name="objrelation" stdset="0">
610 <stringlist notr="true">
611 <string>objname:HomeLocation</string>
612 <string>fieldname:Longitude</string>
613 </stringlist>
614 </property>
615 </widget>
616 </item>
617 <item row="3" column="5">
618 <widget class="QCheckBox" name="isSetCheckBox">
619 <property name="enabled">
620 <bool>false</bool>
621 </property>
622 <property name="text">
623 <string>Is Set</string>
624 </property>
625 <property name="checkable">
626 <bool>true</bool>
627 </property>
628 <property name="objrelation" stdset="0">
629 <stringlist notr="true">
630 <string>objname:HomeLocation</string>
631 <string>fieldname:Set</string>
632 </stringlist>
633 </property>
634 </widget>
635 </item>
636 <item row="2" column="0">
637 <widget class="QLabel" name="label_4">
638 <property name="text">
639 <string>Longitude:</string>
640 </property>
641 </widget>
642 </item>
643 <item row="5" column="5" alignment="Qt::AlignRight">
644 <widget class="QPushButton" name="hlClearButton">
645 <property name="sizePolicy">
646 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
647 <horstretch>0</horstretch>
648 <verstretch>0</verstretch>
649 </sizepolicy>
650 </property>
651 <property name="text">
652 <string>Clear</string>
653 </property>
654 </widget>
655 </item>
656 <item row="4" column="5">
657 <spacer name="verticalSpacer_3">
658 <property name="orientation">
659 <enum>Qt::Vertical</enum>
660 </property>
661 <property name="sizeHint" stdset="0">
662 <size>
663 <width>20</width>
664 <height>0</height>
665 </size>
666 </property>
667 </spacer>
668 </item>
669 </layout>
670 </widget>
671 </item>
672 <item row="0" column="2">
673 <spacer name="horizontalSpacer_2">
674 <property name="orientation">
675 <enum>Qt::Horizontal</enum>
676 </property>
677 <property name="sizeType">
678 <enum>QSizePolicy::Expanding</enum>
679 </property>
680 <property name="sizeHint" stdset="0">
681 <size>
682 <width>50</width>
683 <height>20</height>
684 </size>
685 </property>
686 </spacer>
687 </item>
688 <item row="1" column="1">
689 <widget class="QGroupBox" name="groupBox_3">
690 <property name="title">
691 <string>Rotate virtual attitude relative to board</string>
692 </property>
693 <layout class="QGridLayout" name="gridLayout" columnstretch="0,0,0,0,0,0">
694 <item row="1" column="2">
695 <spacer name="horizontalSpacer_8">
696 <property name="orientation">
697 <enum>Qt::Horizontal</enum>
698 </property>
699 <property name="sizeHint" stdset="0">
700 <size>
701 <width>40</width>
702 <height>20</height>
703 </size>
704 </property>
705 </spacer>
706 </item>
707 <item row="1" column="3">
708 <widget class="QDoubleSpinBox" name="pitchRotation">
709 <property name="minimum">
710 <double>-180.000000000000000</double>
711 </property>
712 <property name="maximum">
713 <double>180.000000000000000</double>
714 </property>
715 </widget>
716 </item>
717 <item row="1" column="4">
718 <spacer name="horizontalSpacer_9">
719 <property name="orientation">
720 <enum>Qt::Horizontal</enum>
721 </property>
722 <property name="sizeHint" stdset="0">
723 <size>
724 <width>40</width>
725 <height>20</height>
726 </size>
727 </property>
728 </spacer>
729 </item>
730 <item row="0" column="1">
731 <widget class="QLabel" name="label_12">
732 <property name="minimumSize">
733 <size>
734 <width>70</width>
735 <height>0</height>
736 </size>
737 </property>
738 <property name="styleSheet">
739 <string notr="true">background-color: qlineargradient(spread:reflect, x1:0.507, y1:0, x2:0.507, y2:0.772, stop:0.208955 rgba(74, 74, 74, 255), stop:0.78607 rgba(36, 36, 36, 255));
740 color: rgb(255, 255, 255);
741 border-radius: 5;
742 margin:1px;
743 font:bold;</string>
744 </property>
745 <property name="text">
746 <string>Roll</string>
747 </property>
748 <property name="alignment">
749 <set>Qt::AlignCenter</set>
750 </property>
751 </widget>
752 </item>
753 <item row="0" column="5">
754 <widget class="QLabel" name="label_13">
755 <property name="minimumSize">
756 <size>
757 <width>70</width>
758 <height>0</height>
759 </size>
760 </property>
761 <property name="styleSheet">
762 <string notr="true">background-color: qlineargradient(spread:reflect, x1:0.507, y1:0, x2:0.507, y2:0.772, stop:0.208955 rgba(74, 74, 74, 255), stop:0.78607 rgba(36, 36, 36, 255));
763 color: rgb(255, 255, 255);
764 border-radius: 5;
765 margin:1px;
766 font:bold;</string>
767 </property>
768 <property name="text">
769 <string>Yaw</string>
770 </property>
771 <property name="alignment">
772 <set>Qt::AlignCenter</set>
773 </property>
774 </widget>
775 </item>
776 <item row="1" column="0">
777 <spacer name="horizontalSpacer_7">
778 <property name="orientation">
779 <enum>Qt::Horizontal</enum>
780 </property>
781 <property name="sizeHint" stdset="0">
782 <size>
783 <width>40</width>
784 <height>20</height>
785 </size>
786 </property>
787 </spacer>
788 </item>
789 <item row="1" column="1">
790 <widget class="QDoubleSpinBox" name="rollRotation">
791 <property name="minimum">
792 <double>-180.000000000000000</double>
793 </property>
794 <property name="maximum">
795 <double>180.000000000000000</double>
796 </property>
797 </widget>
798 </item>
799 <item row="0" column="3">
800 <widget class="QLabel" name="label_15">
801 <property name="minimumSize">
802 <size>
803 <width>70</width>
804 <height>0</height>
805 </size>
806 </property>
807 <property name="styleSheet">
808 <string notr="true">background-color: qlineargradient(spread:reflect, x1:0.507, y1:0, x2:0.507, y2:0.772, stop:0.208955 rgba(74, 74, 74, 255), stop:0.78607 rgba(36, 36, 36, 255));
809 color: rgb(255, 255, 255);
810 border-radius: 5;
811 margin:1px;
812 font:bold;</string>
813 </property>
814 <property name="text">
815 <string>Pitch</string>
816 </property>
817 <property name="alignment">
818 <set>Qt::AlignCenter</set>
819 </property>
820 </widget>
821 </item>
822 <item row="1" column="5">
823 <widget class="QDoubleSpinBox" name="yawRotation">
824 <property name="minimum">
825 <double>-180.000000000000000</double>
826 </property>
827 <property name="maximum">
828 <double>180.000000000000000</double>
829 </property>
830 </widget>
831 </item>
832 </layout>
833 </widget>
834 </item>
835 <item row="0" column="0">
836 <layout class="QVBoxLayout" name="verticalLayout_4">
837 <item>
838 <widget class="QGroupBox" name="groupBox_2">
839 <property name="sizePolicy">
840 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
841 <horstretch>0</horstretch>
842 <verstretch>0</verstretch>
843 </sizepolicy>
844 </property>
845 <property name="maximumSize">
846 <size>
847 <width>16777215</width>
848 <height>16777215</height>
849 </size>
850 </property>
851 <property name="title">
852 <string>Attitude Estimation Algorithm</string>
853 </property>
854 <property name="alignment">
855 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
856 </property>
857 <layout class="QGridLayout" name="gridLayout_3">
858 <item row="0" column="0" alignment="Qt::AlignTop">
859 <widget class="QComboBox" name="FusionAlgorithm">
860 <property name="sizePolicy">
861 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
862 <horstretch>0</horstretch>
863 <verstretch>0</verstretch>
864 </sizepolicy>
865 </property>
866 <property name="toolTip">
867 <string>Selects the sensor integration algorithm to be used by the Revolution board.</string>
868 </property>
869 </widget>
870 </item>
871 <item row="1" column="0">
872 <spacer name="verticalSpacer_2">
873 <property name="orientation">
874 <enum>Qt::Vertical</enum>
875 </property>
876 <property name="sizeType">
877 <enum>QSizePolicy::MinimumExpanding</enum>
878 </property>
879 <property name="sizeHint" stdset="0">
880 <size>
881 <width>20</width>
882 <height>40</height>
883 </size>
884 </property>
885 </spacer>
886 </item>
887 </layout>
888 </widget>
889 </item>
890 <item>
891 <widget class="QGroupBox" name="gyroInit_groupBox">
892 <property name="title">
893 <string>Gyro Initialization</string>
894 </property>
895 <layout class="QGridLayout" name="gridLayout_8">
896 <item row="0" column="0">
897 <widget class="QCheckBox" name="zeroGyroBiasOnArming">
898 <property name="toolTip">
899 <string>If enabled, a fast recalibration of gyro zero point will be done
900 whenever the board is armed. Do not move the vehicle while
901 arming it in that case!</string>
902 </property>
903 <property name="text">
904 <string>Zero gyros while arming</string>
905 </property>
906 </widget>
907 </item>
908 <item row="1" column="0">
909 <widget class="QCheckBox" name="initGyroWhenBoardSteady">
910 <property name="toolTip">
911 <string>If enabled, this option prevents gyro initialization while the board is moving.</string>
912 </property>
913 <property name="text">
914 <string>Wait until the board is steady</string>
915 </property>
916 </widget>
917 </item>
918 </layout>
919 </widget>
920 </item>
921 </layout>
922 </item>
923 <item row="1" column="0">
924 <widget class="QGroupBox" name="groupBox_4">
925 <property name="title">
926 <string>Filtering</string>
927 </property>
928 <layout class="QGridLayout" name="gridLayout_5">
929 <item row="0" column="0">
930 <widget class="QLabel" name="label_14">
931 <property name="toolTip">
932 <string/>
933 </property>
934 <property name="styleSheet">
935 <string notr="true">background-color: qlineargradient(spread:reflect, x1:0.507, y1:0, x2:0.507, y2:0.772, stop:0.208955 rgba(74, 74, 74, 255), stop:0.78607 rgba(36, 36, 36, 255));
936 color: rgb(255, 255, 255);
937 border-radius: 5;
938 margin:1px;
939 font:bold;</string>
940 </property>
941 <property name="text">
942 <string>Accelerometers</string>
943 </property>
944 <property name="alignment">
945 <set>Qt::AlignCenter</set>
946 </property>
947 </widget>
948 </item>
949 <item row="1" column="0">
950 <widget class="QDoubleSpinBox" name="accelTau">
951 <property name="toolTip">
952 <string>Accelerometer filtering.
954 Sets the amount of lowpass filtering of accelerometer data
955 for the attitude estimation. Higher values apply a stronger
956 filter, which may help with drifting in attitude mode.
958 Range: 0.00 - 0.20, Good starting value: 0.05 - 0.10
959 Start low and raise until drift stops.
961 A setting of 0.00 disables the filter.</string>
962 </property>
963 <property name="maximum">
964 <double>2.000000000000000</double>
965 </property>
966 <property name="singleStep">
967 <double>0.010000000000000</double>
968 </property>
969 </widget>
970 </item>
971 </layout>
972 </widget>
973 </item>
974 </layout>
975 </item>
976 <item>
977 <spacer name="verticalSpacer">
978 <property name="orientation">
979 <enum>Qt::Vertical</enum>
980 </property>
981 <property name="sizeType">
982 <enum>QSizePolicy::Expanding</enum>
983 </property>
984 <property name="sizeHint" stdset="0">
985 <size>
986 <width>20</width>
987 <height>100</height>
988 </size>
989 </property>
990 </spacer>
991 </item>
992 </layout>
993 </widget>
994 <widget class="QWidget" name="externalMagTab">
995 <property name="enabled">
996 <bool>true</bool>
997 </property>
998 <attribute name="title">
999 <string>Magnetometer</string>
1000 </attribute>
1001 <layout class="QVBoxLayout" name="verticalLayout_5">
1002 <item>
1003 <layout class="QGridLayout" name="gridLayout_6">
1004 <property name="leftMargin">
1005 <number>6</number>
1006 </property>
1007 <property name="topMargin">
1008 <number>6</number>
1009 </property>
1010 <property name="rightMargin">
1011 <number>6</number>
1012 </property>
1013 <property name="bottomMargin">
1014 <number>6</number>
1015 </property>
1016 <item row="0" column="1">
1017 <widget class="QGroupBox" name="gridGroupBox">
1018 <property name="sizePolicy">
1019 <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
1020 <horstretch>0</horstretch>
1021 <verstretch>0</verstretch>
1022 </sizepolicy>
1023 </property>
1024 <property name="minimumSize">
1025 <size>
1026 <width>500</width>
1027 <height>0</height>
1028 </size>
1029 </property>
1030 <property name="title">
1031 <string>Auxiliary Magnetometer Orientation Help</string>
1032 </property>
1033 <layout class="QGridLayout" name="gridLayout_10">
1034 <property name="leftMargin">
1035 <number>6</number>
1036 </property>
1037 <property name="topMargin">
1038 <number>6</number>
1039 </property>
1040 <property name="rightMargin">
1041 <number>6</number>
1042 </property>
1043 <property name="bottomMargin">
1044 <number>6</number>
1045 </property>
1046 <item row="2" column="0">
1047 <widget class="QLabel" name="label_23">
1048 <property name="minimumSize">
1049 <size>
1050 <width>80</width>
1051 <height>30</height>
1052 </size>
1053 </property>
1054 <property name="maximumSize">
1055 <size>
1056 <width>16777215</width>
1057 <height>30</height>
1058 </size>
1059 </property>
1060 <property name="styleSheet">
1061 <string notr="true">background-color: qlineargradient(spread:reflect, x1:0.507, y1:0, x2:0.507, y2:0.772, stop:0.208955 rgba(74, 74, 74, 255), stop:0.78607 rgba(36, 36, 36, 255));
1062 color: rgb(255, 255, 255);
1063 border-radius: 5;
1064 margin:1px;
1065 font:bold;</string>
1066 </property>
1067 <property name="text">
1068 <string>Y axis</string>
1069 </property>
1070 <property name="alignment">
1071 <set>Qt::AlignCenter</set>
1072 </property>
1073 </widget>
1074 </item>
1075 <item row="3" column="0">
1076 <widget class="QLabel" name="label_22">
1077 <property name="minimumSize">
1078 <size>
1079 <width>80</width>
1080 <height>30</height>
1081 </size>
1082 </property>
1083 <property name="maximumSize">
1084 <size>
1085 <width>16777215</width>
1086 <height>30</height>
1087 </size>
1088 </property>
1089 <property name="styleSheet">
1090 <string notr="true">background-color: qlineargradient(spread:reflect, x1:0.507, y1:0, x2:0.507, y2:0.772, stop:0.208955 rgba(74, 74, 74, 255), stop:0.78607 rgba(36, 36, 36, 255));
1091 color: rgb(255, 255, 255);
1092 border-radius: 5;
1093 margin:1px;
1094 font:bold;</string>
1095 </property>
1096 <property name="text">
1097 <string>Z axis</string>
1098 </property>
1099 <property name="alignment">
1100 <set>Qt::AlignCenter</set>
1101 </property>
1102 </widget>
1103 </item>
1104 <item row="3" column="1">
1105 <widget class="QProgressBar" name="internalAuxErrorZ">
1106 <property name="toolTip">
1107 <string>Difference on Z axis</string>
1108 </property>
1109 <property name="minimum">
1110 <number>-50</number>
1111 </property>
1112 <property name="maximum">
1113 <number>50</number>
1114 </property>
1115 <property name="value">
1116 <number>0</number>
1117 </property>
1118 <property name="alignment">
1119 <set>Qt::AlignCenter</set>
1120 </property>
1121 <property name="format">
1122 <string>%v</string>
1123 </property>
1124 </widget>
1125 </item>
1126 <item row="2" column="1">
1127 <widget class="QProgressBar" name="internalAuxErrorY">
1128 <property name="toolTip">
1129 <string>Difference on Y axis</string>
1130 </property>
1131 <property name="minimum">
1132 <number>-50</number>
1133 </property>
1134 <property name="maximum">
1135 <number>50</number>
1136 </property>
1137 <property name="value">
1138 <number>0</number>
1139 </property>
1140 <property name="alignment">
1141 <set>Qt::AlignCenter</set>
1142 </property>
1143 <property name="format">
1144 <string>%v</string>
1145 </property>
1146 </widget>
1147 </item>
1148 <item row="0" column="0" colspan="2">
1149 <widget class="QTextEdit" name="textEdit">
1150 <property name="sizePolicy">
1151 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1152 <horstretch>0</horstretch>
1153 <verstretch>0</verstretch>
1154 </sizepolicy>
1155 </property>
1156 <property name="html">
1157 <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
1158 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
1159 p, li { white-space: pre-wrap; }
1160 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;&quot;&gt;
1161 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Cantarell';&quot;&gt;The bargraphs show the difference between the onboard and auxiliary magnetometer measurements. &lt;/span&gt;&lt;/p&gt;
1162 &lt;p align=&quot;justify&quot; style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Cantarell';&quot;&gt;When the auxiliary magnetometer rotation is set correctlly, all bargraphs should show all zero (bargraph centered) &lt;/span&gt;&lt;a name=&quot;result_box&quot;&gt;&lt;/a&gt;&lt;span style=&quot; font-family:'Cantarell';&quot;&gt;w&lt;/span&gt;&lt;span style=&quot; font-family:'Cantarell';&quot;&gt;hatever the vehicle's orientation.&lt;/span&gt;&lt;/p&gt;
1163 &lt;p align=&quot;justify&quot; style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Cantarell';&quot;&gt;This assumes both magnetometers are calibrated and without alarm.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
1164 </property>
1165 <property name="textInteractionFlags">
1166 <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
1167 </property>
1168 </widget>
1169 </item>
1170 <item row="1" column="1">
1171 <widget class="QProgressBar" name="internalAuxErrorX">
1172 <property name="toolTip">
1173 <string>Difference on X axis</string>
1174 </property>
1175 <property name="minimum">
1176 <number>-50</number>
1177 </property>
1178 <property name="maximum">
1179 <number>50</number>
1180 </property>
1181 <property name="value">
1182 <number>0</number>
1183 </property>
1184 <property name="alignment">
1185 <set>Qt::AlignCenter</set>
1186 </property>
1187 <property name="textVisible">
1188 <bool>true</bool>
1189 </property>
1190 <property name="format">
1191 <string>%v</string>
1192 </property>
1193 </widget>
1194 </item>
1195 <item row="1" column="0">
1196 <widget class="QLabel" name="label_24">
1197 <property name="minimumSize">
1198 <size>
1199 <width>80</width>
1200 <height>30</height>
1201 </size>
1202 </property>
1203 <property name="maximumSize">
1204 <size>
1205 <width>16777215</width>
1206 <height>30</height>
1207 </size>
1208 </property>
1209 <property name="styleSheet">
1210 <string notr="true">background-color: qlineargradient(spread:reflect, x1:0.507, y1:0, x2:0.507, y2:0.772, stop:0.208955 rgba(74, 74, 74, 255), stop:0.78607 rgba(36, 36, 36, 255));
1211 color: rgb(255, 255, 255);
1212 border-radius: 5;
1213 margin:1px;
1214 font:bold;</string>
1215 </property>
1216 <property name="text">
1217 <string>X axis</string>
1218 </property>
1219 <property name="alignment">
1220 <set>Qt::AlignCenter</set>
1221 </property>
1222 </widget>
1223 </item>
1224 </layout>
1225 </widget>
1226 </item>
1227 <item row="0" column="0">
1228 <layout class="QVBoxLayout" name="verticalLayout_7" stretch="0,0,0">
1229 <property name="sizeConstraint">
1230 <enum>QLayout::SetDefaultConstraint</enum>
1231 </property>
1232 <property name="leftMargin">
1233 <number>0</number>
1234 </property>
1235 <item>
1236 <widget class="QGroupBox" name="groupBox_8">
1237 <property name="sizePolicy">
1238 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
1239 <horstretch>0</horstretch>
1240 <verstretch>0</verstretch>
1241 </sizepolicy>
1242 </property>
1243 <property name="title">
1244 <string>Magnetometer Settings</string>
1245 </property>
1246 <layout class="QGridLayout" name="gridLayout_13" columnstretch="0,0,0,0">
1247 <property name="sizeConstraint">
1248 <enum>QLayout::SetMinimumSize</enum>
1249 </property>
1250 <item row="1" column="0">
1251 <widget class="QLabel" name="label_31">
1252 <property name="minimumSize">
1253 <size>
1254 <width>80</width>
1255 <height>0</height>
1256 </size>
1257 </property>
1258 <property name="text">
1259 <string>Mag type:</string>
1260 </property>
1261 </widget>
1262 </item>
1263 <item row="0" column="0">
1264 <widget class="QLabel" name="label_32">
1265 <property name="minimumSize">
1266 <size>
1267 <width>80</width>
1268 <height>0</height>
1269 </size>
1270 </property>
1271 <property name="text">
1272 <string>Mag usage:</string>
1273 </property>
1274 </widget>
1275 </item>
1276 <item row="1" column="1" colspan="2">
1277 <widget class="QComboBox" name="auxMagType">
1278 <property name="sizePolicy">
1279 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
1280 <horstretch>0</horstretch>
1281 <verstretch>0</verstretch>
1282 </sizepolicy>
1283 </property>
1284 <property name="minimumSize">
1285 <size>
1286 <width>100</width>
1287 <height>0</height>
1288 </size>
1289 </property>
1290 <property name="toolTip">
1291 <string>Select the magnetometer type.</string>
1292 </property>
1293 </widget>
1294 </item>
1295 <item row="0" column="1" colspan="2">
1296 <widget class="QComboBox" name="auxMagUsage">
1297 <property name="sizePolicy">
1298 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
1299 <horstretch>0</horstretch>
1300 <verstretch>0</verstretch>
1301 </sizepolicy>
1302 </property>
1303 <property name="minimumSize">
1304 <size>
1305 <width>100</width>
1306 <height>0</height>
1307 </size>
1308 </property>
1309 <property name="toolTip">
1310 <string>Select how to use available magnetometers.</string>
1311 </property>
1312 </widget>
1313 </item>
1314 <item row="2" column="1">
1315 <widget class="QDoubleSpinBox" name="maxDeviationWarning">
1316 <property name="toolTip">
1317 <string>Warning level in percent (default 5%)</string>
1318 </property>
1319 <property name="minimum">
1320 <double>0.010000000000000</double>
1321 </property>
1322 <property name="maximum">
1323 <double>0.150000000000000</double>
1324 </property>
1325 <property name="singleStep">
1326 <double>0.010000000000000</double>
1327 </property>
1328 <property name="value">
1329 <double>0.050000000000000</double>
1330 </property>
1331 </widget>
1332 </item>
1333 <item row="2" column="2">
1334 <widget class="QDoubleSpinBox" name="maxDeviationError">
1335 <property name="toolTip">
1336 <string>Error level in percent (default 15%)</string>
1337 </property>
1338 <property name="minimum">
1339 <double>0.150000000000000</double>
1340 </property>
1341 <property name="maximum">
1342 <double>0.300000000000000</double>
1343 </property>
1344 <property name="singleStep">
1345 <double>0.010000000000000</double>
1346 </property>
1347 </widget>
1348 </item>
1349 <item row="2" column="0">
1350 <widget class="QLabel" name="label_5">
1351 <property name="text">
1352 <string>Warning / Error levels:</string>
1353 </property>
1354 </widget>
1355 </item>
1356 <item row="2" column="3">
1357 <spacer name="horizontalSpacer_4">
1358 <property name="orientation">
1359 <enum>Qt::Horizontal</enum>
1360 </property>
1361 <property name="sizeType">
1362 <enum>QSizePolicy::Expanding</enum>
1363 </property>
1364 <property name="sizeHint" stdset="0">
1365 <size>
1366 <width>40</width>
1367 <height>20</height>
1368 </size>
1369 </property>
1370 </spacer>
1371 </item>
1372 </layout>
1373 </widget>
1374 </item>
1375 <item>
1376 <widget class="QGroupBox" name="groupBox_9">
1377 <property name="sizePolicy">
1378 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
1379 <horstretch>0</horstretch>
1380 <verstretch>0</verstretch>
1381 </sizepolicy>
1382 </property>
1383 <property name="title">
1384 <string>Magnetometer Status</string>
1385 </property>
1386 <layout class="QGridLayout" name="gridLayout_14" columnstretch="0,0,0,0">
1387 <property name="sizeConstraint">
1388 <enum>QLayout::SetMinimumSize</enum>
1389 </property>
1390 <item row="4" column="1">
1391 <widget class="QLabel" name="onBoardMagStatus">
1392 <property name="sizePolicy">
1393 <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
1394 <horstretch>0</horstretch>
1395 <verstretch>0</verstretch>
1396 </sizepolicy>
1397 </property>
1398 <property name="minimumSize">
1399 <size>
1400 <width>100</width>
1401 <height>35</height>
1402 </size>
1403 </property>
1404 <property name="styleSheet">
1405 <string notr="true">background-color: green;
1406 color: rgb(255, 255, 255);
1407 border-radius: 5;
1408 margin:1px;
1409 font:bold;</string>
1410 </property>
1411 <property name="text">
1412 <string>Onboard</string>
1413 </property>
1414 <property name="alignment">
1415 <set>Qt::AlignCenter</set>
1416 </property>
1417 </widget>
1418 </item>
1419 <item row="4" column="2">
1420 <widget class="QLabel" name="auxMagStatus">
1421 <property name="sizePolicy">
1422 <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
1423 <horstretch>0</horstretch>
1424 <verstretch>0</verstretch>
1425 </sizepolicy>
1426 </property>
1427 <property name="minimumSize">
1428 <size>
1429 <width>100</width>
1430 <height>40</height>
1431 </size>
1432 </property>
1433 <property name="styleSheet">
1434 <string notr="true">background-color: green;
1435 color: rgb(255, 255, 255);
1436 border-radius: 5;
1437 margin:1px;
1438 font:bold;</string>
1439 </property>
1440 <property name="text">
1441 <string>AuxMag</string>
1442 </property>
1443 <property name="alignment">
1444 <set>Qt::AlignCenter</set>
1445 </property>
1446 </widget>
1447 </item>
1448 <item row="1" column="0">
1449 <widget class="QLabel" name="label">
1450 <property name="minimumSize">
1451 <size>
1452 <width>110</width>
1453 <height>20</height>
1454 </size>
1455 </property>
1456 <property name="text">
1457 <string>Mag source:</string>
1458 </property>
1459 </widget>
1460 </item>
1461 <item row="4" column="0">
1462 <widget class="QLabel" name="label_3">
1463 <property name="sizePolicy">
1464 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
1465 <horstretch>0</horstretch>
1466 <verstretch>0</verstretch>
1467 </sizepolicy>
1468 </property>
1469 <property name="minimumSize">
1470 <size>
1471 <width>0</width>
1472 <height>0</height>
1473 </size>
1474 </property>
1475 <property name="text">
1476 <string>Mag alarms:</string>
1477 </property>
1478 </widget>
1479 </item>
1480 <item row="4" column="3">
1481 <spacer name="horizontalSpacer_5">
1482 <property name="orientation">
1483 <enum>Qt::Horizontal</enum>
1484 </property>
1485 <property name="sizeType">
1486 <enum>QSizePolicy::Expanding</enum>
1487 </property>
1488 <property name="sizeHint" stdset="0">
1489 <size>
1490 <width>40</width>
1491 <height>20</height>
1492 </size>
1493 </property>
1494 </spacer>
1495 </item>
1496 <item row="1" column="1" colspan="2">
1497 <widget class="QLabel" name="magStatusSource">
1498 <property name="sizePolicy">
1499 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
1500 <horstretch>0</horstretch>
1501 <verstretch>0</verstretch>
1502 </sizepolicy>
1503 </property>
1504 <property name="text">
1505 <string notr="true">external</string>
1506 </property>
1507 </widget>
1508 </item>
1509 </layout>
1510 </widget>
1511 </item>
1512 <item>
1513 <widget class="QGroupBox" name="groupBox_7">
1514 <property name="sizePolicy">
1515 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
1516 <horstretch>0</horstretch>
1517 <verstretch>0</verstretch>
1518 </sizepolicy>
1519 </property>
1520 <property name="title">
1521 <string>Auxiliary Magnetometer Orientation</string>
1522 </property>
1523 <layout class="QGridLayout" name="gridLayout_12" columnstretch="0,0,0">
1524 <property name="sizeConstraint">
1525 <enum>QLayout::SetMinimumSize</enum>
1526 </property>
1527 <item row="2" column="0">
1528 <widget class="QLabel" name="label_29">
1529 <property name="minimumSize">
1530 <size>
1531 <width>70</width>
1532 <height>30</height>
1533 </size>
1534 </property>
1535 <property name="maximumSize">
1536 <size>
1537 <width>0</width>
1538 <height>30</height>
1539 </size>
1540 </property>
1541 <property name="styleSheet">
1542 <string notr="true">background-color: qlineargradient(spread:reflect, x1:0.507, y1:0, x2:0.507, y2:0.772, stop:0.208955 rgba(74, 74, 74, 255), stop:0.78607 rgba(36, 36, 36, 255));
1543 color: rgb(255, 255, 255);
1544 border-radius: 5;
1545 margin:1px;
1546 font:bold;</string>
1547 </property>
1548 <property name="text">
1549 <string>Roll</string>
1550 </property>
1551 <property name="alignment">
1552 <set>Qt::AlignCenter</set>
1553 </property>
1554 </widget>
1555 </item>
1556 <item row="4" column="1">
1557 <widget class="QDoubleSpinBox" name="auxMagPitchRotation">
1558 <property name="decimals">
1559 <number>0</number>
1560 </property>
1561 <property name="minimum">
1562 <double>-180.000000000000000</double>
1563 </property>
1564 <property name="maximum">
1565 <double>180.000000000000000</double>
1566 </property>
1567 </widget>
1568 </item>
1569 <item row="4" column="2">
1570 <widget class="QDoubleSpinBox" name="auxMagYawRotation">
1571 <property name="decimals">
1572 <number>0</number>
1573 </property>
1574 <property name="minimum">
1575 <double>-180.000000000000000</double>
1576 </property>
1577 <property name="maximum">
1578 <double>180.000000000000000</double>
1579 </property>
1580 </widget>
1581 </item>
1582 <item row="2" column="1">
1583 <widget class="QLabel" name="label_28">
1584 <property name="sizePolicy">
1585 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
1586 <horstretch>0</horstretch>
1587 <verstretch>0</verstretch>
1588 </sizepolicy>
1589 </property>
1590 <property name="minimumSize">
1591 <size>
1592 <width>70</width>
1593 <height>30</height>
1594 </size>
1595 </property>
1596 <property name="maximumSize">
1597 <size>
1598 <width>0</width>
1599 <height>30</height>
1600 </size>
1601 </property>
1602 <property name="styleSheet">
1603 <string notr="true">background-color: qlineargradient(spread:reflect, x1:0.507, y1:0, x2:0.507, y2:0.772, stop:0.208955 rgba(74, 74, 74, 255), stop:0.78607 rgba(36, 36, 36, 255));
1604 color: rgb(255, 255, 255);
1605 border-radius: 5;
1606 margin:1px;
1607 font:bold;</string>
1608 </property>
1609 <property name="text">
1610 <string>Pitch</string>
1611 </property>
1612 <property name="alignment">
1613 <set>Qt::AlignCenter</set>
1614 </property>
1615 </widget>
1616 </item>
1617 <item row="4" column="0">
1618 <widget class="QDoubleSpinBox" name="auxMagRollRotation">
1619 <property name="toolTip">
1620 <string/>
1621 </property>
1622 <property name="decimals">
1623 <number>0</number>
1624 </property>
1625 <property name="minimum">
1626 <double>-180.000000000000000</double>
1627 </property>
1628 <property name="maximum">
1629 <double>180.000000000000000</double>
1630 </property>
1631 </widget>
1632 </item>
1633 <item row="2" column="2">
1634 <widget class="QLabel" name="label_30">
1635 <property name="sizePolicy">
1636 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
1637 <horstretch>0</horstretch>
1638 <verstretch>0</verstretch>
1639 </sizepolicy>
1640 </property>
1641 <property name="minimumSize">
1642 <size>
1643 <width>70</width>
1644 <height>30</height>
1645 </size>
1646 </property>
1647 <property name="maximumSize">
1648 <size>
1649 <width>0</width>
1650 <height>30</height>
1651 </size>
1652 </property>
1653 <property name="styleSheet">
1654 <string notr="true">background-color: qlineargradient(spread:reflect, x1:0.507, y1:0, x2:0.507, y2:0.772, stop:0.208955 rgba(74, 74, 74, 255), stop:0.78607 rgba(36, 36, 36, 255));
1655 color: rgb(255, 255, 255);
1656 border-radius: 5;
1657 margin:1px;
1658 font:bold;</string>
1659 </property>
1660 <property name="text">
1661 <string>Yaw</string>
1662 </property>
1663 <property name="alignment">
1664 <set>Qt::AlignCenter</set>
1665 </property>
1666 </widget>
1667 </item>
1668 </layout>
1669 </widget>
1670 </item>
1671 </layout>
1672 </item>
1673 </layout>
1674 </item>
1675 <item>
1676 <spacer name="verticalSpacer_5">
1677 <property name="orientation">
1678 <enum>Qt::Vertical</enum>
1679 </property>
1680 <property name="sizeType">
1681 <enum>QSizePolicy::Expanding</enum>
1682 </property>
1683 <property name="sizeHint" stdset="0">
1684 <size>
1685 <width>20</width>
1686 <height>40</height>
1687 </size>
1688 </property>
1689 </spacer>
1690 </item>
1691 </layout>
1692 </widget>
1693 <widget class="QWidget" name="helpTab">
1694 <attribute name="title">
1695 <string>Help</string>
1696 </attribute>
1697 <layout class="QVBoxLayout" name="verticalLayout_3">
1698 <item>
1699 <widget class="QTextEdit" name="helpTextEdit">
1700 <property name="toolTip">
1701 <string>Calibration instructions</string>
1702 </property>
1703 <property name="horizontalScrollBarPolicy">
1704 <enum>Qt::ScrollBarAlwaysOff</enum>
1705 </property>
1706 <property name="html">
1707 <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
1708 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
1709 p, li { white-space: pre-wrap; }
1710 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;&quot;&gt;
1711 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:14pt; font-weight:600;&quot;&gt;Help&lt;/span&gt;&lt;/p&gt;
1712 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2';&quot;&gt;&lt;br /&gt;&lt;/p&gt;
1713 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2';&quot;&gt;Steps 1, 2 and 3 are necessary.&lt;/span&gt;&lt;/p&gt;
1714 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2';&quot;&gt;Step 4 is optional but may help achieve the best possible results.&lt;/span&gt;&lt;/p&gt;
1715 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2';&quot;&gt;&lt;br /&gt;&lt;/p&gt;
1716 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:12pt; font-weight:600; font-style:italic;&quot;&gt;Step 1: Accelerometer and Magnetometer calibration&lt;/span&gt;&lt;/p&gt;
1717 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2';&quot;&gt;&lt;br /&gt;&lt;/p&gt;
1718 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2';&quot;&gt;This step will calibrate the scale for the Magnetometer and the Accelerometer sensors. &lt;/span&gt;&lt;/p&gt;
1719 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2';&quot;&gt;Press &lt;/span&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-style:italic;&quot;&gt;Start&lt;/span&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2';&quot;&gt; to begin, and follow the instructions for each step. &lt;/span&gt;&lt;/p&gt;
1720 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2';&quot;&gt;For best results with the accelerometer calibration, it is advised that it be performed with a free unmounted flight controller as this allows one to accurately position the board for each orientation in the sequence.&lt;/span&gt;&lt;/p&gt;
1721 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2';&quot;&gt;&lt;br /&gt;&lt;/p&gt;
1722 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2';&quot;&gt;The magnetometer calibration must be performed with the board mounted in the airframe in order for the measurements to incorporate any bias produced by local onboard metal/magnetic elements.&lt;/span&gt;&lt;/p&gt;
1723 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2';&quot;&gt;&lt;br /&gt;&lt;/p&gt;
1724 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2';&quot;&gt;Note 1: Before the magnetometer or the accelerometer calibration is performed your Home Location must be set. This step is needed in order to determine the local magnetic field vector (Be) and acceleration due to gravity (g_e).&lt;/span&gt;&lt;/p&gt;
1725 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2';&quot;&gt;&lt;br /&gt;&lt;/p&gt;
1726 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2';&quot;&gt;Note 2: There is no need to align the airframe exactly south, north, east or west during the individual steps. The directions indicated serve only to tell you in which direction the airframe should be positioned relative to some point. One can simply assume that North is in front of you, East is to the right, West is to the left and South is pointing at you.&lt;/span&gt;&lt;/p&gt;
1727 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2';&quot;&gt;&lt;br /&gt;&lt;/p&gt;
1728 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:12pt; font-weight:600; font-style:italic;&quot;&gt;Step 2: Board level calibration&lt;/span&gt;&lt;/p&gt;
1729 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2';&quot;&gt;&lt;br /&gt;&lt;/p&gt;
1730 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2';&quot;&gt;This step will ensure that board leveling is accurate. Place the airframe as horizontally as possible (use a spirit level if necessary), then press &lt;/span&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-style:italic;&quot;&gt;Start&lt;/span&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2';&quot;&gt;. Do not move the airframe at all until the end of the calibration.&lt;/span&gt;&lt;/p&gt;
1731 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2';&quot;&gt;&lt;br /&gt;&lt;/p&gt;
1732 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:12pt; font-weight:600; font-style:italic;&quot;&gt;Step 3: Gyro bias calculation&lt;/span&gt;&lt;/p&gt;
1733 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2';&quot;&gt;&lt;br /&gt;&lt;/p&gt;
1734 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2';&quot;&gt;This step will allow you to calibrate the gyro measured value when the board is steady. To perform the calibration leave the board/airframe completely stationary and press &lt;/span&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-style:italic;&quot;&gt;Start&lt;/span&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2';&quot;&gt;. &lt;/span&gt;&lt;/p&gt;
1735 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2';&quot;&gt;&lt;br /&gt;&lt;/p&gt;
1736 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:12pt; font-weight:600; font-style:italic;&quot;&gt;Step 4: Thermal calibration&lt;/span&gt;&lt;/p&gt;
1737 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2';&quot;&gt;&lt;br /&gt;&lt;/p&gt;
1738 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2';&quot;&gt;The calibration will compute sensors bias variations at different temperatures while the board warms up.&lt;/span&gt;&lt;/p&gt;
1739 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2';&quot;&gt;This allows a certain amount of correction of those bias variations against temperature changes. It improves altitude hold accuracy and reduces yaw drift.&lt;/span&gt;&lt;/p&gt;
1740 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2';&quot;&gt;To perform this calibration disconnect any power from the board and leave it to cool down at room temperature for 15-20 minutes. Then attach the usb connector to the board and press &lt;/span&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-style:italic;&quot;&gt;Start&lt;/span&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2';&quot;&gt;, leaving the board completely stationary. Wait until complete.&lt;/span&gt;&lt;/p&gt;
1741 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2';&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
1742 </property>
1743 <property name="textInteractionFlags">
1744 <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
1745 </property>
1746 </widget>
1747 </item>
1748 </layout>
1749 </widget>
1750 </widget>
1751 </item>
1752 <item>
1753 <layout class="QHBoxLayout" name="submitButtons">
1754 <property name="spacing">
1755 <number>4</number>
1756 </property>
1757 <item>
1758 <spacer name="horizontalSpacer">
1759 <property name="orientation">
1760 <enum>Qt::Horizontal</enum>
1761 </property>
1762 <property name="sizeHint" stdset="0">
1763 <size>
1764 <width>40</width>
1765 <height>5</height>
1766 </size>
1767 </property>
1768 </spacer>
1769 </item>
1770 <item>
1771 <widget class="QPushButton" name="helpButton">
1772 <property name="sizePolicy">
1773 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
1774 <horstretch>0</horstretch>
1775 <verstretch>0</verstretch>
1776 </sizepolicy>
1777 </property>
1778 <property name="maximumSize">
1779 <size>
1780 <width>25</width>
1781 <height>25</height>
1782 </size>
1783 </property>
1784 <property name="font">
1785 <font>
1786 <kerning>true</kerning>
1787 </font>
1788 </property>
1789 <property name="text">
1790 <string/>
1791 </property>
1792 <property name="icon">
1793 <iconset resource="../coreplugin/core.qrc">
1794 <normaloff>:/core/images/helpicon.svg</normaloff>:/core/images/helpicon.svg</iconset>
1795 </property>
1796 <property name="iconSize">
1797 <size>
1798 <width>25</width>
1799 <height>25</height>
1800 </size>
1801 </property>
1802 <property name="shortcut">
1803 <string>Ctrl+S</string>
1804 </property>
1805 <property name="default">
1806 <bool>false</bool>
1807 </property>
1808 <property name="flat">
1809 <bool>true</bool>
1810 </property>
1811 <property name="objrelation" stdset="0">
1812 <string notr="true">button:help</string>
1813 </property>
1814 </widget>
1815 </item>
1816 <item>
1817 <widget class="QPushButton" name="applyButton">
1818 <property name="toolTip">
1819 <string>Save settings to the board (RAM only).
1821 This does not save the calibration settings, this is done using the
1822 specific calibration button on top of the screen.</string>
1823 </property>
1824 <property name="text">
1825 <string>Apply</string>
1826 </property>
1827 <property name="objrelation" stdset="0">
1828 <string notr="true">button:apply</string>
1829 </property>
1830 </widget>
1831 </item>
1832 <item>
1833 <widget class="QPushButton" name="saveButton">
1834 <property name="toolTip">
1835 <string>Send settings to the board, and save to the non-volatile memory.</string>
1836 </property>
1837 <property name="text">
1838 <string>Save</string>
1839 </property>
1840 <property name="checked">
1841 <bool>false</bool>
1842 </property>
1843 <property name="objrelation" stdset="0">
1844 <string notr="true">button:save</string>
1845 </property>
1846 </widget>
1847 </item>
1848 </layout>
1849 </item>
1850 </layout>
1851 </widget>
1852 <resources>
1853 <include location="../coreplugin/core.qrc"/>
1854 </resources>
1855 <connections/>
1856 </ui>