mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
Started to modify UI for ccpm mixing to integrate it into the look and feel of the config gadget.
Most of the functionality has not been implemented yet. NONE of this has not been tested in it's current form. Use at own risk! git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1942 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
d64892069a
commit
f7bf258a50
@ -1,1026 +1,1604 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<ui version="4.0">
|
<ui version="4.0">
|
||||||
<class>ccpmWidget</class>
|
<class>ccpmWidget</class>
|
||||||
<widget class="QWidget" name="ccpmWidget">
|
<widget class="QWidget" name="ccpmWidget">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>720</width>
|
<width>806</width>
|
||||||
<height>435</height>
|
<height>822</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Form</string>
|
<string>Form</string>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QTabWidget" name="TabObject">
|
<widget class="QTabWidget" name="TabObject">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>10</x>
|
<x>10</x>
|
||||||
<y>10</y>
|
<y>10</y>
|
||||||
<width>691</width>
|
<width>1096</width>
|
||||||
<height>381</height>
|
<height>541</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tab">
|
<widget class="QWidget" name="tab">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
<string>Basic settings</string>
|
<string>Basic settings</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
<widget class="QComboBox" name="ccpmType">
|
<widget class="QComboBox" name="ccpmType">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>110</x>
|
<x>110</x>
|
||||||
<y>10</y>
|
<y>10</y>
|
||||||
<width>551</width>
|
<width>551</width>
|
||||||
<height>21</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>10</pointsize>
|
<pointsize>10</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Select aircraft type here</string>
|
<string>Select aircraft type here</string>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>3 servo 120º - single servo rear</string>
|
<string>Custom - Advanced settings</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
</widget>
|
||||||
<property name="text">
|
<widget class="QLabel" name="label">
|
||||||
<string>Custom - Advanced settings</string>
|
<property name="geometry">
|
||||||
</property>
|
<rect>
|
||||||
</item>
|
<x>10</x>
|
||||||
</widget>
|
<y>10</y>
|
||||||
<widget class="QLabel" name="label">
|
<width>91</width>
|
||||||
<property name="geometry">
|
<height>21</height>
|
||||||
<rect>
|
</rect>
|
||||||
<x>10</x>
|
</property>
|
||||||
<y>10</y>
|
<property name="text">
|
||||||
<width>91</width>
|
<string>Swashplate config:</string>
|
||||||
<height>21</height>
|
</property>
|
||||||
</rect>
|
</widget>
|
||||||
</property>
|
<widget class="QWidget" name="">
|
||||||
<property name="text">
|
<property name="geometry">
|
||||||
<string>Swashplate config:</string>
|
<rect>
|
||||||
</property>
|
<x>11</x>
|
||||||
</widget>
|
<y>60</y>
|
||||||
</widget>
|
<width>764</width>
|
||||||
<widget class="QWidget" name="tab_3">
|
<height>427</height>
|
||||||
<attribute name="title">
|
</rect>
|
||||||
<string>Curve settings</string>
|
</property>
|
||||||
</attribute>
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
<widget class="QTableWidget" name="CurveSettings">
|
<item>
|
||||||
<property name="geometry">
|
<layout class="QFormLayout" name="formLayout">
|
||||||
<rect>
|
<property name="fieldGrowthPolicy">
|
||||||
<x>20</x>
|
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
|
||||||
<y>190</y>
|
</property>
|
||||||
<width>261</width>
|
<item row="1" column="1">
|
||||||
<height>141</height>
|
<widget class="QGroupBox" name="SwashplateBox_2">
|
||||||
</rect>
|
<property name="title">
|
||||||
</property>
|
<string>Outputs</string>
|
||||||
<property name="font">
|
</property>
|
||||||
<font>
|
<layout class="QVBoxLayout" name="verticalLayout_16">
|
||||||
<pointsize>8</pointsize>
|
<item>
|
||||||
</font>
|
<layout class="QFormLayout" name="formLayout_3">
|
||||||
</property>
|
<item row="0" column="0">
|
||||||
<property name="verticalScrollBarPolicy">
|
<widget class="QLabel" name="ccpmEngineLabel">
|
||||||
<enum>Qt::ScrollBarAlwaysOn</enum>
|
<property name="text">
|
||||||
</property>
|
<string>Engine</string>
|
||||||
<property name="horizontalScrollBarPolicy">
|
</property>
|
||||||
<enum>Qt::ScrollBarAlwaysOff</enum>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
<property name="autoScroll">
|
<item row="0" column="1">
|
||||||
<bool>false</bool>
|
<widget class="QComboBox" name="ccpmEngineChannel"/>
|
||||||
</property>
|
</item>
|
||||||
<property name="alternatingRowColors">
|
<item row="1" column="0">
|
||||||
<bool>true</bool>
|
<widget class="QLabel" name="ccpmTailLabel">
|
||||||
</property>
|
<property name="minimumSize">
|
||||||
<row>
|
<size>
|
||||||
<property name="text">
|
<width>60</width>
|
||||||
<string>0%</string>
|
<height>0</height>
|
||||||
</property>
|
</size>
|
||||||
</row>
|
</property>
|
||||||
<row>
|
<property name="text">
|
||||||
<property name="text">
|
<string>Tail Rotor</string>
|
||||||
<string>25%</string>
|
</property>
|
||||||
</property>
|
</widget>
|
||||||
</row>
|
</item>
|
||||||
<row>
|
<item row="1" column="1">
|
||||||
<property name="text">
|
<widget class="QComboBox" name="ccpmTailChannel"/>
|
||||||
<string>50%</string>
|
</item>
|
||||||
</property>
|
</layout>
|
||||||
</row>
|
</item>
|
||||||
<row>
|
</layout>
|
||||||
<property name="text">
|
</widget>
|
||||||
<string>75%</string>
|
</item>
|
||||||
</property>
|
<item row="2" column="1">
|
||||||
</row>
|
<widget class="QGroupBox" name="SwashplateBox">
|
||||||
<row>
|
<property name="title">
|
||||||
<property name="text">
|
<string>Swashplate Outputs</string>
|
||||||
<string>100%</string>
|
</property>
|
||||||
</property>
|
<layout class="QVBoxLayout" name="verticalLayout_13">
|
||||||
</row>
|
<item>
|
||||||
<row>
|
<layout class="QFormLayout" name="formLayout_2">
|
||||||
<property name="text">
|
<property name="fieldGrowthPolicy">
|
||||||
<string>none</string>
|
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
|
||||||
</property>
|
</property>
|
||||||
</row>
|
<item row="0" column="0">
|
||||||
<row>
|
<widget class="QLabel" name="ccpmServoWLabel">
|
||||||
<property name="text">
|
<property name="enabled">
|
||||||
<string>none</string>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
</row>
|
<property name="sizePolicy">
|
||||||
<row>
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
||||||
<property name="text">
|
<horstretch>1</horstretch>
|
||||||
<string>none</string>
|
<verstretch>1</verstretch>
|
||||||
</property>
|
</sizepolicy>
|
||||||
</row>
|
</property>
|
||||||
<row>
|
<property name="minimumSize">
|
||||||
<property name="text">
|
<size>
|
||||||
<string>none</string>
|
<width>50</width>
|
||||||
</property>
|
<height>0</height>
|
||||||
</row>
|
</size>
|
||||||
<row>
|
</property>
|
||||||
<property name="text">
|
<property name="maximumSize">
|
||||||
<string>none</string>
|
<size>
|
||||||
</property>
|
<width>85</width>
|
||||||
</row>
|
<height>16777215</height>
|
||||||
<column>
|
</size>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Throttle Curve</string>
|
<property name="text">
|
||||||
</property>
|
<string>Servo W</string>
|
||||||
<property name="textAlignment">
|
</property>
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
</column>
|
<item row="0" column="1">
|
||||||
<column>
|
<widget class="QComboBox" name="ccpmServoWChannel">
|
||||||
<property name="text">
|
<property name="enabled">
|
||||||
<string>Blade Pitch Curve</string>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="textAlignment">
|
<property name="sizePolicy">
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
</property>
|
<horstretch>0</horstretch>
|
||||||
</column>
|
<verstretch>0</verstretch>
|
||||||
<item row="0" column="0">
|
</sizepolicy>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>0</string>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
<property name="textAlignment">
|
<item row="1" column="1">
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
<widget class="QComboBox" name="ccpmServoXChannel">
|
||||||
</property>
|
<property name="sizePolicy">
|
||||||
</item>
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
<item row="0" column="1">
|
<horstretch>0</horstretch>
|
||||||
<property name="text">
|
<verstretch>0</verstretch>
|
||||||
<string>0</string>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="textAlignment">
|
</widget>
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
</item>
|
||||||
</property>
|
<item row="2" column="0">
|
||||||
</item>
|
<widget class="QLabel" name="ccpmServoYLabel">
|
||||||
<item row="1" column="0">
|
<property name="enabled">
|
||||||
<property name="text">
|
<bool>true</bool>
|
||||||
<string>.25</string>
|
</property>
|
||||||
</property>
|
<property name="sizePolicy">
|
||||||
<property name="textAlignment">
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
<horstretch>1</horstretch>
|
||||||
</property>
|
<verstretch>1</verstretch>
|
||||||
</item>
|
</sizepolicy>
|
||||||
<item row="1" column="1">
|
</property>
|
||||||
<property name="text">
|
<property name="minimumSize">
|
||||||
<string>.25</string>
|
<size>
|
||||||
</property>
|
<width>50</width>
|
||||||
<property name="textAlignment">
|
<height>0</height>
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
<property name="maximumSize">
|
||||||
<item row="2" column="0">
|
<size>
|
||||||
<property name="text">
|
<width>85</width>
|
||||||
<string>.5</string>
|
<height>16777215</height>
|
||||||
</property>
|
</size>
|
||||||
<property name="textAlignment">
|
</property>
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
<property name="text">
|
||||||
</property>
|
<string>Servo Y</string>
|
||||||
</item>
|
</property>
|
||||||
<item row="2" column="1">
|
</widget>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>.5</string>
|
<item row="2" column="1">
|
||||||
</property>
|
<widget class="QComboBox" name="ccpmServoYChannel">
|
||||||
<property name="textAlignment">
|
<property name="enabled">
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
<property name="sizePolicy">
|
||||||
<item row="3" column="0">
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
<property name="text">
|
<horstretch>0</horstretch>
|
||||||
<string>.75</string>
|
<verstretch>0</verstretch>
|
||||||
</property>
|
</sizepolicy>
|
||||||
<property name="textAlignment">
|
</property>
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
</item>
|
<item row="3" column="0">
|
||||||
<item row="3" column="1">
|
<widget class="QLabel" name="ccpmServoZLabel">
|
||||||
<property name="text">
|
<property name="sizePolicy">
|
||||||
<string>.75</string>
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
||||||
</property>
|
<horstretch>1</horstretch>
|
||||||
<property name="textAlignment">
|
<verstretch>1</verstretch>
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
<property name="minimumSize">
|
||||||
<item row="4" column="0">
|
<size>
|
||||||
<property name="text">
|
<width>50</width>
|
||||||
<string>1</string>
|
<height>0</height>
|
||||||
</property>
|
</size>
|
||||||
<property name="textAlignment">
|
</property>
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
<property name="maximumSize">
|
||||||
</property>
|
<size>
|
||||||
</item>
|
<width>85</width>
|
||||||
<item row="4" column="1">
|
<height>16777215</height>
|
||||||
<property name="text">
|
</size>
|
||||||
<string>1</string>
|
</property>
|
||||||
</property>
|
<property name="text">
|
||||||
<property name="textAlignment">
|
<string>Servo Z</string>
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
</property>
|
||||||
</property>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="5" column="0">
|
<item row="3" column="1">
|
||||||
<property name="text">
|
<widget class="QComboBox" name="ccpmServoZChannel">
|
||||||
<string>-</string>
|
<property name="sizePolicy">
|
||||||
</property>
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
<property name="textAlignment">
|
<horstretch>0</horstretch>
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
<verstretch>0</verstretch>
|
||||||
</property>
|
</sizepolicy>
|
||||||
</item>
|
</property>
|
||||||
<item row="5" column="1">
|
</widget>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>-</string>
|
<item row="1" column="0">
|
||||||
</property>
|
<widget class="QLabel" name="ccpmServoXLabel">
|
||||||
<property name="textAlignment">
|
<property name="sizePolicy">
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
||||||
</property>
|
<horstretch>1</horstretch>
|
||||||
</item>
|
<verstretch>1</verstretch>
|
||||||
<item row="6" column="0">
|
</sizepolicy>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>-</string>
|
<property name="minimumSize">
|
||||||
</property>
|
<size>
|
||||||
<property name="textAlignment">
|
<width>50</width>
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
<height>0</height>
|
||||||
</property>
|
</size>
|
||||||
</item>
|
</property>
|
||||||
<item row="6" column="1">
|
<property name="maximumSize">
|
||||||
<property name="text">
|
<size>
|
||||||
<string>-</string>
|
<width>85</width>
|
||||||
</property>
|
<height>16777215</height>
|
||||||
<property name="textAlignment">
|
</size>
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
</property>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>Servo X</string>
|
||||||
<item row="7" column="0">
|
</property>
|
||||||
<property name="text">
|
</widget>
|
||||||
<string>-</string>
|
</item>
|
||||||
</property>
|
<item row="4" column="1">
|
||||||
<property name="textAlignment">
|
<widget class="QComboBox" name="ccpmServoZChannel_2">
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
<property name="sizePolicy">
|
||||||
</property>
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
</item>
|
<horstretch>0</horstretch>
|
||||||
<item row="7" column="1">
|
<verstretch>0</verstretch>
|
||||||
<property name="text">
|
</sizepolicy>
|
||||||
<string>-</string>
|
</property>
|
||||||
</property>
|
<item>
|
||||||
<property name="textAlignment">
|
<property name="text">
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
<string>Front</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item row="8" column="0">
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>-</string>
|
<string>Rear</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="textAlignment">
|
</item>
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
</item>
|
<item row="4" column="0">
|
||||||
<item row="8" column="1">
|
<widget class="QLabel" name="ccpmServoZLabel_3">
|
||||||
<property name="text">
|
<property name="sizePolicy">
|
||||||
<string>-</string>
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
||||||
</property>
|
<horstretch>1</horstretch>
|
||||||
<property name="textAlignment">
|
<verstretch>1</verstretch>
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
<property name="minimumSize">
|
||||||
<item row="9" column="0">
|
<size>
|
||||||
<property name="text">
|
<width>50</width>
|
||||||
<string>-</string>
|
<height>0</height>
|
||||||
</property>
|
</size>
|
||||||
<property name="textAlignment">
|
</property>
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
<property name="maximumSize">
|
||||||
</property>
|
<size>
|
||||||
</item>
|
<width>85</width>
|
||||||
<item row="9" column="1">
|
<height>16777215</height>
|
||||||
<property name="text">
|
</size>
|
||||||
<string>-</string>
|
</property>
|
||||||
</property>
|
<property name="text">
|
||||||
<property name="textAlignment">
|
<string>Single Servo</string>
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
</property>
|
||||||
</property>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</widget>
|
</layout>
|
||||||
<widget class="QComboBox" name="CurveType">
|
</item>
|
||||||
<property name="geometry">
|
</layout>
|
||||||
<rect>
|
</widget>
|
||||||
<x>20</x>
|
</item>
|
||||||
<y>20</y>
|
<item row="3" column="1">
|
||||||
<width>271</width>
|
<widget class="QGroupBox" name="SwashplateBox_3">
|
||||||
<height>21</height>
|
<property name="title">
|
||||||
</rect>
|
<string>Swashplate Servo Angles</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="font">
|
<layout class="QVBoxLayout" name="verticalLayout_15">
|
||||||
<font>
|
<item>
|
||||||
<pointsize>10</pointsize>
|
<layout class="QFormLayout" name="formLayout_4">
|
||||||
</font>
|
<property name="fieldGrowthPolicy">
|
||||||
</property>
|
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
|
||||||
<property name="toolTip">
|
</property>
|
||||||
<string>Select aircraft type here</string>
|
<item row="1" column="0">
|
||||||
</property>
|
<widget class="QLabel" name="ccpmServoWLabel_2">
|
||||||
<item>
|
<property name="enabled">
|
||||||
<property name="text">
|
<bool>true</bool>
|
||||||
<string>Linear</string>
|
</property>
|
||||||
</property>
|
<property name="minimumSize">
|
||||||
</item>
|
<size>
|
||||||
<item>
|
<width>60</width>
|
||||||
<property name="text">
|
<height>0</height>
|
||||||
<string>Flat</string>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
<property name="text">
|
||||||
<item>
|
<string>Angle W</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Step</string>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
</item>
|
<item row="1" column="1">
|
||||||
<item>
|
<widget class="QDoubleSpinBox" name="ccpmAngleW">
|
||||||
<property name="text">
|
<property name="decimals">
|
||||||
<string>Custom</string>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
<property name="maximum">
|
||||||
</widget>
|
<double>360.000000000000000</double>
|
||||||
<widget class="QSpinBox" name="NumCurvePoints">
|
</property>
|
||||||
<property name="geometry">
|
<property name="singleStep">
|
||||||
<rect>
|
<double>15.000000000000000</double>
|
||||||
<x>180</x>
|
</property>
|
||||||
<y>50</y>
|
</widget>
|
||||||
<width>51</width>
|
</item>
|
||||||
<height>22</height>
|
<item row="2" column="0">
|
||||||
</rect>
|
<widget class="QLabel" name="ccpmServoXLabel_2">
|
||||||
</property>
|
<property name="minimumSize">
|
||||||
<property name="minimum">
|
<size>
|
||||||
<number>2</number>
|
<width>67</width>
|
||||||
</property>
|
<height>0</height>
|
||||||
<property name="maximum">
|
</size>
|
||||||
<number>10</number>
|
</property>
|
||||||
</property>
|
<property name="text">
|
||||||
<property name="value">
|
<string>Angle X</string>
|
||||||
<number>5</number>
|
</property>
|
||||||
</property>
|
</widget>
|
||||||
</widget>
|
</item>
|
||||||
<widget class="QLabel" name="label_2">
|
<item row="3" column="0">
|
||||||
<property name="geometry">
|
<widget class="QLabel" name="ccpmServoYLabel_2">
|
||||||
<rect>
|
<property name="enabled">
|
||||||
<x>80</x>
|
<bool>true</bool>
|
||||||
<y>50</y>
|
</property>
|
||||||
<width>91</width>
|
<property name="minimumSize">
|
||||||
<height>16</height>
|
<size>
|
||||||
</rect>
|
<width>67</width>
|
||||||
</property>
|
<height>0</height>
|
||||||
<property name="text">
|
</size>
|
||||||
<string>Number of points</string>
|
</property>
|
||||||
</property>
|
<property name="text">
|
||||||
</widget>
|
<string>Angle Y</string>
|
||||||
<widget class="QPushButton" name="ccpmGenerateCurve">
|
</property>
|
||||||
<property name="geometry">
|
</widget>
|
||||||
<rect>
|
</item>
|
||||||
<x>150</x>
|
<item row="4" column="0">
|
||||||
<y>140</y>
|
<widget class="QLabel" name="ccpmServoZLabel_2">
|
||||||
<width>121</width>
|
<property name="text">
|
||||||
<height>27</height>
|
<string>Angle Z</string>
|
||||||
</rect>
|
</property>
|
||||||
</property>
|
</widget>
|
||||||
<property name="toolTip">
|
</item>
|
||||||
<string>Generate curves based on settings</string>
|
<item row="4" column="1">
|
||||||
</property>
|
<widget class="QDoubleSpinBox" name="ccpmAngleZ">
|
||||||
<property name="text">
|
<property name="decimals">
|
||||||
<string><-- Generate Curve</string>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
<property name="maximum">
|
||||||
<widget class="QDoubleSpinBox" name="CurveValue1">
|
<double>360.000000000000000</double>
|
||||||
<property name="geometry">
|
</property>
|
||||||
<rect>
|
<property name="singleStep">
|
||||||
<x>40</x>
|
<double>15.000000000000000</double>
|
||||||
<y>100</y>
|
</property>
|
||||||
<width>62</width>
|
</widget>
|
||||||
<height>22</height>
|
</item>
|
||||||
</rect>
|
<item row="3" column="1">
|
||||||
</property>
|
<widget class="QDoubleSpinBox" name="ccpmAngleY">
|
||||||
<property name="decimals">
|
<property name="decimals">
|
||||||
<number>1</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximum">
|
<property name="maximum">
|
||||||
<double>10.000000000000000</double>
|
<double>360.000000000000000</double>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
<property name="singleStep">
|
||||||
<widget class="QDoubleSpinBox" name="CurveValue2">
|
<double>15.000000000000000</double>
|
||||||
<property name="geometry">
|
</property>
|
||||||
<rect>
|
</widget>
|
||||||
<x>130</x>
|
</item>
|
||||||
<y>100</y>
|
<item row="2" column="1">
|
||||||
<width>62</width>
|
<widget class="QDoubleSpinBox" name="ccpmAngleX">
|
||||||
<height>22</height>
|
<property name="decimals">
|
||||||
</rect>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="decimals">
|
<property name="maximum">
|
||||||
<number>1</number>
|
<double>360.000000000000000</double>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximum">
|
<property name="singleStep">
|
||||||
<double>10.000000000000000</double>
|
<double>15.000000000000000</double>
|
||||||
</property>
|
</property>
|
||||||
<property name="value">
|
</widget>
|
||||||
<double>1.000000000000000</double>
|
</item>
|
||||||
</property>
|
<item row="5" column="0">
|
||||||
</widget>
|
<widget class="QLabel" name="label_10">
|
||||||
<widget class="QDoubleSpinBox" name="CurveValue3">
|
<property name="enabled">
|
||||||
<property name="geometry">
|
<bool>true</bool>
|
||||||
<rect>
|
</property>
|
||||||
<x>220</x>
|
<property name="text">
|
||||||
<y>100</y>
|
<string>CorrectionAngle</string>
|
||||||
<width>62</width>
|
</property>
|
||||||
<height>22</height>
|
</widget>
|
||||||
</rect>
|
</item>
|
||||||
</property>
|
<item row="5" column="1">
|
||||||
<property name="decimals">
|
<widget class="QDoubleSpinBox" name="CorrectionAngle_2">
|
||||||
<number>1</number>
|
<property name="enabled">
|
||||||
</property>
|
<bool>true</bool>
|
||||||
<property name="maximum">
|
</property>
|
||||||
<double>100.000000000000000</double>
|
<property name="decimals">
|
||||||
</property>
|
<number>0</number>
|
||||||
<property name="value">
|
</property>
|
||||||
<double>50.000000000000000</double>
|
<property name="maximum">
|
||||||
</property>
|
<double>360.000000000000000</double>
|
||||||
</widget>
|
</property>
|
||||||
<widget class="QLabel" name="CurveLabel1">
|
<property name="singleStep">
|
||||||
<property name="geometry">
|
<double>15.000000000000000</double>
|
||||||
<rect>
|
</property>
|
||||||
<x>40</x>
|
</widget>
|
||||||
<y>80</y>
|
</item>
|
||||||
<width>61</width>
|
</layout>
|
||||||
<height>16</height>
|
</item>
|
||||||
</rect>
|
</layout>
|
||||||
</property>
|
</widget>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>Min</string>
|
</layout>
|
||||||
</property>
|
</item>
|
||||||
</widget>
|
<item>
|
||||||
<widget class="QLabel" name="CurveLabel2">
|
<widget class="QGroupBox" name="ccpmPitchMixingBox">
|
||||||
<property name="geometry">
|
<property name="title">
|
||||||
<rect>
|
<string>CCPM Mixing</string>
|
||||||
<x>130</x>
|
</property>
|
||||||
<y>80</y>
|
<layout class="QVBoxLayout" name="verticalLayout_18">
|
||||||
<width>61</width>
|
<item>
|
||||||
<height>16</height>
|
<widget class="QSplitter" name="splitter_2">
|
||||||
</rect>
|
<property name="orientation">
|
||||||
</property>
|
<enum>Qt::Vertical</enum>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Max</string>
|
<widget class="QLabel" name="label_15">
|
||||||
</property>
|
<property name="enabled">
|
||||||
</widget>
|
<bool>false</bool>
|
||||||
<widget class="QLabel" name="CurveLabel3">
|
</property>
|
||||||
<property name="geometry">
|
<property name="text">
|
||||||
<rect>
|
<string>Collective</string>
|
||||||
<x>220</x>
|
</property>
|
||||||
<y>80</y>
|
<property name="alignment">
|
||||||
<width>61</width>
|
<set>Qt::AlignCenter</set>
|
||||||
<height>16</height>
|
</property>
|
||||||
</rect>
|
</widget>
|
||||||
</property>
|
<widget class="QSlider" name="ccpmCollectiveSlider">
|
||||||
<property name="text">
|
<property name="enabled">
|
||||||
<string>Step point</string>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
<property name="maximum">
|
||||||
<widget class="QGraphicsView" name="CurveGraph">
|
<number>100</number>
|
||||||
<property name="geometry">
|
</property>
|
||||||
<rect>
|
<property name="singleStep">
|
||||||
<x>310</x>
|
<number>5</number>
|
||||||
<y>10</y>
|
</property>
|
||||||
<width>371</width>
|
<property name="value">
|
||||||
<height>331</height>
|
<number>50</number>
|
||||||
</rect>
|
</property>
|
||||||
</property>
|
<property name="orientation">
|
||||||
</widget>
|
<enum>Qt::Vertical</enum>
|
||||||
<widget class="QComboBox" name="CurveToGenerate">
|
</property>
|
||||||
<property name="geometry">
|
</widget>
|
||||||
<rect>
|
<widget class="QLabel" name="label_16">
|
||||||
<x>30</x>
|
<property name="enabled">
|
||||||
<y>140</y>
|
<bool>false</bool>
|
||||||
<width>111</width>
|
</property>
|
||||||
<height>21</height>
|
<property name="text">
|
||||||
</rect>
|
<string>Cyclic</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="font">
|
<property name="alignment">
|
||||||
<font>
|
<set>Qt::AlignCenter</set>
|
||||||
<pointsize>10</pointsize>
|
</property>
|
||||||
</font>
|
</widget>
|
||||||
</property>
|
</widget>
|
||||||
<property name="toolTip">
|
</item>
|
||||||
<string>Select aircraft type here</string>
|
</layout>
|
||||||
</property>
|
</widget>
|
||||||
<item>
|
</item>
|
||||||
<property name="text">
|
<item>
|
||||||
<string>Throttle</string>
|
<widget class="QGroupBox" name="ccpmRevoMixingBox">
|
||||||
</property>
|
<property name="title">
|
||||||
</item>
|
<string>REVO Mixing</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
<layout class="QVBoxLayout" name="verticalLayout_17">
|
||||||
<string>Pitch</string>
|
<item>
|
||||||
</property>
|
<widget class="QSplitter" name="splitter">
|
||||||
</item>
|
<property name="orientation">
|
||||||
</widget>
|
<enum>Qt::Vertical</enum>
|
||||||
</widget>
|
</property>
|
||||||
<widget class="QWidget" name="tab_2">
|
<widget class="QLabel" name="label_14">
|
||||||
<attribute name="title">
|
<property name="enabled">
|
||||||
<string>Advanced settings</string>
|
<bool>false</bool>
|
||||||
</attribute>
|
</property>
|
||||||
<widget class="QTableWidget" name="ServoSettings">
|
<property name="text">
|
||||||
<property name="geometry">
|
<string>100%</string>
|
||||||
<rect>
|
</property>
|
||||||
<x>10</x>
|
<property name="alignment">
|
||||||
<y>30</y>
|
<set>Qt::AlignCenter</set>
|
||||||
<width>251</width>
|
</property>
|
||||||
<height>141</height>
|
</widget>
|
||||||
</rect>
|
<widget class="QSlider" name="ccpmRevoSlider">
|
||||||
</property>
|
<property name="enabled">
|
||||||
<property name="sizePolicy">
|
<bool>false</bool>
|
||||||
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
</property>
|
||||||
<horstretch>0</horstretch>
|
<property name="maximum">
|
||||||
<verstretch>0</verstretch>
|
<number>100</number>
|
||||||
</sizepolicy>
|
</property>
|
||||||
</property>
|
<property name="singleStep">
|
||||||
<property name="frameShape">
|
<number>5</number>
|
||||||
<enum>QFrame::StyledPanel</enum>
|
</property>
|
||||||
</property>
|
<property name="orientation">
|
||||||
<property name="frameShadow">
|
<enum>Qt::Vertical</enum>
|
||||||
<enum>QFrame::Plain</enum>
|
</property>
|
||||||
</property>
|
</widget>
|
||||||
<property name="midLineWidth">
|
<widget class="QLabel" name="label_13">
|
||||||
<number>0</number>
|
<property name="enabled">
|
||||||
</property>
|
<bool>false</bool>
|
||||||
<property name="verticalScrollBarPolicy">
|
</property>
|
||||||
<enum>Qt::ScrollBarAlwaysOff</enum>
|
<property name="text">
|
||||||
</property>
|
<string>0%</string>
|
||||||
<property name="horizontalScrollBarPolicy">
|
</property>
|
||||||
<enum>Qt::ScrollBarAlwaysOff</enum>
|
<property name="alignment">
|
||||||
</property>
|
<set>Qt::AlignCenter</set>
|
||||||
<property name="autoScroll">
|
</property>
|
||||||
<bool>false</bool>
|
</widget>
|
||||||
</property>
|
</widget>
|
||||||
<property name="showDropIndicator" stdset="0">
|
</item>
|
||||||
<bool>false</bool>
|
</layout>
|
||||||
</property>
|
</widget>
|
||||||
<property name="alternatingRowColors">
|
</item>
|
||||||
<bool>true</bool>
|
<item>
|
||||||
</property>
|
<widget class="QGroupBox" name="ccpmRevoMixingBox_2">
|
||||||
<property name="selectionMode">
|
<property name="minimumSize">
|
||||||
<enum>QAbstractItemView::SingleSelection</enum>
|
<size>
|
||||||
</property>
|
<width>0</width>
|
||||||
<row>
|
<height>0</height>
|
||||||
<property name="text">
|
</size>
|
||||||
<string>ServoW</string>
|
</property>
|
||||||
</property>
|
<property name="maximumSize">
|
||||||
</row>
|
<size>
|
||||||
<row>
|
<width>16777215</width>
|
||||||
<property name="text">
|
<height>420</height>
|
||||||
<string>ServoX</string>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
</row>
|
<property name="title">
|
||||||
<row>
|
<string>Swashplate Layout</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>ServoY</string>
|
<property name="alignment">
|
||||||
</property>
|
<set>Qt::AlignHCenter|Qt::AlignTop</set>
|
||||||
</row>
|
</property>
|
||||||
<row>
|
<property name="flat">
|
||||||
<property name="text">
|
<bool>false</bool>
|
||||||
<string>ServoZ</string>
|
</property>
|
||||||
</property>
|
<property name="checkable">
|
||||||
</row>
|
<bool>false</bool>
|
||||||
<column>
|
</property>
|
||||||
<property name="text">
|
<layout class="QVBoxLayout" name="verticalLayout_19">
|
||||||
<string>Angle</string>
|
<item>
|
||||||
</property>
|
<widget class="QSplitter" name="splitter_3">
|
||||||
</column>
|
<property name="orientation">
|
||||||
<column>
|
<enum>Qt::Vertical</enum>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Output</string>
|
<widget class="QGraphicsView" name="SwashplateImage">
|
||||||
</property>
|
<property name="sizePolicy">
|
||||||
</column>
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||||
<item row="0" column="0">
|
<horstretch>1</horstretch>
|
||||||
<property name="text">
|
<verstretch>1</verstretch>
|
||||||
<string>0</string>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="textAlignment">
|
<property name="minimumSize">
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
<size>
|
||||||
</property>
|
<width>400</width>
|
||||||
</item>
|
<height>0</height>
|
||||||
<item row="0" column="1">
|
</size>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>8</string>
|
<property name="maximumSize">
|
||||||
</property>
|
<size>
|
||||||
<property name="textAlignment">
|
<width>16777215</width>
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
<height>400</height>
|
||||||
</property>
|
</size>
|
||||||
</item>
|
</property>
|
||||||
<item row="1" column="0">
|
<property name="alignment">
|
||||||
<property name="text">
|
<set>Qt::AlignHCenter|Qt::AlignTop</set>
|
||||||
<string>60</string>
|
</property>
|
||||||
</property>
|
<property name="resizeAnchor">
|
||||||
<property name="textAlignment">
|
<enum>QGraphicsView::AnchorViewCenter</enum>
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
</property>
|
||||||
</property>
|
</widget>
|
||||||
</item>
|
</widget>
|
||||||
<item row="1" column="1">
|
</item>
|
||||||
<property name="text">
|
</layout>
|
||||||
<string>5</string>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
<property name="textAlignment">
|
</layout>
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
</widget>
|
||||||
</property>
|
</widget>
|
||||||
</item>
|
<widget class="QWidget" name="tab_3">
|
||||||
<item row="2" column="0">
|
<attribute name="title">
|
||||||
<property name="text">
|
<string>Curve settings</string>
|
||||||
<string>180</string>
|
</attribute>
|
||||||
</property>
|
<widget class="QTableWidget" name="CurveSettings">
|
||||||
<property name="textAlignment">
|
<property name="geometry">
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
<rect>
|
||||||
</property>
|
<x>20</x>
|
||||||
</item>
|
<y>190</y>
|
||||||
<item row="2" column="1">
|
<width>261</width>
|
||||||
<property name="text">
|
<height>141</height>
|
||||||
<string>1</string>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="textAlignment">
|
<property name="font">
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
<font>
|
||||||
</property>
|
<pointsize>8</pointsize>
|
||||||
</item>
|
</font>
|
||||||
<item row="3" column="0">
|
</property>
|
||||||
<property name="text">
|
<property name="verticalScrollBarPolicy">
|
||||||
<string>300</string>
|
<enum>Qt::ScrollBarAlwaysOn</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="textAlignment">
|
<property name="horizontalScrollBarPolicy">
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
<property name="autoScroll">
|
||||||
<item row="3" column="1">
|
<bool>false</bool>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>0</string>
|
<property name="alternatingRowColors">
|
||||||
</property>
|
<bool>true</bool>
|
||||||
<property name="textAlignment">
|
</property>
|
||||||
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
<row>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>0%</string>
|
||||||
</widget>
|
</property>
|
||||||
<widget class="QLabel" name="label_3">
|
</row>
|
||||||
<property name="geometry">
|
<row>
|
||||||
<rect>
|
<property name="text">
|
||||||
<x>10</x>
|
<string>25%</string>
|
||||||
<y>0</y>
|
</property>
|
||||||
<width>91</width>
|
</row>
|
||||||
<height>30</height>
|
<row>
|
||||||
</rect>
|
<property name="text">
|
||||||
</property>
|
<string>50%</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Servo config:</string>
|
</row>
|
||||||
</property>
|
<row>
|
||||||
</widget>
|
<property name="text">
|
||||||
<widget class="QLabel" name="label_4">
|
<string>75%</string>
|
||||||
<property name="geometry">
|
</property>
|
||||||
<rect>
|
</row>
|
||||||
<x>10</x>
|
<row>
|
||||||
<y>180</y>
|
<property name="text">
|
||||||
<width>101</width>
|
<string>100%</string>
|
||||||
<height>30</height>
|
</property>
|
||||||
</rect>
|
</row>
|
||||||
</property>
|
<row>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>CollectiveConstant:</string>
|
<string>none</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</row>
|
||||||
<widget class="QLabel" name="label_7">
|
<row>
|
||||||
<property name="enabled">
|
<property name="text">
|
||||||
<bool>false</bool>
|
<string>none</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="geometry">
|
</row>
|
||||||
<rect>
|
<row>
|
||||||
<x>10</x>
|
<property name="text">
|
||||||
<y>210</y>
|
<string>none</string>
|
||||||
<width>91</width>
|
</property>
|
||||||
<height>16</height>
|
</row>
|
||||||
</rect>
|
<row>
|
||||||
</property>
|
<property name="text">
|
||||||
<property name="text">
|
<string>none</string>
|
||||||
<string>CorrectionAngle:</string>
|
</property>
|
||||||
</property>
|
</row>
|
||||||
</widget>
|
<row>
|
||||||
<widget class="QLabel" name="label_8">
|
<property name="text">
|
||||||
<property name="geometry">
|
<string>none</string>
|
||||||
<rect>
|
</property>
|
||||||
<x>10</x>
|
</row>
|
||||||
<y>240</y>
|
<column>
|
||||||
<width>101</width>
|
<property name="text">
|
||||||
<height>30</height>
|
<string>Throttle Curve</string>
|
||||||
</rect>
|
</property>
|
||||||
</property>
|
<property name="textAlignment">
|
||||||
<property name="text">
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
<string>Throttle Output</string>
|
</property>
|
||||||
</property>
|
</column>
|
||||||
</widget>
|
<column>
|
||||||
<widget class="QLabel" name="label_9">
|
<property name="text">
|
||||||
<property name="geometry">
|
<string>Blade Pitch Curve</string>
|
||||||
<rect>
|
</property>
|
||||||
<x>10</x>
|
<property name="textAlignment">
|
||||||
<y>270</y>
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
<width>81</width>
|
</property>
|
||||||
<height>30</height>
|
</column>
|
||||||
</rect>
|
<item row="0" column="0">
|
||||||
</property>
|
<property name="text">
|
||||||
<property name="text">
|
<string>0</string>
|
||||||
<string>Tail Rotor Servo</string>
|
</property>
|
||||||
</property>
|
<property name="textAlignment">
|
||||||
</widget>
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
<widget class="QComboBox" name="ccpmThrottle">
|
</property>
|
||||||
<property name="geometry">
|
</item>
|
||||||
<rect>
|
<item row="0" column="1">
|
||||||
<x>90</x>
|
<property name="text">
|
||||||
<y>240</y>
|
<string>0</string>
|
||||||
<width>151</width>
|
</property>
|
||||||
<height>21</height>
|
<property name="textAlignment">
|
||||||
</rect>
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
</property>
|
</property>
|
||||||
<property name="font">
|
</item>
|
||||||
<font>
|
<item row="1" column="0">
|
||||||
<pointsize>10</pointsize>
|
<property name="text">
|
||||||
</font>
|
<string>.25</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="textAlignment">
|
||||||
<string>Select aircraft type here</string>
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex">
|
</item>
|
||||||
<number>2</number>
|
<item row="1" column="1">
|
||||||
</property>
|
<property name="text">
|
||||||
<item>
|
<string>.25</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>0</string>
|
<property name="textAlignment">
|
||||||
</property>
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
</item>
|
</property>
|
||||||
<item>
|
</item>
|
||||||
<property name="text">
|
<item row="2" column="0">
|
||||||
<string>1</string>
|
<property name="text">
|
||||||
</property>
|
<string>.5</string>
|
||||||
</item>
|
</property>
|
||||||
<item>
|
<property name="textAlignment">
|
||||||
<property name="text">
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
<string>2</string>
|
</property>
|
||||||
</property>
|
</item>
|
||||||
</item>
|
<item row="2" column="1">
|
||||||
<item>
|
<property name="text">
|
||||||
<property name="text">
|
<string>.5</string>
|
||||||
<string>3</string>
|
</property>
|
||||||
</property>
|
<property name="textAlignment">
|
||||||
</item>
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>4</string>
|
<item row="3" column="0">
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>.75</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
<property name="textAlignment">
|
||||||
<string>5</string>
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item row="3" column="1">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>6</string>
|
<string>.75</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
<property name="textAlignment">
|
||||||
<item>
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>7</string>
|
</item>
|
||||||
</property>
|
<item row="4" column="0">
|
||||||
</item>
|
<property name="text">
|
||||||
<item>
|
<string>1</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>8</string>
|
<property name="textAlignment">
|
||||||
</property>
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
</item>
|
</property>
|
||||||
</widget>
|
</item>
|
||||||
<widget class="QComboBox" name="ccpmTailRotor">
|
<item row="4" column="1">
|
||||||
<property name="geometry">
|
<property name="text">
|
||||||
<rect>
|
<string>1</string>
|
||||||
<x>90</x>
|
</property>
|
||||||
<y>270</y>
|
<property name="textAlignment">
|
||||||
<width>151</width>
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
<height>21</height>
|
</property>
|
||||||
</rect>
|
</item>
|
||||||
</property>
|
<item row="5" column="0">
|
||||||
<property name="font">
|
<property name="text">
|
||||||
<font>
|
<string>-</string>
|
||||||
<pointsize>10</pointsize>
|
</property>
|
||||||
</font>
|
<property name="textAlignment">
|
||||||
</property>
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
<property name="toolTip">
|
</property>
|
||||||
<string>Select aircraft type here</string>
|
</item>
|
||||||
</property>
|
<item row="5" column="1">
|
||||||
<property name="currentIndex">
|
<property name="text">
|
||||||
<number>3</number>
|
<string>-</string>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<property name="textAlignment">
|
||||||
<property name="text">
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
<string>0</string>
|
</property>
|
||||||
</property>
|
</item>
|
||||||
</item>
|
<item row="6" column="0">
|
||||||
<item>
|
<property name="text">
|
||||||
<property name="text">
|
<string>-</string>
|
||||||
<string>1</string>
|
</property>
|
||||||
</property>
|
<property name="textAlignment">
|
||||||
</item>
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>2</string>
|
<item row="6" column="1">
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>-</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
<property name="textAlignment">
|
||||||
<string>3</string>
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item row="7" column="0">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>4</string>
|
<string>-</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
<property name="textAlignment">
|
||||||
<item>
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>5</string>
|
</item>
|
||||||
</property>
|
<item row="7" column="1">
|
||||||
</item>
|
<property name="text">
|
||||||
<item>
|
<string>-</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>6</string>
|
<property name="textAlignment">
|
||||||
</property>
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
</item>
|
</property>
|
||||||
<item>
|
</item>
|
||||||
<property name="text">
|
<item row="8" column="0">
|
||||||
<string>7</string>
|
<property name="text">
|
||||||
</property>
|
<string>-</string>
|
||||||
</item>
|
</property>
|
||||||
<item>
|
<property name="textAlignment">
|
||||||
<property name="text">
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
<string>8</string>
|
</property>
|
||||||
</property>
|
</item>
|
||||||
</item>
|
<item row="8" column="1">
|
||||||
</widget>
|
<property name="text">
|
||||||
<widget class="QDoubleSpinBox" name="CollectiveConstant">
|
<string>-</string>
|
||||||
<property name="geometry">
|
</property>
|
||||||
<rect>
|
<property name="textAlignment">
|
||||||
<x>130</x>
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
<y>180</y>
|
</property>
|
||||||
<width>62</width>
|
</item>
|
||||||
<height>22</height>
|
<item row="9" column="0">
|
||||||
</rect>
|
<property name="text">
|
||||||
</property>
|
<string>-</string>
|
||||||
<property name="maximum">
|
</property>
|
||||||
<double>1.000000000000000</double>
|
<property name="textAlignment">
|
||||||
</property>
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
<property name="singleStep">
|
</property>
|
||||||
<double>0.050000000000000</double>
|
</item>
|
||||||
</property>
|
<item row="9" column="1">
|
||||||
<property name="value">
|
<property name="text">
|
||||||
<double>0.500000000000000</double>
|
<string>-</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
<property name="textAlignment">
|
||||||
<widget class="QDoubleSpinBox" name="CorrectionAngle">
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
<property name="enabled">
|
</property>
|
||||||
<bool>false</bool>
|
</item>
|
||||||
</property>
|
</widget>
|
||||||
<property name="geometry">
|
<widget class="QComboBox" name="CurveType">
|
||||||
<rect>
|
<property name="geometry">
|
||||||
<x>130</x>
|
<rect>
|
||||||
<y>210</y>
|
<x>20</x>
|
||||||
<width>62</width>
|
<y>20</y>
|
||||||
<height>22</height>
|
<width>271</width>
|
||||||
</rect>
|
<height>21</height>
|
||||||
</property>
|
</rect>
|
||||||
<property name="decimals">
|
</property>
|
||||||
<number>0</number>
|
<property name="font">
|
||||||
</property>
|
<font>
|
||||||
<property name="maximum">
|
<pointsize>10</pointsize>
|
||||||
<double>360.000000000000000</double>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="singleStep">
|
<property name="toolTip">
|
||||||
<double>15.000000000000000</double>
|
<string>Select aircraft type here</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
<item>
|
||||||
<widget class="QCheckBox" name="YawStabilizationInManualMode">
|
<property name="text">
|
||||||
<property name="enabled">
|
<string>Linear</string>
|
||||||
<bool>false</bool>
|
</property>
|
||||||
</property>
|
</item>
|
||||||
<property name="geometry">
|
<item>
|
||||||
<rect>
|
<property name="text">
|
||||||
<x>10</x>
|
<string>Flat</string>
|
||||||
<y>310</y>
|
</property>
|
||||||
<width>181</width>
|
</item>
|
||||||
<height>17</height>
|
<item>
|
||||||
</rect>
|
<property name="text">
|
||||||
</property>
|
<string>Step</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>YawStabilizationInManualMode:</string>
|
</item>
|
||||||
</property>
|
<item>
|
||||||
</widget>
|
<property name="text">
|
||||||
<widget class="QCheckBox" name="Flybarless">
|
<string>Custom</string>
|
||||||
<property name="enabled">
|
</property>
|
||||||
<bool>false</bool>
|
</item>
|
||||||
</property>
|
</widget>
|
||||||
<property name="geometry">
|
<widget class="QSpinBox" name="NumCurvePoints">
|
||||||
<rect>
|
<property name="geometry">
|
||||||
<x>10</x>
|
<rect>
|
||||||
<y>330</y>
|
<x>180</x>
|
||||||
<width>70</width>
|
<y>50</y>
|
||||||
<height>17</height>
|
<width>51</width>
|
||||||
</rect>
|
<height>22</height>
|
||||||
</property>
|
</rect>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Flybarless</string>
|
<property name="minimum">
|
||||||
</property>
|
<number>2</number>
|
||||||
</widget>
|
</property>
|
||||||
<widget class="QGraphicsView" name="SwashplateImage">
|
<property name="maximum">
|
||||||
<property name="geometry">
|
<number>10</number>
|
||||||
<rect>
|
</property>
|
||||||
<x>300</x>
|
<property name="value">
|
||||||
<y>10</y>
|
<number>5</number>
|
||||||
<width>371</width>
|
</property>
|
||||||
<height>331</height>
|
</widget>
|
||||||
</rect>
|
<widget class="QLabel" name="label_2">
|
||||||
</property>
|
<property name="geometry">
|
||||||
</widget>
|
<rect>
|
||||||
</widget>
|
<x>80</x>
|
||||||
</widget>
|
<y>50</y>
|
||||||
<widget class="QPushButton" name="getccpmCurrent">
|
<width>91</width>
|
||||||
<property name="geometry">
|
<height>16</height>
|
||||||
<rect>
|
</rect>
|
||||||
<x>10</x>
|
</property>
|
||||||
<y>400</y>
|
<property name="text">
|
||||||
<width>93</width>
|
<string>Number of points</string>
|
||||||
<height>27</height>
|
</property>
|
||||||
</rect>
|
</widget>
|
||||||
</property>
|
<widget class="QPushButton" name="ccpmGenerateCurve">
|
||||||
<property name="toolTip">
|
<property name="geometry">
|
||||||
<string>Retrieve settings from OpenPilot</string>
|
<rect>
|
||||||
</property>
|
<x>150</x>
|
||||||
<property name="text">
|
<y>140</y>
|
||||||
<string>Get Current</string>
|
<width>121</width>
|
||||||
</property>
|
<height>27</height>
|
||||||
</widget>
|
</rect>
|
||||||
<widget class="QPushButton" name="saveccpmToRAM">
|
</property>
|
||||||
<property name="geometry">
|
<property name="toolTip">
|
||||||
<rect>
|
<string>Generate curves based on settings</string>
|
||||||
<x>370</x>
|
</property>
|
||||||
<y>400</y>
|
<property name="text">
|
||||||
<width>93</width>
|
<string><-- Generate Curve</string>
|
||||||
<height>27</height>
|
</property>
|
||||||
</rect>
|
</widget>
|
||||||
</property>
|
<widget class="QDoubleSpinBox" name="CurveValue1">
|
||||||
<property name="toolTip">
|
<property name="geometry">
|
||||||
<string>Send to OpenPilot but don't write in SD.</string>
|
<rect>
|
||||||
</property>
|
<x>40</x>
|
||||||
<property name="text">
|
<y>100</y>
|
||||||
<string>Save to RAM</string>
|
<width>62</width>
|
||||||
</property>
|
<height>22</height>
|
||||||
</widget>
|
</rect>
|
||||||
<widget class="QPushButton" name="saveccpmToSD">
|
</property>
|
||||||
<property name="geometry">
|
<property name="decimals">
|
||||||
<rect>
|
<number>1</number>
|
||||||
<x>480</x>
|
</property>
|
||||||
<y>400</y>
|
<property name="maximum">
|
||||||
<width>93</width>
|
<double>10.000000000000000</double>
|
||||||
<height>27</height>
|
</property>
|
||||||
</rect>
|
</widget>
|
||||||
</property>
|
<widget class="QDoubleSpinBox" name="CurveValue2">
|
||||||
<property name="toolTip">
|
<property name="geometry">
|
||||||
<string>Applies and Saves all settings to SD</string>
|
<rect>
|
||||||
</property>
|
<x>130</x>
|
||||||
<property name="text">
|
<y>100</y>
|
||||||
<string>Save to SD</string>
|
<width>62</width>
|
||||||
</property>
|
<height>22</height>
|
||||||
</widget>
|
</rect>
|
||||||
</widget>
|
</property>
|
||||||
<resources/>
|
<property name="decimals">
|
||||||
<connections/>
|
<number>1</number>
|
||||||
</ui>
|
</property>
|
||||||
|
<property name="maximum">
|
||||||
|
<double>10.000000000000000</double>
|
||||||
|
</property>
|
||||||
|
<property name="value">
|
||||||
|
<double>1.000000000000000</double>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QDoubleSpinBox" name="CurveValue3">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>220</x>
|
||||||
|
<y>100</y>
|
||||||
|
<width>62</width>
|
||||||
|
<height>22</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="decimals">
|
||||||
|
<number>1</number>
|
||||||
|
</property>
|
||||||
|
<property name="maximum">
|
||||||
|
<double>100.000000000000000</double>
|
||||||
|
</property>
|
||||||
|
<property name="value">
|
||||||
|
<double>50.000000000000000</double>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="CurveLabel1">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>40</x>
|
||||||
|
<y>80</y>
|
||||||
|
<width>61</width>
|
||||||
|
<height>16</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Min</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="CurveLabel2">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>130</x>
|
||||||
|
<y>80</y>
|
||||||
|
<width>61</width>
|
||||||
|
<height>16</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Max</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="CurveLabel3">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>220</x>
|
||||||
|
<y>80</y>
|
||||||
|
<width>61</width>
|
||||||
|
<height>16</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Step point</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QGraphicsView" name="CurveGraph">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>310</x>
|
||||||
|
<y>10</y>
|
||||||
|
<width>371</width>
|
||||||
|
<height>331</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QComboBox" name="CurveToGenerate">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>30</x>
|
||||||
|
<y>140</y>
|
||||||
|
<width>111</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<pointsize>10</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Select aircraft type here</string>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Throttle</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Pitch</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget" name="tab_2">
|
||||||
|
<attribute name="title">
|
||||||
|
<string>Advanced settings</string>
|
||||||
|
</attribute>
|
||||||
|
<widget class="QTableWidget" name="ServoSettings">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>10</x>
|
||||||
|
<y>20</y>
|
||||||
|
<width>251</width>
|
||||||
|
<height>141</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::StyledPanel</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>QFrame::Plain</enum>
|
||||||
|
</property>
|
||||||
|
<property name="midLineWidth">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="verticalScrollBarPolicy">
|
||||||
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
||||||
|
</property>
|
||||||
|
<property name="horizontalScrollBarPolicy">
|
||||||
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
||||||
|
</property>
|
||||||
|
<property name="autoScroll">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="showDropIndicator" stdset="0">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="alternatingRowColors">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="selectionMode">
|
||||||
|
<enum>QAbstractItemView::SingleSelection</enum>
|
||||||
|
</property>
|
||||||
|
<row>
|
||||||
|
<property name="text">
|
||||||
|
<string>ServoW</string>
|
||||||
|
</property>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<property name="text">
|
||||||
|
<string>ServoX</string>
|
||||||
|
</property>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<property name="text">
|
||||||
|
<string>ServoY</string>
|
||||||
|
</property>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<property name="text">
|
||||||
|
<string>ServoZ</string>
|
||||||
|
</property>
|
||||||
|
</row>
|
||||||
|
<column>
|
||||||
|
<property name="text">
|
||||||
|
<string>Angle</string>
|
||||||
|
</property>
|
||||||
|
</column>
|
||||||
|
<column>
|
||||||
|
<property name="text">
|
||||||
|
<string>Output</string>
|
||||||
|
</property>
|
||||||
|
</column>
|
||||||
|
<item row="0" column="0">
|
||||||
|
<property name="text">
|
||||||
|
<string>0</string>
|
||||||
|
</property>
|
||||||
|
<property name="textAlignment">
|
||||||
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="1">
|
||||||
|
<property name="text">
|
||||||
|
<string>8</string>
|
||||||
|
</property>
|
||||||
|
<property name="textAlignment">
|
||||||
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="0">
|
||||||
|
<property name="text">
|
||||||
|
<string>60</string>
|
||||||
|
</property>
|
||||||
|
<property name="textAlignment">
|
||||||
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="1">
|
||||||
|
<property name="text">
|
||||||
|
<string>5</string>
|
||||||
|
</property>
|
||||||
|
<property name="textAlignment">
|
||||||
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="0">
|
||||||
|
<property name="text">
|
||||||
|
<string>180</string>
|
||||||
|
</property>
|
||||||
|
<property name="textAlignment">
|
||||||
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="1">
|
||||||
|
<property name="text">
|
||||||
|
<string>1</string>
|
||||||
|
</property>
|
||||||
|
<property name="textAlignment">
|
||||||
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item row="3" column="0">
|
||||||
|
<property name="text">
|
||||||
|
<string>300</string>
|
||||||
|
</property>
|
||||||
|
<property name="textAlignment">
|
||||||
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item row="3" column="1">
|
||||||
|
<property name="text">
|
||||||
|
<string>0</string>
|
||||||
|
</property>
|
||||||
|
<property name="textAlignment">
|
||||||
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label_4">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>10</x>
|
||||||
|
<y>180</y>
|
||||||
|
<width>101</width>
|
||||||
|
<height>30</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>CollectiveConstant:</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label_7">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>10</x>
|
||||||
|
<y>260</y>
|
||||||
|
<width>91</width>
|
||||||
|
<height>16</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>CorrectionAngle:</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label_8">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>10</x>
|
||||||
|
<y>290</y>
|
||||||
|
<width>101</width>
|
||||||
|
<height>30</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Throttle Output</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label_9">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>10</x>
|
||||||
|
<y>320</y>
|
||||||
|
<width>81</width>
|
||||||
|
<height>30</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Tail Rotor Servo</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QComboBox" name="ccpmThrottle">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>90</x>
|
||||||
|
<y>290</y>
|
||||||
|
<width>151</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<pointsize>10</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Select aircraft type here</string>
|
||||||
|
</property>
|
||||||
|
<property name="currentIndex">
|
||||||
|
<number>2</number>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>0</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>1</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>2</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>3</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>4</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>5</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>6</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>7</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>8</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
</widget>
|
||||||
|
<widget class="QComboBox" name="ccpmTailRotor">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>90</x>
|
||||||
|
<y>320</y>
|
||||||
|
<width>151</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<pointsize>10</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Select aircraft type here</string>
|
||||||
|
</property>
|
||||||
|
<property name="currentIndex">
|
||||||
|
<number>3</number>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>0</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>1</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>2</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>3</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>4</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>5</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>6</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>7</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>8</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
</widget>
|
||||||
|
<widget class="QDoubleSpinBox" name="CollectiveConstant">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>130</x>
|
||||||
|
<y>180</y>
|
||||||
|
<width>62</width>
|
||||||
|
<height>22</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="maximum">
|
||||||
|
<double>1.000000000000000</double>
|
||||||
|
</property>
|
||||||
|
<property name="singleStep">
|
||||||
|
<double>0.050000000000000</double>
|
||||||
|
</property>
|
||||||
|
<property name="value">
|
||||||
|
<double>0.500000000000000</double>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QDoubleSpinBox" name="CorrectionAngle">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>130</x>
|
||||||
|
<y>260</y>
|
||||||
|
<width>62</width>
|
||||||
|
<height>22</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="decimals">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="maximum">
|
||||||
|
<double>360.000000000000000</double>
|
||||||
|
</property>
|
||||||
|
<property name="singleStep">
|
||||||
|
<double>15.000000000000000</double>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QGraphicsView" name="SwashplateImage_Adv">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>300</x>
|
||||||
|
<y>10</y>
|
||||||
|
<width>371</width>
|
||||||
|
<height>331</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QDoubleSpinBox" name="RevoConstant">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>130</x>
|
||||||
|
<y>220</y>
|
||||||
|
<width>62</width>
|
||||||
|
<height>22</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="maximum">
|
||||||
|
<double>1.000000000000000</double>
|
||||||
|
</property>
|
||||||
|
<property name="singleStep">
|
||||||
|
<double>0.050000000000000</double>
|
||||||
|
</property>
|
||||||
|
<property name="value">
|
||||||
|
<double>0.500000000000000</double>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label_5">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>10</x>
|
||||||
|
<y>210</y>
|
||||||
|
<width>101</width>
|
||||||
|
<height>40</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>RevoConstant:</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" name="getccpmCurrent">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>10</x>
|
||||||
|
<y>570</y>
|
||||||
|
<width>93</width>
|
||||||
|
<height>27</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Retrieve settings from OpenPilot</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Get Current</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" name="saveccpmToRAM">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>510</x>
|
||||||
|
<y>570</y>
|
||||||
|
<width>93</width>
|
||||||
|
<height>27</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Send to OpenPilot but don't write in SD.</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Save to RAM</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" name="saveccpmToSD">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>620</x>
|
||||||
|
<y>570</y>
|
||||||
|
<width>93</width>
|
||||||
|
<height>27</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Applies and Saves all settings to SD</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Save to SD</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<resources/>
|
||||||
|
<connections/>
|
||||||
|
</ui>
|
||||||
|
@ -85,10 +85,16 @@ ConfigccpmWidget::ConfigccpmWidget(QWidget *parent) : ConfigTaskWidget(parent)
|
|||||||
QStringList channels;
|
QStringList channels;
|
||||||
channels << "Channel0" << "Channel1" << "Channel2" <<
|
channels << "Channel0" << "Channel1" << "Channel2" <<
|
||||||
"Channel3" << "Channel4" << "Channel5" << "Channel6" << "Channel7" << "None" ;
|
"Channel3" << "Channel4" << "Channel5" << "Channel6" << "Channel7" << "None" ;
|
||||||
|
m_ccpm->ccpmEngineChannel->addItems(channels);
|
||||||
|
m_ccpm->ccpmTailChannel->addItems(channels);
|
||||||
|
m_ccpm->ccpmServoWChannel->addItems(channels);
|
||||||
|
m_ccpm->ccpmServoXChannel->addItems(channels);
|
||||||
|
m_ccpm->ccpmServoYChannel->addItems(channels);
|
||||||
|
m_ccpm->ccpmServoZChannel->addItems(channels);
|
||||||
|
|
||||||
m_ccpm->ccpmThrottle->addItems(channels);
|
QStringList Types;
|
||||||
m_ccpm->ccpmTailRotor->addItems(channels);
|
Types << "CCPM 90º" << "CCPM 120º" << "CCPM 140º" ;
|
||||||
|
m_ccpm->ccpmType->addItems(Types);
|
||||||
|
|
||||||
requestccpmUpdate();
|
requestccpmUpdate();
|
||||||
UpdateCurveSettings();
|
UpdateCurveSettings();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user