1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <class>ccattitude
</class>
4 <widget class=
"QWidget" name=
"ccattitude">
5 <property name=
"geometry">
13 <property name=
"windowTitle">
16 <layout class=
"QVBoxLayout" name=
"verticalLayout_5">
18 <widget class=
"QTabWidget" name=
"tabWidget">
19 <property name=
"currentIndex">
22 <widget class=
"QWidget" name=
"Attitude">
23 <attribute name=
"title">
24 <string>Attitude
</string>
26 <layout class=
"QVBoxLayout" name=
"verticalLayout_3">
27 <property name=
"leftMargin">
30 <property name=
"topMargin">
33 <property name=
"rightMargin">
36 <property name=
"bottomMargin">
40 <widget class=
"QScrollArea" name=
"scrollArea">
41 <property name=
"palette">
44 <colorrole role=
"Base">
45 <brush brushstyle=
"SolidPattern">
53 <colorrole role=
"Window">
54 <brush brushstyle=
"SolidPattern">
64 <colorrole role=
"Base">
65 <brush brushstyle=
"SolidPattern">
73 <colorrole role=
"Window">
74 <brush brushstyle=
"SolidPattern">
84 <colorrole role=
"Base">
85 <brush brushstyle=
"SolidPattern">
93 <colorrole role=
"Window">
94 <brush brushstyle=
"SolidPattern">
105 <property name=
"frameShape">
106 <enum>QFrame::NoFrame
</enum>
108 <property name=
"frameShadow">
109 <enum>QFrame::Plain
</enum>
111 <property name=
"widgetResizable">
114 <widget class=
"QWidget" name=
"scrollAreaWidgetContents">
115 <property name=
"geometry">
123 <layout class=
"QVBoxLayout" name=
"verticalLayout">
124 <property name=
"leftMargin">
127 <property name=
"topMargin">
130 <property name=
"rightMargin">
133 <property name=
"bottomMargin">
137 <widget class=
"QGroupBox" name=
"groupBox">
138 <property name=
"title">
139 <string>Rotate virtual attitude relative to board
</string>
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);
151 <property name=
"text">
152 <string>Roll
</string>
154 <property name=
"alignment">
155 <set>Qt::AlignCenter
</set>
159 <item row=
"1" column=
"1">
160 <widget class=
"QSpinBox" name=
"rollBias">
161 <property name=
"minimum">
162 <number>-
180</number>
164 <property name=
"maximum">
169 <item row=
"1" column=
"4">
170 <spacer name=
"horizontalSpacer_9">
171 <property name=
"orientation">
172 <enum>Qt::Horizontal
</enum>
174 <property name=
"sizeHint" stdset=
"0">
182 <item row=
"1" column=
"5">
183 <widget class=
"QSpinBox" name=
"yawBias">
184 <property name=
"minimum">
185 <number>-
180</number>
187 <property name=
"maximum">
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);
201 <property name=
"text">
204 <property name=
"alignment">
205 <set>Qt::AlignCenter
</set>
209 <item row=
"1" column=
"2">
210 <spacer name=
"horizontalSpacer_8">
211 <property name=
"orientation">
212 <enum>Qt::Horizontal
</enum>
214 <property name=
"sizeHint" stdset=
"0">
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);
231 <property name=
"text">
232 <string>Pitch
</string>
234 <property name=
"alignment">
235 <set>Qt::AlignCenter
</set>
239 <item row=
"1" column=
"3">
240 <widget class=
"QSpinBox" name=
"pitchBias">
241 <property name=
"minimum">
244 <property name=
"maximum">
249 <item row=
"1" column=
"0">
250 <spacer name=
"horizontalSpacer_7">
251 <property name=
"orientation">
252 <enum>Qt::Horizontal
</enum>
254 <property name=
"sizeHint" stdset=
"0">
262 <item row=
"1" column=
"6">
263 <spacer name=
"horizontalSpacer_10">
264 <property name=
"orientation">
265 <enum>Qt::Horizontal
</enum>
267 <property name=
"sizeHint" stdset=
"0">
279 <widget class=
"QGroupBox" name=
"groupBox_2">
280 <property name=
"title">
281 <string>Calibration
</string>
283 <layout class=
"QGridLayout" name=
"gridLayout_2">
284 <item row=
"0" column=
"0" colspan=
"3">
285 <layout class=
"QHBoxLayout" name=
"horizontalLayout_2">
287 <spacer name=
"horizontalSpacer_2">
288 <property name=
"orientation">
289 <enum>Qt::Horizontal
</enum>
291 <property name=
"sizeHint" stdset=
"0">
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>
304 <property name=
"wordWrap">
310 <spacer name=
"horizontalSpacer_3">
311 <property name=
"orientation">
312 <enum>Qt::Horizontal
</enum>
314 <property name=
"sizeHint" stdset=
"0">
324 <item row=
"1" column=
"0">
325 <widget class=
"QPushButton" name=
"zeroBias">
326 <property name=
"maximumSize">
329 <height>16777215</height>
332 <property name=
"toolTip">
333 <string>Launch horizontal calibration.
</string>
335 <property name=
"text">
336 <string>Level
</string>
340 <item row=
"1" column=
"1">
341 <spacer name=
"horizontalSpacer_4">
342 <property name=
"orientation">
343 <enum>Qt::Horizontal
</enum>
345 <property name=
"sizeType">
346 <enum>QSizePolicy::Fixed
</enum>
348 <property name=
"sizeHint" stdset=
"0">
356 <item row=
"1" column=
"2">
357 <widget class=
"QProgressBar" name=
"zeroBiasProgress">
358 <property name=
"minimumSize">
364 <property name=
"value">
369 <item row=
"2" column=
"0" colspan=
"3">
370 <layout class=
"QHBoxLayout" name=
"horizontalLayout_3">
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>
378 <property name=
"text">
379 <string>Zero gyros while arming aircraft
</string>
384 <spacer name=
"horizontalSpacer_6">
385 <property name=
"orientation">
386 <enum>Qt::Horizontal
</enum>
388 <property name=
"sizeHint" stdset=
"0">
402 <widget class=
"QGroupBox" name=
"groupBox_3">
403 <property name=
"title">
404 <string>Filtering
</string>
406 <layout class=
"QHBoxLayout" name=
"horizontalLayout_5">
408 <widget class=
"QLabel" name=
"label_5">
409 <property name=
"minimumSize">
415 <property name=
"toolTip">
418 <property name=
"text">
419 <string>Accelerometers
</string>
424 <spacer name=
"horizontalSpacer_12">
425 <property name=
"orientation">
426 <enum>Qt::Horizontal
</enum>
428 <property name=
"sizeType">
429 <enum>QSizePolicy::Fixed
</enum>
431 <property name=
"sizeHint" stdset=
"0">
440 <widget class=
"QDoubleSpinBox" name=
"accelTauSpinbox">
441 <property name=
"minimumSize">
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>
459 <property name=
"decimals">
462 <property name=
"maximum">
463 <double>0.200000000000000</double>
465 <property name=
"singleStep">
466 <double>0.010000000000000</double>
471 <spacer name=
"horizontalSpacer_5">
472 <property name=
"orientation">
473 <enum>Qt::Horizontal
</enum>
475 <property name=
"sizeHint" stdset=
"0">
487 <spacer name=
"verticalSpacer_2">
488 <property name=
"orientation">
489 <enum>Qt::Vertical
</enum>
491 <property name=
"sizeHint" stdset=
"0">
508 <layout class=
"QHBoxLayout" name=
"horizontalLayout">
509 <property name=
"spacing">
513 <spacer name=
"horizontalSpacer">
514 <property name=
"orientation">
515 <enum>Qt::Horizontal
</enum>
517 <property name=
"sizeHint" stdset=
"0">
526 <widget class=
"QPushButton" name=
"ccAttitudeHelp">
527 <property name=
"sizePolicy">
528 <sizepolicy hsizetype=
"Fixed" vsizetype=
"Fixed">
529 <horstretch>0</horstretch>
530 <verstretch>0</verstretch>
533 <property name=
"maximumSize">
539 <property name=
"toolTip">
540 <string>Takes you to the wiki page
</string>
542 <property name=
"text">
545 <property name=
"icon">
546 <iconset resource=
"../coreplugin/core.qrc">
547 <normaloff>:/core/images/helpicon.svg
</normaloff>:/core/images/helpicon.svg
</iconset>
549 <property name=
"iconSize">
555 <property name=
"flat">
561 <widget class=
"QPushButton" name=
"applyButton">
562 <property name=
"minimumSize">
568 <property name=
"text">
569 <string>Apply
</string>
574 <widget class=
"QPushButton" name=
"saveButton">
575 <property name=
"minimumSize">
581 <property name=
"toolTip">
582 <string>Click to permanently save the accel bias in the CopterControl Flash.
</string>
584 <property name=
"text">
585 <string>Save
</string>
594 <include location=
"../coreplugin/core.qrc"/>