Commit 596ba778 authored by Bryan Godbolt's avatar Bryan Godbolt

merged in pixhawk mainline

parents 83139ae7 f47cd61c
...@@ -240,7 +240,7 @@ SOURCES += src/main.cc \ ...@@ -240,7 +240,7 @@ SOURCES += src/main.cc \
RESOURCES = mavground.qrc RESOURCES = mavground.qrc
# Include RT-LAB Library # Include RT-LAB Library
win32:exists(src/lib/opalrt/OpalApi.h) { win32:exists(src/lib/opalrt/OpalApi.h):exists(C:\OPAL-RT\RT-LAB7.2.4\Common\bin) {
message("Building support for Opal-RT") message("Building support for Opal-RT")
LIBS += -LC:\OPAL-RT\RT-LAB7.2.4\Common\bin \ LIBS += -LC:\OPAL-RT\RT-LAB7.2.4\Common\bin \
-lOpalApi -lOpalApi
......
...@@ -13,7 +13,16 @@ ...@@ -13,7 +13,16 @@
<property name="windowTitle"> <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout" rowstretch="2,10,5">
<property name="horizontalSpacing">
<number>5</number>
</property>
<property name="verticalSpacing">
<number>2</number>
</property>
<property name="margin">
<number>6</number>
</property>
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="text"> <property name="text">
...@@ -30,6 +39,9 @@ ...@@ -30,6 +39,9 @@
<string>Onboard Parameters</string> <string>Onboard Parameters</string>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<property name="margin">
<number>3</number>
</property>
<item> <item>
<widget class="QStackedWidget" name="stackedWidget"> <widget class="QStackedWidget" name="stackedWidget">
<property name="currentIndex"> <property name="currentIndex">
......
...@@ -6,134 +6,151 @@ ...@@ -6,134 +6,151 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>350</width> <width>319</width>
<height>545</height> <height>221</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout_4"> <layout class="QGridLayout" name="gridLayout_4" rowstretch="10,0">
<property name="margin"> <property name="margin">
<number>0</number> <number>0</number>
</property> </property>
<item row="0" column="0"> <item row="1" column="0">
<widget class="QGroupBox" name="groupBox"> <widget class="QGroupBox" name="groupBox_3">
<property name="title"> <property name="title">
<string>Activate Extended Output</string> <string>Calibration Wizards</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout_2"> <layout class="QGridLayout" name="gridLayout" columnstretch="5,5">
<property name="margin"> <property name="leftMargin">
<number>6</number>
</property>
<property name="topMargin">
<number>2</number>
</property>
<property name="rightMargin">
<number>6</number>
</property>
<property name="bottomMargin">
<number>2</number>
</property>
<property name="horizontalSpacing">
<number>12</number>
</property>
<property name="verticalSpacing">
<number>6</number> <number>6</number>
</property> </property>
<item row="0" column="0"> <item row="0" column="0">
<widget class="QCheckBox" name="sendRawCheckBox"> <widget class="QPushButton" name="rcCalButton">
<property name="text"> <property name="text">
<string>Send RAW Sensor data</string> <string>RC Calibration</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0"> <item row="0" column="1">
<widget class="QCheckBox" name="sendExtendedCheckBox"> <widget class="QPushButton" name="magCalButton">
<property name="text"> <property name="text">
<string>Send extended status</string> <string>Mag. Calibration</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0"> <item row="1" column="1">
<widget class="QCheckBox" name="sendRCCheckBox"> <widget class="QPushButton" name="gyroCalButton">
<property name="text"> <property name="text">
<string>Send RC-values</string> <string>Gyro Calibration</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="0"> <item row="1" column="0">
<widget class="QCheckBox" name="sendControllerCheckBox"> <widget class="QPushButton" name="pressureCalButton">
<property name="text"> <property name="text">
<string>Send raw controller outputs</string> <string>Pressure Calibration</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="0"> </layout>
<widget class="QCheckBox" name="sendPositionCheckBox">
<property name="text">
<string>Send position setpoint and estimate</string>
</property>
</widget> </widget>
</item> </item>
<item row="5" column="0"> <item row="0" column="0">
<widget class="QCheckBox" name="sendExtra1CheckBox"> <widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Activate Extended Output</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="leftMargin">
<number>6</number>
</property>
<property name="topMargin">
<number>2</number>
</property>
<property name="rightMargin">
<number>6</number>
</property>
<property name="bottomMargin">
<number>2</number>
</property>
<property name="horizontalSpacing">
<number>5</number>
</property>
<property name="verticalSpacing">
<number>2</number>
</property>
<item row="0" column="0">
<widget class="QCheckBox" name="sendRawCheckBox">
<property name="text"> <property name="text">
<string>Send Extra1</string> <string>RAW Sensor Data</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="6" column="0"> <item row="0" column="1">
<widget class="QCheckBox" name="sendExtra2CheckBox"> <widget class="QCheckBox" name="sendRCCheckBox">
<property name="text"> <property name="text">
<string>Send Extra2</string> <string>RC Values</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="7" column="0"> <item row="4" column="0">
<widget class="QCheckBox" name="sendExtra3CheckBox"> <widget class="QCheckBox" name="sendPositionCheckBox">
<property name="text"> <property name="text">
<string>Send Extra3</string> <string>Position setpoint</string>
</property> </property>
</widget> </widget>
</item> </item>
</layout> <item row="5" column="0">
</widget> <widget class="QCheckBox" name="sendControllerCheckBox">
</item>
<item row="1" column="0">
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>Calibration Wizards</string>
</property>
<layout class="QGridLayout" name="gridLayout" columnstretch="0,50">
<property name="margin">
<number>6</number>
</property>
<item row="1" column="0">
<widget class="QPushButton" name="magCalButton">
<property name="text"> <property name="text">
<string>Start Mag. Calibration</string> <string>Raw Controller</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="0"> <item row="1" column="1">
<widget class="QPushButton" name="gyroCalButton"> <widget class="QCheckBox" name="sendExtra1CheckBox">
<property name="text"> <property name="text">
<string>Start Gyro Calibration</string> <string>Send Extra1</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="0"> <item row="1" column="0">
<widget class="QPushButton" name="rcCalButton"> <widget class="QCheckBox" name="sendExtendedCheckBox">
<property name="text"> <property name="text">
<string>Start RC Calibration</string> <string>Attitude</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0"> <item row="4" column="1">
<widget class="QPushButton" name="pressureCalButton"> <widget class="QCheckBox" name="sendExtra2CheckBox">
<property name="text"> <property name="text">
<string>Start Pressure Calibration</string> <string>Send Extra2</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="5" column="1">
<spacer name="horizontalSpacer"> <widget class="QCheckBox" name="sendExtra3CheckBox">
<property name="orientation"> <property name="text">
<enum>Qt::Horizontal</enum> <string>Send Extra3</string>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property> </property>
</spacer> </widget>
</item> </item>
</layout> </layout>
</widget> </widget>
......
...@@ -6,12 +6,12 @@ ...@@ -6,12 +6,12 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>869</width> <width>774</width>
<height>60</height> <height>184</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed"> <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
...@@ -144,6 +144,15 @@ QProgressBar::chunk#thrustBar { ...@@ -144,6 +144,15 @@ QProgressBar::chunk#thrustBar {
}</string> }</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>0</number>
</property>
<item row="0" column="0"> <item row="0" column="0">
<widget class="QGroupBox" name="groupBox_2"> <widget class="QGroupBox" name="groupBox_2">
<property name="sizePolicy"> <property name="sizePolicy">
...@@ -155,7 +164,13 @@ QProgressBar::chunk#thrustBar { ...@@ -155,7 +164,13 @@ QProgressBar::chunk#thrustBar {
<property name="title"> <property name="title">
<string/> <string/>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout" stretch="20,0,0,50,0,0,50,10,0,20,20,20">
<property name="spacing">
<number>2</number>
</property>
<property name="margin">
<number>2</number>
</property>
<item> <item>
<widget class="QLabel" name="idWP_label"> <widget class="QLabel" name="idWP_label">
<property name="text"> <property name="text">
...@@ -168,10 +183,13 @@ QProgressBar::chunk#thrustBar { ...@@ -168,10 +183,13 @@ QProgressBar::chunk#thrustBar {
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeType">
<enum>QSizePolicy::MinimumExpanding</enum>
</property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>135</width> <width>2</width>
<height>13</height> <height>0</height>
</size> </size>
</property> </property>
</spacer> </spacer>
...@@ -184,26 +202,7 @@ QProgressBar::chunk#thrustBar { ...@@ -184,26 +202,7 @@ QProgressBar::chunk#thrustBar {
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QTextEdit" name="m_latitudtextEdit"> <widget class="QLineEdit" name="m_latitudtextEdit"/>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>25</height>
</size>
</property>
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item> </item>
<item> <item>
<spacer name="horizontalSpacer_2"> <spacer name="horizontalSpacer_2">
...@@ -212,8 +211,8 @@ QProgressBar::chunk#thrustBar { ...@@ -212,8 +211,8 @@ QProgressBar::chunk#thrustBar {
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>50</width> <width>2</width>
<height>30</height> <height>0</height>
</size> </size>
</property> </property>
</spacer> </spacer>
...@@ -226,30 +225,20 @@ QProgressBar::chunk#thrustBar { ...@@ -226,30 +225,20 @@ QProgressBar::chunk#thrustBar {
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QTextEdit" name="m_longitudtextEdit"> <widget class="QLineEdit" name="m_longitudtextEdit"/>
<property name="maximumSize">
<size>
<width>120</width>
<height>25</height>
</size>
</property>
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item> </item>
<item> <item>
<spacer name="horizontalSpacer_3"> <spacer name="horizontalSpacer_3">
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeType">
<enum>QSizePolicy::MinimumExpanding</enum>
</property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>50</width> <width>2</width>
<height>30</height> <height>0</height>
</size> </size>
</property> </property>
</spacer> </spacer>
......
...@@ -160,7 +160,7 @@ QProgressBar::chunk#thrustBar { ...@@ -160,7 +160,7 @@ QProgressBar::chunk#thrustBar {
<number>2</number> <number>2</number>
</property> </property>
<property name="margin"> <property name="margin">
<number>5</number> <number>2</number>
</property> </property>
<item> <item>
<widget class="QCheckBox" name="selectedBox"> <widget class="QCheckBox" name="selectedBox">
...@@ -205,7 +205,7 @@ QProgressBar::chunk#thrustBar { ...@@ -205,7 +205,7 @@ QProgressBar::chunk#thrustBar {
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>25</width> <width>25</width>
<height>12</height> <height>0</height>
</size> </size>
</property> </property>
</spacer> </spacer>
...@@ -355,7 +355,7 @@ QProgressBar::chunk#thrustBar { ...@@ -355,7 +355,7 @@ QProgressBar::chunk#thrustBar {
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../../mavground.qrc">
<normaloff>:/images/actions/go-up.svg</normaloff>:/images/actions/go-up.svg</iconset> <normaloff>:/images/actions/go-up.svg</normaloff>:/images/actions/go-up.svg</iconset>
</property> </property>
</widget> </widget>
...@@ -375,7 +375,7 @@ QProgressBar::chunk#thrustBar { ...@@ -375,7 +375,7 @@ QProgressBar::chunk#thrustBar {
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../../mavground.qrc">
<normaloff>:/images/actions/go-down.svg</normaloff>:/images/actions/go-down.svg</iconset> <normaloff>:/images/actions/go-down.svg</normaloff>:/images/actions/go-down.svg</iconset>
</property> </property>
</widget> </widget>
...@@ -395,7 +395,7 @@ QProgressBar::chunk#thrustBar { ...@@ -395,7 +395,7 @@ QProgressBar::chunk#thrustBar {
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../../mavground.qrc">
<normaloff>:/images/actions/list-remove.svg</normaloff>:/images/actions/list-remove.svg</iconset> <normaloff>:/images/actions/list-remove.svg</normaloff>:/images/actions/list-remove.svg</iconset>
</property> </property>
</widget> </widget>
...@@ -405,6 +405,8 @@ QProgressBar::chunk#thrustBar { ...@@ -405,6 +405,8 @@ QProgressBar::chunk#thrustBar {
</item> </item>
</layout> </layout>
</widget> </widget>
<resources/> <resources>
<include location="../../mavground.qrc"/>
</resources>
<connections/> <connections/>
</ui> </ui>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment