mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-13 20:48:42 +01:00
851 lines
30 KiB
XML
851 lines
30 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>TxPIDWidget</class>
|
|
<widget class="QWidget" name="TxPIDWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>789</width>
|
|
<height>484</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>TxPID</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>12</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="tab">
|
|
<attribute name="title">
|
|
<string>Tx PID</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QScrollArea" name="scrollArea">
|
|
<property name="palette">
|
|
<palette>
|
|
<active>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="0">
|
|
<red>232</red>
|
|
<green>232</green>
|
|
<blue>232</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</active>
|
|
<inactive>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="0">
|
|
<red>232</red>
|
|
<green>232</green>
|
|
<blue>232</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</inactive>
|
|
<disabled>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="0">
|
|
<red>232</red>
|
|
<green>232</green>
|
|
<blue>232</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="0">
|
|
<red>232</red>
|
|
<green>232</green>
|
|
<blue>232</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</disabled>
|
|
</palette>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="widgetResizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<widget class="QWidget" name="scrollAreaWidgetContents_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>745</width>
|
|
<height>469</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>12</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
<property name="title">
|
|
<string>Module Control</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
|
<item>
|
|
<widget class="QCheckBox" name="TxPIDEnable">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>This module will periodically update values of stabilization PID settings
|
|
depending on configured input control channels. New values of stabilization
|
|
settings are not saved to flash, but updated in RAM. It is expected that the
|
|
module will be enabled only for tuning. When desired values are found, they
|
|
can be read via GCS and saved permanently. Then this module should be
|
|
disabled again.
|
|
|
|
Up to 3 separate PID options (or option pairs) can be selected and updated.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Enable TxPID module</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_7">
|
|
<property name="text">
|
|
<string>After enabling the module, you must power cycle before using and configuring.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_6">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>293</height>
|
|
</size>
|
|
</property>
|
|
<property name="title">
|
|
<string>Module Settings</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="1" column="1">
|
|
<widget class="QLabel" name="label_51">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: qlineargradient(spread:reflect, x1:0.507, y1:0, x2:0.507, y2:0.772, stop:0.208955 rgba(74, 74, 74, 255), stop:0.78607 rgba(36, 36, 36, 255));
|
|
color: rgb(255, 255, 255);
|
|
border-radius: 5;
|
|
font: bold 12px;
|
|
margin:1px;</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>PID option</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QLabel" name="label_50">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: qlineargradient(spread:reflect, x1:0.507, y1:0, x2:0.507, y2:0.772, stop:0.208955 rgba(74, 74, 74, 255), stop:0.78607 rgba(36, 36, 36, 255));
|
|
color: rgb(255, 255, 255);
|
|
border-radius: 5;
|
|
font: bold 12px;
|
|
margin:1px;</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Control Source</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="3">
|
|
<widget class="QLabel" name="label_49">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: qlineargradient(spread:reflect, x1:0.507, y1:0, x2:0.507, y2:0.772, stop:0.208955 rgba(74, 74, 74, 255), stop:0.78607 rgba(36, 36, 36, 255));
|
|
color: rgb(255, 255, 255);
|
|
border-radius: 5;
|
|
font: bold 12px;
|
|
margin:1px;</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Min</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="4">
|
|
<widget class="QLabel" name="label">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: qlineargradient(spread:reflect, x1:0.507, y1:0, x2:0.507, y2:0.772, stop:0.208955 rgba(74, 74, 74, 255), stop:0.78607 rgba(36, 36, 36, 255));
|
|
color: rgb(255, 255, 255);
|
|
border-radius: 5;
|
|
font: bold 12px;
|
|
margin:1px;</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Max</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_47">
|
|
<property name="text">
|
|
<string>Instance 1</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QComboBox" name="PID1">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Select PID option or option pair to update.
|
|
Set to Disabled if not used.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="2">
|
|
<widget class="QComboBox" name="Input1">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Select input used as a control source for this instance.
|
|
It can be one of Accessory channels or Throttle channel.
|
|
|
|
If Accessory channel is chosen then its range [0..1] will be mapped
|
|
to PID range [Min..Max] defined for this instance.
|
|
|
|
If Throttle channel is chosen then Throttle range [Min..Max] will
|
|
be mapped to PID range [Min..Max] defined for this instance. If
|
|
Throttle is out of bounds then PID Min and Max values will be used
|
|
accordingly.
|
|
|
|
Note that it is possible to set PID Min > Max. In that case increasing
|
|
control input value will decrease the PID option value. This can be
|
|
used, for instance, to decrease PID value when increasing Throttle.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="3">
|
|
<widget class="QDoubleSpinBox" name="MinPID1">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Minimum PID value mapped to Accessory channel = 0 or
|
|
Throttle channel lesser or equal to Throttle Min value.</string>
|
|
</property>
|
|
<property name="decimals">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.000100000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="4">
|
|
<widget class="QDoubleSpinBox" name="MaxPID1">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Maximum PID value mapped to Accessory channel = 1 or
|
|
Throttle channel greater or equal to Throttle Max value.</string>
|
|
</property>
|
|
<property name="decimals">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.000100000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="label_48">
|
|
<property name="text">
|
|
<string>Instance 2</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QComboBox" name="PID2">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Select PID option or option pair to update.
|
|
Set to Disabled if not used.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="2">
|
|
<widget class="QComboBox" name="Input2">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Select input used as a control source for this instance.
|
|
It can be one of Accessory channels or Throttle channel.
|
|
|
|
If Accessory channel is chosen then its range [0..1] will be mapped
|
|
to PID range [Min..Max] defined for this instance.
|
|
|
|
If Throttle channel is chosen then Throttle range [Min..Max] will
|
|
be mapped to PID range [Min..Max] defined for this instance. If
|
|
Throttle is out of bounds then PID Min and Max values will be used
|
|
accordingly.
|
|
|
|
Note that it is possible to set PID Min > Max. In that case increasing
|
|
control input value will decrease the PID option value. This can be
|
|
used, for instance, to decrease PID value when increasing Throttle.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="3">
|
|
<widget class="QDoubleSpinBox" name="MinPID2">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Minimum PID value mapped to Accessory channel = 0 or
|
|
Throttle channel lesser or equal to Throttle Min value.</string>
|
|
</property>
|
|
<property name="decimals">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.000100000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="4">
|
|
<widget class="QDoubleSpinBox" name="MaxPID2">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Maximum PID value mapped to Accessory channel = 1 or
|
|
Throttle channel greater or equal to Throttle Max value.</string>
|
|
</property>
|
|
<property name="decimals">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.000100000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="label_52">
|
|
<property name="text">
|
|
<string>Instance 3</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QComboBox" name="PID3">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Select PID option or option pair to update.
|
|
Set to Disabled if not used.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="2">
|
|
<widget class="QComboBox" name="Input3">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Select input used as a control source for this instance.
|
|
It can be one of Accessory channels or Throttle channel.
|
|
|
|
If Accessory channel is chosen then its range [0..1] will be mapped
|
|
to PID range [Min..Max] defined for this instance.
|
|
|
|
If Throttle channel is chosen then Throttle range [Min..Max] will
|
|
be mapped to PID range [Min..Max] defined for this instance. If
|
|
Throttle is out of bounds then PID Min and Max values will be used
|
|
accordingly.
|
|
|
|
Note that it is possible to set PID Min > Max. In that case increasing
|
|
control input value will decrease the PID option value. This can be
|
|
used, for instance, to decrease PID value when increasing Throttle.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="3">
|
|
<widget class="QDoubleSpinBox" name="MinPID3">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Minimum PID value mapped to Accessory channel = 0 or
|
|
Throttle channel lesser or equal to Throttle Min value.</string>
|
|
</property>
|
|
<property name="decimals">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.000100000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="4">
|
|
<widget class="QDoubleSpinBox" name="MaxPID3">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Maximum PID value mapped to Accessory channel = 1 or
|
|
Throttle channel greater or equal to Throttle Max value.</string>
|
|
</property>
|
|
<property name="decimals">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.000100000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="8" column="0">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Update Mode</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="8" column="1">
|
|
<widget class="QComboBox" name="UpdateMode">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>PID values update mode which can be set to:
|
|
- Never: this disables PID updates (but module still will be run if enabled),
|
|
- When Armed: PID updated only when system is armed,
|
|
- Always: PID updated always regardless of arm state.
|
|
|
|
Since the GCS updates GUI PID values in real time on change, could be
|
|
tricky to change other PID values from the GUI if the module is enabled
|
|
and constantly updates stabilization settings object. As a workaround,
|
|
this option can be used to temporarily disable updates or enable them
|
|
only when system is armed without disabling the module.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="0">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>Throttle Range</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="1">
|
|
<widget class="QDoubleSpinBox" name="ThrottleMin">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Throttle channel lower bound mapped to PID Min value</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>1.000000000000000</double>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.010000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="2">
|
|
<widget class="QDoubleSpinBox" name="ThrottleMax">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Throttle channel upper bound mapped to PID Max value</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>1.000000000000000</double>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.010000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="1">
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: qlineargradient(spread:reflect, x1:0.507, y1:0, x2:0.507, y2:0.772, stop:0.208955 rgba(74, 74, 74, 255), stop:0.78607 rgba(36, 36, 36, 255));
|
|
color: rgb(255, 255, 255);
|
|
border-radius: 5;
|
|
font: bold 12px;
|
|
margin:1px;</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Min</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="2">
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: qlineargradient(spread:reflect, x1:0.507, y1:0, x2:0.507, y2:0.772, stop:0.208955 rgba(74, 74, 74, 255), stop:0.78607 rgba(36, 36, 36, 255));
|
|
color: rgb(255, 255, 255);
|
|
border-radius: 5;
|
|
font: bold 12px;
|
|
margin:1px;</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Max</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<spacer name="verticalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Preferred</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
<property name="title">
|
|
<string>Messages</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="message">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<property name="spacing">
|
|
<number>4</number>
|
|
</property>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>570</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>25</width>
|
|
<height>25</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>25</width>
|
|
<height>25</height>
|
|
</size>
|
|
</property>
|
|
<property name="baseSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="autoFillBackground">
|
|
<bool>false</bool>
|
|
</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>25</width>
|
|
<height>25</height>
|
|
</size>
|
|
</property>
|
|
<property name="autoDefault">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="default">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="objrelation" stdset="0">
|
|
<stringlist>
|
|
<string>button:help</string>
|
|
<string>url:http://wiki.openpilot.org/x/DACiAQ</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="Apply">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Send settings to the board but do not save to the non-volatile memory</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Apply</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="Save">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Send settings to the board and save to the non-volatile memory</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Save</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>Apply</tabstop>
|
|
<tabstop>Save</tabstop>
|
|
<tabstop>scrollArea</tabstop>
|
|
<tabstop>PID1</tabstop>
|
|
<tabstop>Input1</tabstop>
|
|
<tabstop>MinPID1</tabstop>
|
|
<tabstop>MaxPID1</tabstop>
|
|
<tabstop>PID2</tabstop>
|
|
<tabstop>Input2</tabstop>
|
|
<tabstop>MinPID2</tabstop>
|
|
<tabstop>MaxPID2</tabstop>
|
|
<tabstop>PID3</tabstop>
|
|
<tabstop>Input3</tabstop>
|
|
<tabstop>MinPID3</tabstop>
|
|
<tabstop>MaxPID3</tabstop>
|
|
<tabstop>ThrottleMin</tabstop>
|
|
<tabstop>ThrottleMax</tabstop>
|
|
<tabstop>UpdateMode</tabstop>
|
|
</tabstops>
|
|
<resources>
|
|
<include location="../coreplugin/core.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|