2012-08-28 18:11:49 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>OutputCalibrationPage</class>
<widget class="QWizardPage" name="OutputCalibrationPage">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>600</width>
<height>400</height>
</rect>
</property>
<property name="windowTitle">
<string>WizardPage</string>
</property>
2012-09-03 01:01:57 +02:00
<widget class="QGraphicsView" name="vehicleView">
2012-08-28 18:11:49 +02:00
<property name="geometry">
<rect>
2012-09-03 01:01:57 +02:00
<x>300</x>
2012-08-28 18:11:49 +02:00
<y>40</y>
2012-09-03 01:01:57 +02:00
<width>270</width>
<height>270</height>
2012-08-28 18:11:49 +02:00
</rect>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
</widget>
2012-09-03 01:01:57 +02:00
<widget class="QStackedWidget" name="calibrationStack">
2012-08-28 18:11:49 +02:00
<property name="geometry">
<rect>
2012-09-03 01:01:57 +02:00
<x>20</x>
<y>40</y>
<width>270</width>
<height>291</height>
2012-08-28 18:11:49 +02:00
</rect>
</property>
2012-09-03 01:01:57 +02:00
<property name="currentIndex">
2012-09-09 23:44:42 +02:00
<number>5</number>
2012-08-28 18:11:49 +02:00
</property>
2012-09-03 01:01:57 +02:00
<widget class="QWidget" name="intro">
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>0</x>
<y>10</y>
<width>261</width>
<height>281</height>
</rect>
</property>
<property name="text">
2012-09-07 07:35:43 +02:00
<string><html><head/><body><p><span style=" font-size:10pt;">It is now time to calibrate the output levels for the signals controlling your vehichle. </span></p><p align="center"><span style=" font-size:10pt; font-weight:600; color:#ff0000;">VERY IMPORTANT!</span><span style=" font-size:10pt;"><br/></span><span style=" font-size:10pt; font-weight:600; color:#ff0000;">REMOVE ALL PROPELLERS FROM THE VEHICHLE BEFORE PROCEEDING!</span></p><p><span style=" font-size:10pt; color:#000000;">Connect all components according to the illustration on the previous page and provide power using an external power supply like a battery to continue.</span></p><p><span style=" font-size:10pt;">Depending on what vehichle you have selected, both motors controlled by ESC and servos controlled directly by the OpenPilot controller may have to be calibrated. <br/>The following steps will guide you safely through this process.</span></p></body></html></string>
2012-09-03 01:01:57 +02:00
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</widget>
<widget class="QWidget" name="motorNeutral">
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>0</x>
<y>10</y>
<width>261</width>
<height>141</height>
</rect>
</property>
<property name="text">
<string><html><head/><body><p>In this step we will set the neutral rate for the motor highlighted in the illustration to the right. <br/>Plase pay attention to the details and in particular the motors position and its rotation direction.</p><p>To find the neutral rate for this engine, press the Start button below and slide the slider to the right until the engine just starts to spin stably. <br/><br/>When done press button again to stop.</p></body></html></string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
<widget class="QSlider" name="motorNeutralSlider">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>200</y>
<width>241</width>
<height>19</height>
</rect>
</property>
<property name="minimum">
<number>1000</number>
</property>
<property name="maximum">
2012-09-05 00:58:53 +02:00
<number>1300</number>
2012-09-03 01:01:57 +02:00
</property>
<property name="singleStep">
<number>10</number>
</property>
<property name="pageStep">
<number>20</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="invertedAppearance">
<bool>false</bool>
</property>
<property name="tickPosition">
<enum>QSlider::TicksBelow</enum>
</property>
<property name="tickInterval">
<number>20</number>
</property>
</widget>
<widget class="QPushButton" name="motorNeutralButton">
<property name="geometry">
<rect>
<x>90</x>
<y>240</y>
<width>75</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Start</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</widget>
<widget class="QWidget" name="motorMax">
<widget class="QPushButton" name="motorMaxButton">
<property name="geometry">
<rect>
<x>90</x>
<y>240</y>
<width>75</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Start</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>0</x>
<y>10</y>
<width>261</width>
<height>171</height>
</rect>
</property>
<property name="text">
<string><html><head/><body><p>Now it is time to find out the maximum rate for the motor highlighted in the illustration to the right. </p><p>To find the maximum rate for this engine, press the Start button below and slide the slider to the left until the engine just starts to slow down.</p><p>Running a brushless motor for a long time without proper cooling can in theory damage it. Therefore do not leave the motor running at full rate longer than neccesary.<br/><br/>When done press button again to stop.</p></body></html></string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
<widget class="QSlider" name="motorMaxSlider">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>200</y>
<width>241</width>
<height>19</height>
</rect>
</property>
<property name="minimum">
2012-09-05 00:58:53 +02:00
<number>1400</number>
2012-09-03 01:01:57 +02:00
</property>
<property name="maximum">
<number>2000</number>
</property>
<property name="singleStep">
<number>10</number>
</property>
<property name="pageStep">
<number>20</number>
</property>
<property name="value">
<number>2000</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="invertedAppearance">
<bool>false</bool>
</property>
<property name="invertedControls">
<bool>false</bool>
</property>
<property name="tickPosition">
<enum>QSlider::TicksBelow</enum>
</property>
<property name="tickInterval">
<number>20</number>
</property>
</widget>
</widget>
<widget class="QWidget" name="servoNeutral">
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>0</x>
<y>10</y>
<width>261</width>
<height>141</height>
</rect>
</property>
<property name="text">
<string><html><head/><body><p>This step calibrates the center position of the servo. To set the center position for this servo, press the Start button below and slide the slider to center the servo. </p><p>When done press button again to stop.</p></body></html></string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
<widget class="QSlider" name="servoCenterSlider">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>200</y>
<width>241</width>
<height>19</height>
</rect>
</property>
<property name="minimum">
<number>1000</number>
</property>
<property name="maximum">
<number>2000</number>
</property>
<property name="singleStep">
<number>10</number>
</property>
<property name="pageStep">
<number>20</number>
</property>
<property name="value">
<number>1500</number>
</property>
<property name="tracking">
2012-09-05 00:58:53 +02:00
<bool>true</bool>
2012-09-03 01:01:57 +02:00
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="invertedAppearance">
<bool>false</bool>
</property>
<property name="invertedControls">
<bool>false</bool>
</property>
<property name="tickPosition">
<enum>QSlider::TicksBelow</enum>
</property>
<property name="tickInterval">
<number>40</number>
</property>
</widget>
<widget class="QPushButton" name="servoCenterButton">
<property name="geometry">
<rect>
<x>90</x>
<y>240</y>
<width>75</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Start</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</widget>
<widget class="QWidget" name="servoMinMax">
2012-09-09 23:44:42 +02:00
<widget class="QPushButton" name="servoMinAngleButton">
2012-09-03 01:01:57 +02:00
<property name="geometry">
<rect>
<x>90</x>
<y>240</y>
<width>75</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Start</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
<widget class="QLabel" name="label_7">
<property name="geometry">
<rect>
<x>0</x>
<y>10</y>
<width>261</width>
<height>151</height>
</rect>
</property>
<property name="text">
2012-09-09 23:44:42 +02:00
<string><html><head/><body><p>To save the servo and other hardware from damage we have to set the max and min angles for the servo. </p><p>To set the minimum angle for the servo, press the Start button below and select the top slider and slide it to the left until min angle is reached.</p><p>When done press button again to stop.</p></body></html></string>
2012-09-03 01:01:57 +02:00
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
2012-09-09 23:44:42 +02:00
<widget class="QSlider" name="servoMinAngleSlider">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>200</y>
<width>241</width>
<height>20</height>
</rect>
</property>
<property name="minimum">
<number>1000</number>
</property>
<property name="maximum">
<number>1500</number>
</property>
<property name="singleStep">
<number>10</number>
</property>
<property name="pageStep">
<number>20</number>
</property>
<property name="value">
<number>1500</number>
</property>
<property name="tracking">
<bool>true</bool>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="invertedAppearance">
<bool>false</bool>
</property>
<property name="invertedControls">
<bool>false</bool>
</property>
<property name="tickPosition">
<enum>QSlider::TicksBelow</enum>
</property>
<property name="tickInterval">
<number>40</number>
</property>
</widget>
</widget>
<widget class="QWidget" name="page">
<widget class="QPushButton" name="servoMaxAngleButton">
<property name="geometry">
<rect>
<x>90</x>
<y>240</y>
<width>75</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Start</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
<widget class="QSlider" name="servoMaxAngleSlider">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>200</y>
<width>241</width>
<height>20</height>
</rect>
</property>
<property name="minimum">
<number>1500</number>
</property>
<property name="maximum">
<number>2000</number>
</property>
<property name="singleStep">
<number>10</number>
</property>
<property name="pageStep">
<number>20</number>
</property>
<property name="value">
<number>1500</number>
</property>
<property name="tracking">
<bool>true</bool>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="invertedAppearance">
<bool>false</bool>
</property>
<property name="invertedControls">
<bool>false</bool>
</property>
<property name="tickPosition">
<enum>QSlider::TicksBelow</enum>
</property>
<property name="tickInterval">
<number>40</number>
</property>
</widget>
<widget class="QLabel" name="label_8">
2012-09-03 01:01:57 +02:00
<property name="geometry">
<rect>
<x>0</x>
2012-09-09 23:44:42 +02:00
<y>10</y>
2012-09-03 01:01:57 +02:00
<width>261</width>
2012-09-09 23:44:42 +02:00
<height>151</height>
2012-09-03 01:01:57 +02:00
</rect>
</property>
2012-09-09 23:44:42 +02:00
<property name="text">
<string><html><head/><body><p>To set the maximum angle for the servo, press the Start button below and select the top slider and slide it to the right until max angle is reached.</p><p>When done press button again to stop.</p></body></html></string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
2012-09-03 01:01:57 +02:00
</widget>
</widget>
2012-08-28 18:11:49 +02:00
</widget>
2012-09-03 01:01:57 +02:00
<widget class="QLabel" name="label_2">
2012-08-28 18:11:49 +02:00
<property name="geometry">
<rect>
2012-09-03 01:01:57 +02:00
<x>20</x>
<y>20</y>
<width>531</width>
<height>16</height>
2012-08-28 18:11:49 +02:00
</rect>
</property>
2012-09-03 01:01:57 +02:00
<property name="font">
<font>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
2012-08-28 18:11:49 +02:00
</property>
2012-09-03 01:01:57 +02:00
<property name="text">
<string>Output calibration</string>
2012-08-28 18:11:49 +02:00
</property>
2012-09-03 01:01:57 +02:00
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
2012-08-28 18:11:49 +02:00
</property>
</widget>
2012-09-03 01:01:57 +02:00
<widget class="QPushButton" name="nextPageButton">
2012-08-28 18:11:49 +02:00
<property name="geometry">
<rect>
2012-09-03 01:01:57 +02:00
<x>148</x>
2012-08-28 18:11:49 +02:00
<y>340</y>
2012-09-03 01:01:57 +02:00
<width>75</width>
<height>23</height>
2012-08-28 18:11:49 +02:00
</rect>
</property>
2012-09-03 01:01:57 +02:00
<property name="text">
<string>></string>
2012-08-28 18:11:49 +02:00
</property>
2012-09-03 01:01:57 +02:00
</widget>
<widget class="QPushButton" name="backPageButton">
<property name="enabled">
<bool>false</bool>
2012-08-28 18:11:49 +02:00
</property>
2012-09-03 01:01:57 +02:00
<property name="geometry">
<rect>
<x>68</x>
<y>340</y>
<width>75</width>
<height>23</height>
</rect>
2012-08-28 18:11:49 +02:00
</property>
2012-09-03 01:01:57 +02:00
<property name="text">
<string><</string>
2012-08-28 18:11:49 +02:00
</property>
</widget>
</widget>
<resources/>
2012-09-03 01:01:57 +02:00
<connections>
<connection>
2012-09-09 23:44:42 +02:00
<sender>motorNeutralButton</sender>
2012-09-03 01:01:57 +02:00
<signal>toggled(bool)</signal>
2012-09-09 23:44:42 +02:00
<receiver>motorNeutralSlider</receiver>
2012-09-03 01:01:57 +02:00
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
2012-09-09 23:44:42 +02:00
<x>147</x>
<y>291</y>
2012-09-03 01:01:57 +02:00
</hint>
<hint type="destinationlabel">
2012-09-09 23:44:42 +02:00
<x>150</x>
2012-09-03 01:01:57 +02:00
<y>249</y>
</hint>
</hints>
</connection>
<connection>
2012-09-09 23:44:42 +02:00
<sender>motorMaxButton</sender>
2012-09-03 01:01:57 +02:00
<signal>toggled(bool)</signal>
2012-09-09 23:44:42 +02:00
<receiver>motorMaxSlider</receiver>
2012-09-03 01:01:57 +02:00
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>147</x>
<y>291</y>
</hint>
<hint type="destinationlabel">
<x>150</x>
<y>249</y>
</hint>
</hints>
</connection>
<connection>
2012-09-09 23:44:42 +02:00
<sender>servoCenterButton</sender>
2012-09-03 01:01:57 +02:00
<signal>toggled(bool)</signal>
2012-09-09 23:44:42 +02:00
<receiver>servoCenterSlider</receiver>
2012-09-03 01:01:57 +02:00
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>147</x>
<y>291</y>
</hint>
<hint type="destinationlabel">
<x>150</x>
<y>249</y>
</hint>
</hints>
</connection>
<connection>
2012-09-09 23:44:42 +02:00
<sender>servoMaxAngleButton</sender>
2012-09-03 01:01:57 +02:00
<signal>toggled(bool)</signal>
2012-09-09 23:44:42 +02:00
<receiver>servoMaxAngleSlider</receiver>
2012-09-03 01:01:57 +02:00
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>147</x>
<y>291</y>
</hint>
<hint type="destinationlabel">
<x>150</x>
<y>249</y>
</hint>
</hints>
</connection>
<connection>
2012-09-09 23:44:42 +02:00
<sender>servoMinAngleButton</sender>
2012-09-03 01:01:57 +02:00
<signal>toggled(bool)</signal>
2012-09-09 23:44:42 +02:00
<receiver>servoMinAngleSlider</receiver>
2012-09-03 01:01:57 +02:00
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>147</x>
<y>291</y>
</hint>
<hint type="destinationlabel">
<x>150</x>
2012-09-09 23:44:42 +02:00
<y>249</y>
2012-09-03 01:01:57 +02:00
</hint>
</hints>
</connection>
</connections>
2012-08-28 18:11:49 +02:00
</ui>