LP-56 - Better txpid option namings, fix tabs-spaces, tooltips. headers, variable...
[librepilot.git] / ground / openpilotgcs / src / plugins / config / ccattitude.ui
blob1a659982e759dceb96541d8ea706b5b67d20afd4
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>ccattitude</class>
4 <widget class="QWidget" name="ccattitude">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>780</width>
10 <height>566</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Form</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout_5">
17 <item>
18 <widget class="QTabWidget" name="tabWidget">
19 <property name="currentIndex">
20 <number>0</number>
21 </property>
22 <widget class="QWidget" name="Attitude">
23 <attribute name="title">
24 <string>Attitude</string>
25 </attribute>
26 <layout class="QVBoxLayout" name="verticalLayout_3">
27 <property name="leftMargin">
28 <number>0</number>
29 </property>
30 <property name="topMargin">
31 <number>0</number>
32 </property>
33 <property name="rightMargin">
34 <number>0</number>
35 </property>
36 <property name="bottomMargin">
37 <number>0</number>
38 </property>
39 <item>
40 <widget class="QScrollArea" name="scrollArea">
41 <property name="palette">
42 <palette>
43 <active>
44 <colorrole role="Base">
45 <brush brushstyle="SolidPattern">
46 <color alpha="255">
47 <red>255</red>
48 <green>255</green>
49 <blue>255</blue>
50 </color>
51 </brush>
52 </colorrole>
53 <colorrole role="Window">
54 <brush brushstyle="SolidPattern">
55 <color alpha="0">
56 <red>232</red>
57 <green>232</green>
58 <blue>232</blue>
59 </color>
60 </brush>
61 </colorrole>
62 </active>
63 <inactive>
64 <colorrole role="Base">
65 <brush brushstyle="SolidPattern">
66 <color alpha="255">
67 <red>255</red>
68 <green>255</green>
69 <blue>255</blue>
70 </color>
71 </brush>
72 </colorrole>
73 <colorrole role="Window">
74 <brush brushstyle="SolidPattern">
75 <color alpha="0">
76 <red>232</red>
77 <green>232</green>
78 <blue>232</blue>
79 </color>
80 </brush>
81 </colorrole>
82 </inactive>
83 <disabled>
84 <colorrole role="Base">
85 <brush brushstyle="SolidPattern">
86 <color alpha="0">
87 <red>232</red>
88 <green>232</green>
89 <blue>232</blue>
90 </color>
91 </brush>
92 </colorrole>
93 <colorrole role="Window">
94 <brush brushstyle="SolidPattern">
95 <color alpha="0">
96 <red>232</red>
97 <green>232</green>
98 <blue>232</blue>
99 </color>
100 </brush>
101 </colorrole>
102 </disabled>
103 </palette>
104 </property>
105 <property name="frameShape">
106 <enum>QFrame::NoFrame</enum>
107 </property>
108 <property name="frameShadow">
109 <enum>QFrame::Plain</enum>
110 </property>
111 <property name="widgetResizable">
112 <bool>true</bool>
113 </property>
114 <widget class="QWidget" name="scrollAreaWidgetContents">
115 <property name="geometry">
116 <rect>
117 <x>0</x>
118 <y>0</y>
119 <width>758</width>
120 <height>486</height>
121 </rect>
122 </property>
123 <layout class="QVBoxLayout" name="verticalLayout">
124 <property name="leftMargin">
125 <number>12</number>
126 </property>
127 <property name="topMargin">
128 <number>12</number>
129 </property>
130 <property name="rightMargin">
131 <number>12</number>
132 </property>
133 <property name="bottomMargin">
134 <number>12</number>
135 </property>
136 <item>
137 <widget class="QGroupBox" name="groupBox">
138 <property name="title">
139 <string>Rotate virtual attitude relative to board</string>
140 </property>
141 <layout class="QGridLayout" name="gridLayout" columnstretch="0,1,0,1,0,1,0">
142 <item row="0" column="1">
143 <widget class="QLabel" name="label_2">
144 <property name="styleSheet">
145 <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));
146 color: rgb(255, 255, 255);
147 border-radius: 5;
148 margin:1px;
149 font:bold;</string>
150 </property>
151 <property name="text">
152 <string>Roll</string>
153 </property>
154 <property name="alignment">
155 <set>Qt::AlignCenter</set>
156 </property>
157 </widget>
158 </item>
159 <item row="1" column="1">
160 <widget class="QSpinBox" name="rollBias">
161 <property name="minimum">
162 <number>-180</number>
163 </property>
164 <property name="maximum">
165 <number>180</number>
166 </property>
167 </widget>
168 </item>
169 <item row="1" column="4">
170 <spacer name="horizontalSpacer_9">
171 <property name="orientation">
172 <enum>Qt::Horizontal</enum>
173 </property>
174 <property name="sizeHint" stdset="0">
175 <size>
176 <width>40</width>
177 <height>20</height>
178 </size>
179 </property>
180 </spacer>
181 </item>
182 <item row="1" column="5">
183 <widget class="QSpinBox" name="yawBias">
184 <property name="minimum">
185 <number>-180</number>
186 </property>
187 <property name="maximum">
188 <number>180</number>
189 </property>
190 </widget>
191 </item>
192 <item row="0" column="5">
193 <widget class="QLabel" name="label_4">
194 <property name="styleSheet">
195 <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));
196 color: rgb(255, 255, 255);
197 border-radius: 5;
198 margin:1px;
199 font:bold;</string>
200 </property>
201 <property name="text">
202 <string>Yaw</string>
203 </property>
204 <property name="alignment">
205 <set>Qt::AlignCenter</set>
206 </property>
207 </widget>
208 </item>
209 <item row="1" column="2">
210 <spacer name="horizontalSpacer_8">
211 <property name="orientation">
212 <enum>Qt::Horizontal</enum>
213 </property>
214 <property name="sizeHint" stdset="0">
215 <size>
216 <width>40</width>
217 <height>20</height>
218 </size>
219 </property>
220 </spacer>
221 </item>
222 <item row="0" column="3">
223 <widget class="QLabel" name="label_3">
224 <property name="styleSheet">
225 <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));
226 color: rgb(255, 255, 255);
227 border-radius: 5;
228 margin:1px;
229 font:bold;</string>
230 </property>
231 <property name="text">
232 <string>Pitch</string>
233 </property>
234 <property name="alignment">
235 <set>Qt::AlignCenter</set>
236 </property>
237 </widget>
238 </item>
239 <item row="1" column="3">
240 <widget class="QSpinBox" name="pitchBias">
241 <property name="minimum">
242 <number>-90</number>
243 </property>
244 <property name="maximum">
245 <number>90</number>
246 </property>
247 </widget>
248 </item>
249 <item row="1" column="0">
250 <spacer name="horizontalSpacer_7">
251 <property name="orientation">
252 <enum>Qt::Horizontal</enum>
253 </property>
254 <property name="sizeHint" stdset="0">
255 <size>
256 <width>40</width>
257 <height>20</height>
258 </size>
259 </property>
260 </spacer>
261 </item>
262 <item row="1" column="6">
263 <spacer name="horizontalSpacer_10">
264 <property name="orientation">
265 <enum>Qt::Horizontal</enum>
266 </property>
267 <property name="sizeHint" stdset="0">
268 <size>
269 <width>40</width>
270 <height>20</height>
271 </size>
272 </property>
273 </spacer>
274 </item>
275 </layout>
276 </widget>
277 </item>
278 <item>
279 <widget class="QGroupBox" name="groupBox_2">
280 <property name="title">
281 <string>Calibration</string>
282 </property>
283 <layout class="QGridLayout" name="gridLayout_2">
284 <item row="0" column="0" colspan="3">
285 <layout class="QHBoxLayout" name="horizontalLayout_2">
286 <item>
287 <spacer name="horizontalSpacer_2">
288 <property name="orientation">
289 <enum>Qt::Horizontal</enum>
290 </property>
291 <property name="sizeHint" stdset="0">
292 <size>
293 <width>40</width>
294 <height>20</height>
295 </size>
296 </property>
297 </spacer>
298 </item>
299 <item>
300 <widget class="QLabel" name="label">
301 <property name="text">
302 <string>Place aircraft very flat, and then click level to compute the accelerometer and gyro bias</string>
303 </property>
304 <property name="wordWrap">
305 <bool>true</bool>
306 </property>
307 </widget>
308 </item>
309 <item>
310 <spacer name="horizontalSpacer_3">
311 <property name="orientation">
312 <enum>Qt::Horizontal</enum>
313 </property>
314 <property name="sizeHint" stdset="0">
315 <size>
316 <width>40</width>
317 <height>20</height>
318 </size>
319 </property>
320 </spacer>
321 </item>
322 </layout>
323 </item>
324 <item row="1" column="0">
325 <widget class="QPushButton" name="zeroBias">
326 <property name="maximumSize">
327 <size>
328 <width>500</width>
329 <height>16777215</height>
330 </size>
331 </property>
332 <property name="toolTip">
333 <string>Launch horizontal calibration.</string>
334 </property>
335 <property name="text">
336 <string>Level</string>
337 </property>
338 </widget>
339 </item>
340 <item row="1" column="1">
341 <spacer name="horizontalSpacer_4">
342 <property name="orientation">
343 <enum>Qt::Horizontal</enum>
344 </property>
345 <property name="sizeType">
346 <enum>QSizePolicy::Fixed</enum>
347 </property>
348 <property name="sizeHint" stdset="0">
349 <size>
350 <width>10</width>
351 <height>20</height>
352 </size>
353 </property>
354 </spacer>
355 </item>
356 <item row="1" column="2">
357 <widget class="QProgressBar" name="zeroBiasProgress">
358 <property name="minimumSize">
359 <size>
360 <width>300</width>
361 <height>0</height>
362 </size>
363 </property>
364 <property name="value">
365 <number>0</number>
366 </property>
367 </widget>
368 </item>
369 <item row="2" column="0" colspan="3">
370 <layout class="QHBoxLayout" name="horizontalLayout_3">
371 <item>
372 <widget class="QCheckBox" name="zeroGyroBiasOnArming">
373 <property name="toolTip">
374 <string>If enabled, a fast recalibration of gyro zero point will be done
375 whenever the frame is armed. Do not move the airframe while
376 arming it in that case!</string>
377 </property>
378 <property name="text">
379 <string>Zero gyros while arming aircraft</string>
380 </property>
381 </widget>
382 </item>
383 <item>
384 <spacer name="horizontalSpacer_6">
385 <property name="orientation">
386 <enum>Qt::Horizontal</enum>
387 </property>
388 <property name="sizeHint" stdset="0">
389 <size>
390 <width>40</width>
391 <height>20</height>
392 </size>
393 </property>
394 </spacer>
395 </item>
396 </layout>
397 </item>
398 </layout>
399 </widget>
400 </item>
401 <item>
402 <widget class="QGroupBox" name="groupBox_3">
403 <property name="title">
404 <string>Filtering</string>
405 </property>
406 <layout class="QHBoxLayout" name="horizontalLayout_5">
407 <item>
408 <widget class="QLabel" name="label_5">
409 <property name="minimumSize">
410 <size>
411 <width>0</width>
412 <height>0</height>
413 </size>
414 </property>
415 <property name="toolTip">
416 <string/>
417 </property>
418 <property name="text">
419 <string>Accelerometers</string>
420 </property>
421 </widget>
422 </item>
423 <item>
424 <spacer name="horizontalSpacer_12">
425 <property name="orientation">
426 <enum>Qt::Horizontal</enum>
427 </property>
428 <property name="sizeType">
429 <enum>QSizePolicy::Fixed</enum>
430 </property>
431 <property name="sizeHint" stdset="0">
432 <size>
433 <width>10</width>
434 <height>0</height>
435 </size>
436 </property>
437 </spacer>
438 </item>
439 <item>
440 <widget class="QDoubleSpinBox" name="accelTauSpinbox">
441 <property name="minimumSize">
442 <size>
443 <width>60</width>
444 <height>0</height>
445 </size>
446 </property>
447 <property name="toolTip">
448 <string>Accelerometer filtering.
450 Sets the amount of lowpass filtering of accelerometer data
451 for the attitude estimation. Higher values apply a stronger
452 filter, which may help with drifting in attitude mode.
454 Range: 0.00 - 0.20, Good starting value: 0.05 - 0.10
455 Start low and raise until drift stops.
457 A setting of 0.00 disables the filter.</string>
458 </property>
459 <property name="decimals">
460 <number>2</number>
461 </property>
462 <property name="maximum">
463 <double>0.200000000000000</double>
464 </property>
465 <property name="singleStep">
466 <double>0.010000000000000</double>
467 </property>
468 </widget>
469 </item>
470 <item>
471 <spacer name="horizontalSpacer_5">
472 <property name="orientation">
473 <enum>Qt::Horizontal</enum>
474 </property>
475 <property name="sizeHint" stdset="0">
476 <size>
477 <width>40</width>
478 <height>20</height>
479 </size>
480 </property>
481 </spacer>
482 </item>
483 </layout>
484 </widget>
485 </item>
486 <item>
487 <spacer name="verticalSpacer_2">
488 <property name="orientation">
489 <enum>Qt::Vertical</enum>
490 </property>
491 <property name="sizeHint" stdset="0">
492 <size>
493 <width>20</width>
494 <height>10</height>
495 </size>
496 </property>
497 </spacer>
498 </item>
499 </layout>
500 </widget>
501 </widget>
502 </item>
503 </layout>
504 </widget>
505 </widget>
506 </item>
507 <item>
508 <layout class="QHBoxLayout" name="horizontalLayout">
509 <property name="spacing">
510 <number>4</number>
511 </property>
512 <item>
513 <spacer name="horizontalSpacer">
514 <property name="orientation">
515 <enum>Qt::Horizontal</enum>
516 </property>
517 <property name="sizeHint" stdset="0">
518 <size>
519 <width>380</width>
520 <height>20</height>
521 </size>
522 </property>
523 </spacer>
524 </item>
525 <item>
526 <widget class="QPushButton" name="ccAttitudeHelp">
527 <property name="sizePolicy">
528 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
529 <horstretch>0</horstretch>
530 <verstretch>0</verstretch>
531 </sizepolicy>
532 </property>
533 <property name="maximumSize">
534 <size>
535 <width>25</width>
536 <height>25</height>
537 </size>
538 </property>
539 <property name="toolTip">
540 <string>Takes you to the wiki page</string>
541 </property>
542 <property name="text">
543 <string/>
544 </property>
545 <property name="icon">
546 <iconset resource="../coreplugin/core.qrc">
547 <normaloff>:/core/images/helpicon.svg</normaloff>:/core/images/helpicon.svg</iconset>
548 </property>
549 <property name="iconSize">
550 <size>
551 <width>25</width>
552 <height>25</height>
553 </size>
554 </property>
555 <property name="flat">
556 <bool>true</bool>
557 </property>
558 </widget>
559 </item>
560 <item>
561 <widget class="QPushButton" name="applyButton">
562 <property name="minimumSize">
563 <size>
564 <width>0</width>
565 <height>0</height>
566 </size>
567 </property>
568 <property name="text">
569 <string>Apply</string>
570 </property>
571 </widget>
572 </item>
573 <item>
574 <widget class="QPushButton" name="saveButton">
575 <property name="minimumSize">
576 <size>
577 <width>0</width>
578 <height>0</height>
579 </size>
580 </property>
581 <property name="toolTip">
582 <string>Click to permanently save the accel bias in the CopterControl Flash.</string>
583 </property>
584 <property name="text">
585 <string>Save</string>
586 </property>
587 </widget>
588 </item>
589 </layout>
590 </item>
591 </layout>
592 </widget>
593 <resources>
594 <include location="../coreplugin/core.qrc"/>
595 </resources>
596 <connections/>
597 </ui>