2011-04-08 22:17:41 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>OutputWidget</class>
|
|
|
|
<widget class="QWidget" name="OutputWidget">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2011-05-17 10:06:28 +02:00
|
|
|
<width>659</width>
|
2011-07-16 10:26:36 +02:00
|
|
|
<height>523</height>
|
2011-04-08 22:17:41 +02:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Form</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
2011-05-03 16:50:31 +02:00
|
|
|
<widget class="QFrame" name="frame">
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::StyledPanel</enum>
|
2011-04-08 22:17:41 +02:00
|
|
|
</property>
|
2011-05-03 16:50:31 +02:00
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>QFrame::Raised</enum>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>3</number>
|
|
|
|
</property>
|
|
|
|
<property name="spacing">
|
|
|
|
<number>2</number>
|
|
|
|
</property>
|
|
|
|
<item row="1" column="4">
|
|
|
|
<widget class="QSpinBox" name="outputRate4">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Setup "TurboPWM" here: usual value is 400 Hz for multirotor airframes.
|
|
|
|
Leave at 50Hz for fixed wing.</string>
|
|
|
|
</property>
|
2011-05-05 08:13:58 +02:00
|
|
|
<property name="maximum">
|
|
|
|
<number>400</number>
|
|
|
|
</property>
|
2011-05-03 16:50:31 +02:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="3">
|
|
|
|
<widget class="QLabel" name="chBank3">
|
|
|
|
<property name="text">
|
|
|
|
<string>-</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="2">
|
|
|
|
<widget class="QLabel" name="chBank2">
|
|
|
|
<property name="text">
|
|
|
|
<string>-</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QLabel" name="chBank1">
|
|
|
|
<property name="text">
|
|
|
|
<string>-</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="3">
|
|
|
|
<widget class="QSpinBox" name="outputRate3">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Setup "TurboPWM" here: usual value is 400 Hz for multirotor airframes.
|
|
|
|
Leave at 50Hz for fixed wing.</string>
|
|
|
|
</property>
|
2011-05-05 08:13:58 +02:00
|
|
|
<property name="maximum">
|
|
|
|
<number>400</number>
|
|
|
|
</property>
|
2011-05-03 16:50:31 +02:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="2">
|
|
|
|
<widget class="QSpinBox" name="outputRate2">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Setup "TurboPWM" here: usual value is 400 Hz for multirotor airframes.
|
|
|
|
Leave at 50Hz for fixed wing.</string>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
2011-05-05 08:13:58 +02:00
|
|
|
<number>400</number>
|
2011-05-03 16:50:31 +02:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QSpinBox" name="outputRate1">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Setup "TurboPWM" here: usual value is 400 Hz for multirotor airframes.
|
|
|
|
Leave at 50Hz for fixed wing.</string>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
2011-05-05 08:13:58 +02:00
|
|
|
<number>400</number>
|
2011-05-03 16:50:31 +02:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="4">
|
|
|
|
<widget class="QLabel" name="chBank4">
|
|
|
|
<property name="text">
|
|
|
|
<string>-</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="0">
|
2011-05-17 10:06:28 +02:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
2011-05-17 06:54:23 +02:00
|
|
|
<item>
|
2011-05-17 10:06:28 +02:00
|
|
|
<spacer name="horizontalSpacer_3">
|
2011-05-17 06:54:23 +02:00
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>QSizePolicy::Minimum</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
2011-05-17 10:06:28 +02:00
|
|
|
<widget class="QLabel" name="label_9">
|
2011-05-17 06:54:23 +02:00
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Channel:</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
2011-05-17 10:06:28 +02:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
2011-05-17 06:54:23 +02:00
|
|
|
<item>
|
2011-05-17 10:06:28 +02:00
|
|
|
<spacer name="horizontalSpacer_4">
|
2011-05-17 06:54:23 +02:00
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>QSizePolicy::Minimum</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Update rate:</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2011-05-03 16:50:31 +02:00
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2011-11-09 19:35:53 +01:00
|
|
|
<layout class="QVBoxLayout" name="channelLayout"/>
|
2011-05-03 16:50:31 +02:00
|
|
|
</item>
|
2011-05-05 07:23:51 +02:00
|
|
|
<item>
|
2011-05-17 06:54:23 +02:00
|
|
|
<spacer name="verticalSpacer_2">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
2011-05-05 07:23:51 +02:00
|
|
|
</property>
|
2011-05-17 06:54:23 +02:00
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
2011-05-17 10:06:28 +02:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
2011-05-17 06:54:23 +02:00
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="spinningArmed">
|
|
|
|
<property name="text">
|
|
|
|
<string>Motors spin at neutral output when armed and throttle below zero (be careful)</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2011-05-17 10:06:28 +02:00
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_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>
|
2011-05-17 06:54:23 +02:00
|
|
|
</layout>
|
2011-05-05 07:23:51 +02:00
|
|
|
</item>
|
2011-05-03 16:50:31 +02:00
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="channelOutTest">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>true</bool>
|
2011-04-08 22:17:41 +02:00
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
2011-05-03 16:50:31 +02:00
|
|
|
<string>Move the servos using the sliders. Two important things:
|
|
|
|
- Take extra care if the output is connected to an motor controller!
|
|
|
|
- Will only work if the RC receiver is working (failsafe)</string>
|
2011-04-08 22:17:41 +02:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2011-05-03 16:50:31 +02:00
|
|
|
<string>Test outputs</string>
|
2011-04-08 22:17:41 +02:00
|
|
|
</property>
|
|
|
|
</widget>
|
2011-05-03 16:50:31 +02:00
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
2011-04-08 22:17:41 +02:00
|
|
|
</property>
|
2011-05-03 16:50:31 +02:00
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
2011-04-08 22:17:41 +02:00
|
|
|
</property>
|
2011-05-03 16:50:31 +02:00
|
|
|
</spacer>
|
|
|
|
</item>
|
2011-05-31 21:20:38 +02:00
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="outputHelp">
|
|
|
|
<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="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="flat">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2011-05-03 16:50:31 +02:00
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="saveRCOutputToRAM">
|
2011-04-08 22:17:41 +02:00
|
|
|
<property name="toolTip">
|
2011-05-03 16:50:31 +02:00
|
|
|
<string>Send to OpenPilot but don't write in SD.
|
|
|
|
Be sure to set the Neutral position on all sliders before sending!</string>
|
2011-04-08 22:17:41 +02:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2011-05-03 16:50:31 +02:00
|
|
|
<string>Apply</string>
|
2011-04-08 22:17:41 +02:00
|
|
|
</property>
|
|
|
|
</widget>
|
2011-05-03 16:50:31 +02:00
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="saveRCOutputToSD">
|
2011-04-08 22:17:41 +02:00
|
|
|
<property name="toolTip">
|
2011-05-03 16:50:31 +02:00
|
|
|
<string>Be sure to set the Neutral position on all sliders before sending!
|
|
|
|
Applies and Saves all settings to SD</string>
|
2011-05-03 07:41:06 +02:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2011-05-03 16:50:31 +02:00
|
|
|
<string>Save</string>
|
2011-05-03 07:41:06 +02:00
|
|
|
</property>
|
|
|
|
</widget>
|
2011-05-03 16:50:31 +02:00
|
|
|
</item>
|
|
|
|
</layout>
|
2011-04-08 22:17:41 +02:00
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<tabstops>
|
2011-05-05 08:13:58 +02:00
|
|
|
<tabstop>outputRate1</tabstop>
|
|
|
|
<tabstop>outputRate2</tabstop>
|
|
|
|
<tabstop>outputRate3</tabstop>
|
|
|
|
<tabstop>outputRate4</tabstop>
|
|
|
|
<tabstop>channelOutTest</tabstop>
|
2011-04-08 22:17:41 +02:00
|
|
|
<tabstop>saveRCOutputToRAM</tabstop>
|
2011-05-05 08:13:58 +02:00
|
|
|
<tabstop>saveRCOutputToSD</tabstop>
|
2011-04-08 22:17:41 +02:00
|
|
|
</tabstops>
|
2011-05-17 06:54:23 +02:00
|
|
|
<resources>
|
2011-05-31 21:20:38 +02:00
|
|
|
<include location="../coreplugin/core.qrc"/>
|
2011-05-17 06:54:23 +02:00
|
|
|
</resources>
|
2011-04-08 22:17:41 +02:00
|
|
|
<connections/>
|
|
|
|
</ui>
|