2011-12-24 13:57:10 -06:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
2011-12-24 15:56:16 -06:00
<class>RevoSensorsWidget</class>
<widget class="QWidget" name="RevoSensorsWidget">
2011-12-24 13:57:10 -06:00
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2014-03-09 13:06:18 +01:00
<width>836</width>
2014-05-07 21:07:08 +02:00
<height>605</height>
2011-12-24 13:57:10 -06:00
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QTabWidget" name="tabWidget">
2013-05-12 11:27:12 +02:00
<property name="autoFillBackground">
2013-05-12 15:44:15 +02:00
<bool>true</bool>
2013-05-12 11:27:12 +02:00
</property>
2011-12-24 13:57:10 -06:00
<property name="currentIndex">
2014-02-06 16:28:26 +01:00
<number>0</number>
2011-12-24 13:57:10 -06:00
</property>
<widget class="QWidget" name="tab_2">
2013-05-12 15:44:15 +02:00
<property name="autoFillBackground">
<bool>true</bool>
</property>
2011-12-24 13:57:10 -06:00
<attribute name="title">
<string>Calibration</string>
</attribute>
2014-03-09 13:06:18 +01:00
<layout class="QVBoxLayout" name="verticalLayout_11">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
2011-12-24 13:57:10 -06:00
<item>
2014-03-09 13:06:18 +01:00
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>12</number>
</property>
<property name="topMargin">
<number>12</number>
</property>
<property name="rightMargin">
<number>12</number>
</property>
<property name="bottomMargin">
<number>12</number>
</property>
<property name="verticalSpacing">
<number>6</number>
</property>
2014-04-10 22:43:47 +02:00
<item row="0" column="0" rowspan="4">
<layout class="QVBoxLayout">
<item>
<widget class="QGraphicsView" name="calibrationVisualHelp">
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
</widget>
</item>
</layout>
2014-04-10 17:30:33 +02:00
</item>
<item row="4" column="0" colspan="2">
2014-04-10 22:43:47 +02:00
<layout class="QVBoxLayout" name="instruction_layout">
<item>
<widget class="QTextEdit" name="calibrationInstructions">
2014-05-03 19:45:22 +02:00
<property name="font">
<font>
<pointsize>10</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
2014-04-10 22:43:47 +02:00
<property name="toolTip">
<string>Calibration status</string>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::AdjustToContents</enum>
</property>
</widget>
</item>
<item>
<widget class="QTextEdit" name="textEdit">
<property name="toolTip">
<string>Calibration instructions</string>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="html">
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
2014-04-10 17:30:33 +02:00
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
2014-05-07 21:07:08 +02:00
</style></head><body style=" font-family:'Ubuntu'; font-size:9pt; font-weight:400; font-style:normal;">
2014-04-10 17:30:33 +02:00
<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;">
<tr>
<td style="border: none;">
2014-05-07 21:07:08 +02:00
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:16pt; font-weight:600; font-style:italic;">Help</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">Following steps #1, #2 and #3 are necessary. Step #4 is optional, it may helps you achieve the best possible results.</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:11pt;"><br /></p>
<p align="center" style="-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-size:8pt;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt; font-weight:600; font-style:italic;">#1: Multi-Point calibration</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">This calibration will compute the scale for Magnetometer or Accelerometer sensors. </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">Press &quot;Calibrate Mag&quot; or &quot;Calibrate Accel&quot; to begin calibration, and follow the instructions which will be displayed here. </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">For optimal calibration perform the Accel calibration with the board not mounted to the craft. in this way you can accurately level the board on your desk/table during the process. </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">Magnetometer calibration need to be performed inside your plane/copter to account for metal/magnetic stuffs on board.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt; font-weight:600; font-style:italic;">Note 1:</span><span style=" font-size:11pt;"> Your </span><span style=" font-size:11pt; font-weight:600;">HomeLocation must be set first</span><span style=" font-size:11pt;">, including the local magnetic field vector (Be) and acceleration due to gravity (g_e).</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt; font-weight:600; font-style:italic;">Note 2:</span><span style=" font-size:11pt;"> There is no need to point exactly at South/North/West/East. They are just used to easily tells the user how to point the plane/craft. </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">You can simply assume that North is in front of you, right is East etc. and perform the calibration this way.</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:11pt;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt; font-weight:600; font-style:italic;">#2: Board level calibration</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">This step will ensure that board leveling is accurate. Place your airframe as horizontally as possible (use a spirit level if necessary), then press Start below and do not move your airframe at all until the end of the calibration.</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:11pt;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt; font-weight:600; font-style:italic;">#3: Gyro Bias calculation</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">This step allows to calibrate the gyro measured value when the board is steady. To perform the calibration leave the board/aircraft completely steady and click start. </span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:11pt;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt; font-weight:600; font-style:italic;">#4: Thermal Calibration</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">The calibration will compute sensors bias variations at different temperatures while the board warms up.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">This allow a certain amount of correction of those bias variations against temperature changes. It does improve both altitude hold and yaw performances.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">To perform this calibration leave the board to cool down at room temperature in the coldest places available. after 15-20 minutes attach the usb connector to the board and Click the Calibrate button leaving the board steady. Wait until completed</span></p>
<p align="center" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:11pt;"><br /></p></td></tr></table></body></html></string>
2014-04-10 22:43:47 +02:00
</property>
</widget>
</item>
</layout>
2014-04-10 17:30:33 +02:00
</item>
<item row="0" column="1">
2014-03-09 13:06:18 +01:00
<widget class="QGroupBox" name="groupBox">
2014-02-06 02:14:59 +01:00
<property name="title">
2014-04-10 17:30:33 +02:00
<string>#1: Accelerometer/Magnetometer calibration</string>
2011-12-24 13:57:10 -06:00
</property>
2014-04-10 17:30:33 +02:00
<layout class="QHBoxLayout" name="horizontalLayout_4">
2011-12-24 13:57:10 -06:00
<item>
2014-04-10 17:30:33 +02:00
<widget class="QPushButton" name="sixPointsStartAccel">
<property name="enabled">
<bool>false</bool>
</property>
2014-03-09 13:06:18 +01:00
<property name="toolTip">
2014-04-10 17:30:33 +02:00
<string>Launch accelerometer range and bias calibration.</string>
2014-03-09 13:06:18 +01:00
</property>
2014-04-10 17:30:33 +02:00
<property name="text">
<string>Calibrate Accel</string>
2014-03-09 13:06:18 +01:00
</property>
2014-04-10 17:30:33 +02:00
</widget>
2014-03-09 13:06:18 +01:00
</item>
<item>
2014-04-10 17:30:33 +02:00
<widget class="QPushButton" name="sixPointsStartMag">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Launch magnetometer range and bias calibration.</string>
</property>
<property name="text">
<string>Calibrate Mag</string>
2014-03-09 13:06:18 +01:00
</property>
</widget>
</item>
<item>
2014-05-07 21:07:08 +02:00
<spacer name="horizontalSpacer_thermalbias_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
2014-04-10 17:30:33 +02:00
<item>
<widget class="QPushButton" name="sixPointsSave">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Save settings (only enabled when calibration is running)</string>
</property>
<property name="text">
<string>Save Position</string>
</property>
</widget>
2011-12-24 13:57:10 -06:00
</item>
</layout>
</widget>
</item>
2014-04-10 17:30:33 +02:00
<item row="1" column="1">
<widget class="QGroupBox" name="groupBox">
2014-02-06 02:14:59 +01:00
<property name="title">
2014-04-10 17:30:33 +02:00
<string>#2: Board level calibration</string>
2011-12-24 13:57:10 -06:00
</property>
2014-04-10 17:30:33 +02:00
<layout class="QHBoxLayout">
2011-12-24 13:57:10 -06:00
<item>
2014-04-10 17:30:33 +02:00
<widget class="QPushButton" name="boardLevelStart">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Start</string>
2014-03-09 13:06:18 +01:00
</property>
</widget>
</item>
<item>
2014-04-10 17:30:33 +02:00
<widget class="QProgressBar" name="boardLevelProgress">
<property name="value">
<number>0</number>
</property>
<property name="textVisible">
2014-05-07 21:07:08 +02:00
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="boardLevelSavePos">
<property name="enabled">
2014-04-10 17:30:33 +02:00
<bool>false</bool>
</property>
2014-05-07 21:07:08 +02:00
<property name="text">
<string>Save Position</string>
</property>
2014-04-10 17:30:33 +02:00
</widget>
2011-12-24 13:57:10 -06:00
</item>
</layout>
</widget>
</item>
2014-04-10 17:30:33 +02:00
<item row="2" column="1">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>#3: Gyro bias calibration</string>
</property>
<layout class="QHBoxLayout">
<item>
<widget class="QPushButton" name="gyroBiasStart">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Start</string>
</property>
</widget>
</item>
<item>
<widget class="QProgressBar" name="gyroBiasProgress">
<property name="value">
<number>0</number>
</property>
<property name="textVisible">
2014-05-07 21:07:08 +02:00
<bool>true</bool>
2014-04-10 17:30:33 +02:00
</property>
</widget>
</item>
</layout>
</widget>
</item>
2014-04-10 22:43:47 +02:00
<item row="3" column="1">
2014-03-09 13:06:18 +01:00
<widget class="QGroupBox" name="groupBox_5">
2014-02-06 02:14:59 +01:00
<property name="title">
2014-04-10 17:30:33 +02:00
<string>#4*: Thermal calibration</string>
2011-12-24 13:57:10 -06:00
</property>
2014-04-10 17:30:33 +02:00
<layout class="QVBoxLayout">
2011-12-24 13:57:10 -06:00
<item>
2014-04-10 17:30:33 +02:00
<layout class="QHBoxLayout">
2011-12-24 13:57:10 -06:00
<item>
2014-03-09 13:06:18 +01:00
<widget class="QLabel" name="label_temperature">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
2014-01-28 00:13:13 +01:00
</property>
2014-03-09 13:06:18 +01:00
<property name="text">
<string>Temperature</string>
2014-01-28 00:13:13 +01:00
</property>
2014-03-09 13:06:18 +01:00
</widget>
2011-12-24 13:57:10 -06:00
</item>
<item>
2014-03-09 13:06:18 +01:00
<widget class="QLabel" name="textTemperature">
<property name="font">
<font>
<weight>50</weight>
<italic>true</italic>
<bold>false</bold>
</font>
2011-12-24 13:57:10 -06:00
</property>
2014-03-09 13:06:18 +01:00
<property name="text">
<string>0.00</string>
2011-12-24 13:57:10 -06:00
</property>
2014-01-28 00:13:13 +01:00
</widget>
</item>
<item>
2014-03-09 13:06:18 +01:00
<widget class="QLabel" name="label_thermalcal1">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>°C - Temperature rise</string>
2011-12-24 13:57:10 -06:00
</property>
</widget>
</item>
<item>
2014-03-09 13:06:18 +01:00
<widget class="QLabel" name="textThermalGradient">
<property name="font">
<font>
<weight>50</weight>
<italic>true</italic>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>0.5</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_thermalcal2">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>°C/min</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_thermalbias">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="label_thermalDescription">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>this contains the current status of the thermal calibration wizard</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_thermalbias2">
<item>
<widget class="QPushButton" name="ThermalBiasStart">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Start</string>
</property>
</widget>
</item>
<item>
<widget class="QProgressBar" name="thermalBiasProgress">
<property name="value">
<number>0</number>
</property>
<property name="textVisible">
2014-05-07 21:07:08 +02:00
<bool>true</bool>
2014-03-09 13:06:18 +01:00
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="ThermalBiasEnd">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>End</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="ThermalBiasCancel">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Cancel</string>
</property>
</widget>
2011-12-24 13:57:10 -06:00
</item>
</layout>
</item>
</layout>
</widget>
</item>
2014-03-09 13:06:18 +01:00
</layout>
2011-12-24 13:57:10 -06:00
</item>
</layout>
</widget>
<widget class="QWidget" name="tab">
2013-05-12 15:44:15 +02:00
<property name="autoFillBackground">
<bool>true</bool>
</property>
2011-12-24 13:57:10 -06:00
<attribute name="title">
<string>Settings</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
2013-06-04 19:36:33 +02:00
<layout class="QGridLayout" name="gridLayout_4">
2014-02-06 16:28:26 +01:00
<property name="leftMargin">
<number>6</number>
</property>
<property name="topMargin">
<number>6</number>
</property>
<property name="rightMargin">
<number>6</number>
</property>
<property name="bottomMargin">
2013-05-12 11:27:12 +02:00
<number>6</number>
</property>
2013-06-04 19:36:33 +02:00
<item row="1" column="1">
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>Rotate virtual attitude relative to board</string>
</property>
<layout class="QGridLayout" name="gridLayout" columnstretch="0,0,0,0,0,0">
<item row="1" column="2">
<spacer name="horizontalSpacer_8">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="3">
2014-04-10 01:47:37 +02:00
<widget class="QDoubleSpinBox" name="pitchRotation">
2013-06-04 19:36:33 +02:00
<property name="minimum">
2014-04-10 17:30:33 +02:00
<double>-90.000000000000000</double>
2013-06-04 19:36:33 +02:00
</property>
<property name="maximum">
2014-04-10 17:30:33 +02:00
<double>90.000000000000000</double>
2013-06-04 19:36:33 +02:00
</property>
</widget>
</item>
<item row="1" column="4">
<spacer name="horizontalSpacer_9">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_12">
<property name="minimumSize">
<size>
<width>70</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<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));
color: rgb(255, 255, 255);
border-radius: 5;
2014-05-06 21:52:32 -04:00
margin:1px;
font:bold;</string>
2013-06-04 19:36:33 +02:00
</property>
<property name="text">
<string>Roll</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="5">
<widget class="QLabel" name="label_13">
<property name="minimumSize">
<size>
<width>70</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<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));
color: rgb(255, 255, 255);
border-radius: 5;
2014-05-06 21:52:32 -04:00
margin:1px;
font:bold;</string>
2013-06-04 19:36:33 +02:00
</property>
<property name="text">
<string>Yaw</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="0">
<spacer name="horizontalSpacer_7">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1">
2014-04-10 01:47:37 +02:00
<widget class="QDoubleSpinBox" name="rollRotation">
2013-06-04 19:36:33 +02:00
<property name="minimum">
2014-04-10 17:30:33 +02:00
<double>-180.000000000000000</double>
2013-06-04 19:36:33 +02:00
</property>
<property name="maximum">
2014-04-10 17:30:33 +02:00
<double>180.000000000000000</double>
2013-06-04 19:36:33 +02:00
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QLabel" name="label_15">
<property name="minimumSize">
<size>
<width>70</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<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));
color: rgb(255, 255, 255);
border-radius: 5;
2014-05-06 21:52:32 -04:00
margin:1px;
font:bold;</string>
2013-06-04 19:36:33 +02:00
</property>
<property name="text">
<string>Pitch</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="5">
2014-04-10 01:47:37 +02:00
<widget class="QDoubleSpinBox" name="yawRotation">
2013-06-04 19:36:33 +02:00
<property name="minimum">
2014-04-10 17:30:33 +02:00
<double>-180.000000000000000</double>
2013-06-04 19:36:33 +02:00
</property>
<property name="maximum">
2014-04-10 17:30:33 +02:00
<double>180.000000000000000</double>
2013-06-04 19:36:33 +02:00
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>Filtering</string>
</property>
<layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0">
<widget class="QLabel" name="label_14">
2013-06-05 15:44:26 +02:00
<property name="toolTip">
2013-06-06 11:21:30 +02:00
<string/>
2013-06-05 15:44:26 +02:00
</property>
2013-06-04 19:36:33 +02:00
<property name="styleSheet">
<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));
color: rgb(255, 255, 255);
border-radius: 5;
2014-05-06 21:52:32 -04:00
margin:1px;
font:bold;</string>
2013-06-04 19:36:33 +02:00
</property>
<property name="text">
2013-06-05 13:42:47 +02:00
<string>Accelerometers</string>
2013-06-04 19:36:33 +02:00
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QDoubleSpinBox" name="accelTau">
2013-06-05 15:44:26 +02:00
<property name="toolTip">
2013-06-06 11:21:30 +02:00
<string>Accelerometer filtering.
Sets the amount of lowpass filtering of accelerometer data
for the attitude estimation. Higher values apply a stronger
filter, which may help with drifting in attitude mode.
Range: 0.00 - 0.20, Good starting value: 0.05 - 0.10
Start low and raise until drift stops.
A setting of 0.00 disables the filter.</string>
2013-06-05 15:44:26 +02:00
</property>
2013-06-04 19:36:33 +02:00
<property name="maximum">
<double>2.000000000000000</double>
</property>
<property name="singleStep">
<double>0.010000000000000</double>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="0">
2013-05-12 11:27:12 +02:00
<widget class="QGroupBox" name="groupBox_2">
<property name="sizePolicy">
2013-05-12 15:44:15 +02:00
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
2013-05-12 11:27:12 +02:00
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
2011-12-24 13:57:10 -06:00
</property>
2013-05-12 11:27:12 +02:00
<property name="title">
<string>Attitude Estimation Algorithm</string>
2011-12-24 13:57:10 -06:00
</property>
2013-05-12 11:27:12 +02:00
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
2011-12-24 13:57:10 -06:00
</property>
2013-05-12 11:27:12 +02:00
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0" alignment="Qt::AlignTop">
<widget class="QComboBox" name="FusionAlgorithm">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Selects the sensor integration algorithm to be used by the Revolution board.</string>
</property>
</widget>
</item>
<item row="1" column="0">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::MinimumExpanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
2011-12-24 13:57:10 -06:00
</widget>
</item>
2013-06-04 19:36:33 +02:00
<item row="0" column="1">
2013-05-12 11:27:12 +02:00
<widget class="QGroupBox" name="groupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
2011-12-24 13:57:10 -06:00
</property>
2013-05-12 11:27:12 +02:00
<property name="title">
<string>Home Location</string>
2011-12-24 13:57:10 -06:00
</property>
2013-05-12 11:27:12 +02:00
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
2011-12-24 13:57:10 -06:00
</property>
2013-05-12 11:27:12 +02:00
<layout class="QGridLayout" name="gridLayout_2">
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<item row="2" column="3">
<widget class="QLabel" name="label_10">
<property name="text">
<string>Gravity acceleration:</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Latitude:</string>
</property>
</widget>
</item>
<item row="2" column="5">
<widget class="QLineEdit" name="geBox">
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="objrelation" stdset="0">
<stringlist>
<string>objname:HomeLocation</string>
<string>fieldname:g_e</string>
</stringlist>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLineEdit" name="lattitudeBox">
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="objrelation" stdset="0">
<stringlist>
<string>objname:HomeLocation</string>
<string>fieldname:Latitude</string>
</stringlist>
</property>
</widget>
</item>
<item row="1" column="5">
<widget class="QLineEdit" name="beBox">
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Altitude:</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QLineEdit" name="altitudeBox">
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="objrelation" stdset="0">
<stringlist>
<string>objname:HomeLocation</string>
<string>fieldname:Altitude</string>
</stringlist>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QLabel" name="label_9">
<property name="text">
<string>Magnetic field vector:</string>
</property>
</widget>
</item>
<item row="0" column="0" colspan="6">
<widget class="QLabel" name="label_11">
<property name="text">
<string><html><head/><body><p>This information must be set to enable calibration the Revolution controllers sensors. <br/>Set home location using context menu in the map widget.</p></body></html></string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QLineEdit" name="longitudeBox">
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="objrelation" stdset="0">
<stringlist>
<string>objname:HomeLocation</string>
<string>fieldname:Longitude</string>
</stringlist>
</property>
</widget>
</item>
<item row="3" column="5">
<widget class="QCheckBox" name="isSetCheckBox">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Is Set</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="objrelation" stdset="0">
<stringlist>
<string>objname:HomeLocation</string>
<string>fieldname:Set</string>
</stringlist>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Longitude:</string>
</property>
</widget>
</item>
<item row="5" column="5" alignment="Qt::AlignRight">
<widget class="QPushButton" name="hlClearButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Clear</string>
</property>
</widget>
</item>
<item row="4" column="5">
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
2011-12-24 13:57:10 -06:00
</widget>
</item>
2013-06-04 19:36:33 +02:00
<item row="0" column="2">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>50</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
2011-12-24 13:57:10 -06:00
</layout>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
2013-05-12 11:27:12 +02:00
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
2011-12-24 13:57:10 -06:00
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
2013-05-12 11:27:12 +02:00
<height>100</height>
2011-12-24 13:57:10 -06:00
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="submitButtons">
<item>
<widget class="QLabel" name="calibInstructions">
<property name="text">
<string>Telemetry link not established.</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
2012-06-13 12:37:17 -05:00
<widget class="QPushButton" name="Help">
2011-12-24 13:57:10 -06:00
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="font">
<font>
<kerning>true</kerning>
</font>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../coreplugin/core.qrc">
<normaloff>:/core/images/helpicon.svg</normaloff>:/core/images/helpicon.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="shortcut">
<string>Ctrl+S</string>
</property>
<property name="default">
<bool>false</bool>
</property>
<property name="flat">
<bool>true</bool>
</property>
2012-06-13 13:08:04 -05:00
<property name="objrelation" stdset="0">
<stringlist>
<string>button:help</string>
2014-03-09 14:46:29 +01:00
<string>url:http://wiki.openpilot.org/display/Doc/Revolution+Manual+Sensor+Calibration</string>
2012-06-13 13:08:04 -05:00
</stringlist>
</property>
2011-12-24 13:57:10 -06:00
</widget>
</item>
<item>
2012-06-13 12:37:17 -05:00
<widget class="QPushButton" name="revoCalSettingsSaveRAM">
2011-12-24 13:57:10 -06:00
<property name="toolTip">
<string>Save settings to the board (RAM only).
This does not save the calibration settings, this is done using the
specific calibration button on top of the screen.</string>
</property>
<property name="text">
<string>Apply</string>
</property>
2012-06-13 13:08:04 -05:00
<property name="objrelation" stdset="0">
<string>button:apply</string>
</property>
2011-12-24 13:57:10 -06:00
</widget>
</item>
<item>
2012-06-13 12:37:17 -05:00
<widget class="QPushButton" name="revoCalSettingsSaveSD">
2011-12-24 13:57:10 -06:00
<property name="toolTip">
<string>Send settings to the board, and save to the non-volatile memory.</string>
</property>
<property name="text">
<string>Save</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
2012-06-13 13:08:04 -05:00
<property name="objrelation" stdset="0">
<string>button:save</string>
</property>
2011-12-24 13:57:10 -06:00
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<resources>
<include location="../coreplugin/core.qrc"/>
</resources>
<connections/>
</ui>