1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-18 08:54:15 +01:00

Group the axis limimts in the stabilization settings.

This commit is contained in:
James Cotton 2011-07-16 11:07:30 -05:00
parent 70943faec2
commit 8f53ed2fc4

View File

@ -447,286 +447,184 @@ When you change one, the other is updated.</string>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>10</height> <height>5</height>
</size> </size>
</property> </property>
</spacer> </spacer>
</item> </item>
<item> <item>
<widget class="QFrame" name="piFactors"> <widget class="QGroupBox" name="groupBox_3">
<layout class="QVBoxLayout" name="verticalLayout_2"> <property name="sizePolicy">
<item> <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
<layout class="QHBoxLayout" name="horizontalLayout_4"> <horstretch>0</horstretch>
<item> <verstretch>0</verstretch>
<widget class="QLabel" name="label_5"> </sizepolicy>
<property name="minimumSize"> </property>
<size> <property name="minimumSize">
<width>150</width> <size>
<height>0</height> <width>0</width>
</size> <height>0</height>
</property> </size>
<property name="font"> </property>
<font> <property name="title">
<weight>75</weight> <string>Stick range and limits</string>
<bold>true</bold> </property>
</font> <layout class="QGridLayout" name="gridLayout" rowminimumheight="5,5,5,5">
</property> <property name="sizeConstraint">
<property name="text"> <enum>QLayout::SetMinAndMaxSize</enum>
<string>Angle Limits:</string> </property>
</property> <item row="0" column="1">
</widget> <widget class="QLabel" name="label">
</item> <property name="text">
<item> <string>Roll</string>
<widget class="QLabel" name="label"> </property>
<property name="text"> <property name="alignment">
<string>RollMax</string> <set>Qt::AlignCenter</set>
</property> </property>
</widget> </widget>
</item>
<item>
<widget class="QSpinBox" name="rollMax">
<property name="maximum">
<number>180</number>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>PitchMax</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="pitchMax">
<property name="maximum">
<number>180</number>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>YawMax</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="yawMax">
<property name="maximum">
<number>180</number>
</property>
</widget>
</item>
</layout>
</item> </item>
<item> <item row="0" column="2">
<layout class="QHBoxLayout" name="horizontalLayout_5"> <widget class="QLabel" name="label_22">
<item> <property name="text">
<widget class="QLabel" name="label_6"> <string>Pitch</string>
<property name="minimumSize"> </property>
<size> <property name="alignment">
<width>150</width> <set>Qt::AlignCenter</set>
<height>0</height> </property>
</size> </widget>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Manual rate:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_7">
<property name="text">
<string>Roll</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="manualRoll">
<property name="maximum">
<number>300</number>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_22">
<property name="text">
<string>Pitch</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="manualPitch">
<property name="maximum">
<number>300</number>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_7">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_23">
<property name="text">
<string>Yaw</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="manualYaw">
<property name="maximum">
<number>300</number>
</property>
</widget>
</item>
</layout>
</item> </item>
<item> <item row="0" column="3">
<layout class="QHBoxLayout" name="horizontalLayout_6"> <widget class="QLabel" name="label_23">
<item> <property name="text">
<widget class="QLabel" name="label_24"> <string>Yaw</string>
<property name="minimumSize"> </property>
<size> <property name="alignment">
<width>150</width> <set>Qt::AlignCenter</set>
<height>0</height> </property>
</size> </widget>
</property> </item>
<property name="font"> <item row="1" column="1">
<font> <widget class="QSpinBox" name="rollMax">
<weight>75</weight> <property name="maximum">
<bold>true</bold> <number>180</number>
</font> </property>
</property> </widget>
<property name="text"> </item>
<string>Maximum rate:</string> <item row="1" column="2">
</property> <widget class="QSpinBox" name="pitchMax">
</widget> <property name="maximum">
</item> <number>180</number>
<item> </property>
<widget class="QLabel" name="label_25"> </widget>
<property name="text"> </item>
<string>Roll</string> <item row="1" column="3">
</property> <widget class="QSpinBox" name="yawMax">
</widget> <property name="maximum">
</item> <number>180</number>
<item> </property>
<widget class="QSpinBox" name="maximumRoll"> </widget>
<property name="maximum"> </item>
<number>300</number> <item row="1" column="0">
</property> <widget class="QLabel" name="label_5">
</widget> <property name="minimumSize">
</item> <size>
<item> <width>150</width>
<spacer name="horizontalSpacer_8"> <height>0</height>
<property name="orientation"> </size>
<enum>Qt::Horizontal</enum> </property>
</property> <property name="font">
<property name="sizeHint" stdset="0"> <font>
<size> <weight>50</weight>
<width>40</width> <bold>false</bold>
<height>20</height> </font>
</size> </property>
</property> <property name="text">
</spacer> <string>Full stick angle (deg)</string>
</item> </property>
<item> </widget>
<widget class="QLabel" name="label_26"> </item>
<property name="text"> <item row="2" column="0">
<string>Pitch</string> <widget class="QLabel" name="label_6">
</property> <property name="minimumSize">
</widget> <size>
</item> <width>150</width>
<item> <height>0</height>
<widget class="QSpinBox" name="maximumPitch"> </size>
<property name="maximum"> </property>
<number>300</number> <property name="font">
</property> <font>
</widget> <weight>50</weight>
</item> <bold>false</bold>
<item> </font>
<spacer name="horizontalSpacer_9"> </property>
<property name="orientation"> <property name="text">
<enum>Qt::Horizontal</enum> <string>Full stick rate (deg/s)</string>
</property> </property>
<property name="sizeHint" stdset="0"> </widget>
<size> </item>
<width>40</width> <item row="2" column="1">
<height>20</height> <widget class="QSpinBox" name="manualRoll">
</size> <property name="maximum">
</property> <number>300</number>
</spacer> </property>
</item> </widget>
<item> </item>
<widget class="QLabel" name="label_27"> <item row="2" column="2">
<property name="text"> <widget class="QSpinBox" name="manualPitch">
<string>Yaw</string> <property name="maximum">
</property> <number>300</number>
</widget> </property>
</item> </widget>
<item> </item>
<widget class="QSpinBox" name="maximumYaw"> <item row="2" column="3">
<property name="maximum"> <widget class="QSpinBox" name="manualYaw">
<number>300</number> <property name="maximum">
</property> <number>300</number>
</widget> </property>
</item> </widget>
</layout> </item>
<item row="3" column="0">
<widget class="QLabel" name="label_24">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="toolTip">
<string notr="true"/>
</property>
<property name="text">
<string>Maximum rate in attitude mode (deg/s)</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QSpinBox" name="maximumRoll">
<property name="maximum">
<number>300</number>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QSpinBox" name="maximumPitch">
<property name="maximum">
<number>300</number>
</property>
</widget>
</item>
<item row="3" column="3">
<widget class="QSpinBox" name="maximumYaw">
<property name="maximum">
<number>300</number>
</property>
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>