diff --git a/qgroundcontrol.qrc b/qgroundcontrol.qrc
index fb344ce..acb5248 100644
--- a/qgroundcontrol.qrc
+++ b/qgroundcontrol.qrc
@@ -20,7 +20,6 @@
src/AutoPilotPlugins/PX4/FlightModesComponentSummary.qml
src/AutoPilotPlugins/APM/APMFlightModesComponent.qml
src/AutoPilotPlugins/APM/APMFlightModesComponentSummary.qml
-
src/ui/preferences/BluetoothSettings.qml
src/ui/preferences/DebugWindow.qml
src/ui/preferences/GeneralSettings.qml
@@ -33,7 +32,6 @@
src/ui/preferences/SerialSettings.qml
src/ui/preferences/TcpSettings.qml
src/ui/preferences/UdpSettings.qml
-
src/VehicleSetup/JoystickConfig.qml
src/ui/toolbar/MainToolBar.qml
src/ui/MainWindowHybrid.qml
@@ -44,7 +42,6 @@
src/AutoPilotPlugins/PX4/PowerComponent.qml
src/AutoPilotPlugins/PX4/PowerComponentSummary.qml
src/VehicleSetup/PX4FlowSensor.qml
-
src/QmlControls/QGroundControl.Controls.qmldir
src/QmlControls/ClickableColor.qml
src/QmlControls/DropButton.qml
@@ -88,10 +85,8 @@
src/QmlControls/VehicleSummaryRow.qml
src/QmlControls/AppMessages.qml
src/ViewWidgets/ViewWidget.qml
-
src/MissionEditor/SimpleItemEditor.qml
src/MissionEditor/SurveyItemEditor.qml
-
src/FactSystem/FactControls/FactBitmask.qml
src/FactSystem/FactControls/FactCheckBox.qml
src/FactSystem/FactControls/FactComboBox.qml
@@ -99,14 +94,12 @@
src/FactSystem/FactControls/FactPanel.qml
src/FactSystem/FactControls/FactTextField.qml
src/FactSystem/FactControls/qmldir
-
src/FlightDisplay/qmldir
src/FlightDisplay/FlightDisplayView.qml
src/FlightDisplay/FlightDisplayViewMap.qml
src/FlightDisplay/FlightDisplayViewVideo.qml
src/FlightDisplay/FlightDisplayViewWidgets.qml
src/FlightDisplay/VirtualJoystick.qml
-
src/FlightMap/qmldir
src/FlightMap/FlightMap.qml
src/FlightMap/MapItems/MissionItemIndicator.qml
@@ -125,7 +118,6 @@
src/FlightMap/Widgets/VibrationWidget.qml
src/FlightMap/MapItems/VehicleMapItem.qml
src/FlightMap/Widgets/InstrumentSwipeView.qml
-
src/QmlControls/QGroundControl.ScreenTools.qmldir
src/QmlControls/ScreenTools.qml
src/QmlControls/QmlTest.qml
@@ -162,6 +154,7 @@
src/test.qml
src/VehicleSetup/VehicleSummary.qml
src/QmlControls/OfflineMapButton.qml
+ src/AutoPilotPlugins/PX4/PX4TuningComponentVTOL.qml
src/MissionManager/MavCmdInfoCommon.json
diff --git a/src/AutoPilotPlugins/PX4/PX4TuningComponent.cc b/src/AutoPilotPlugins/PX4/PX4TuningComponent.cc
index 75f07fa..5d7f5d5 100644
--- a/src/AutoPilotPlugins/PX4/PX4TuningComponent.cc
+++ b/src/AutoPilotPlugins/PX4/PX4TuningComponent.cc
@@ -77,6 +77,15 @@ QUrl PX4TuningComponent::setupSource(void) const
case MAV_TYPE_TRICOPTER:
qmlFile = "qrc:/qml/PX4TuningComponentCopter.qml";
break;
+ case MAV_TYPE_VTOL_DUOROTOR:
+ case MAV_TYPE_VTOL_QUADROTOR:
+ case MAV_TYPE_VTOL_TILTROTOR:
+ case MAV_TYPE_VTOL_RESERVED2:
+ case MAV_TYPE_VTOL_RESERVED3:
+ case MAV_TYPE_VTOL_RESERVED4:
+ case MAV_TYPE_VTOL_RESERVED5:
+ qmlFile = "qrc:/qml/PX4TuningComponentVTOL.qml";
+ break;
default:
break;
}
diff --git a/src/AutoPilotPlugins/PX4/PX4TuningComponentCopter.qml b/src/AutoPilotPlugins/PX4/PX4TuningComponentCopter.qml
index 16d4a07..06ae6aa 100644
--- a/src/AutoPilotPlugins/PX4/PX4TuningComponentCopter.qml
+++ b/src/AutoPilotPlugins/PX4/PX4TuningComponentCopter.qml
@@ -32,12 +32,21 @@ FactSliderPanel {
sliderModel: ListModel {
ListElement {
- title: qsTr("Throttle Hover")
+ title: qsTr("Hover Throttle")
description: qsTr("Adjust throttle so hover is at mid-throttle. Slide to the left if hover is lower than throttle center. Slide to the right if hover is higher than throttle center.")
param: "MPC_THR_HOVER"
- min: 0.2
- max: 0.8
- step: 0.01
+ min: 20
+ max: 60
+ step: 1
+ }
+
+ ListElement {
+ title: qsTr("Manual minimum throttle")
+ description: qsTr("Slide to the left to start the motors with less idle power. Slide to the right if descending in manual flight becomes unstable.")
+ param: "MPC_MANTHR_MIN"
+ min: 0
+ max: 15
+ step: 1
}
ListElement {
@@ -75,14 +84,5 @@ FactSliderPanel {
max: 1.0
step: 0.1
}
-
- ListElement {
- title: qsTr("Manual minimum throttle")
- description: qsTr("Slide to the left to start the motors with less idle power. Slide to the right if descending in manual flight becomes unstable.")
- param: "MPC_MANTHR_MIN"
- min: 0
- max: 0.15
- step: 0.01
- }
}
}
diff --git a/src/AutoPilotPlugins/PX4/PX4TuningComponentPlane.qml b/src/AutoPilotPlugins/PX4/PX4TuningComponentPlane.qml
index dc9c265..85af9c5 100644
--- a/src/AutoPilotPlugins/PX4/PX4TuningComponentPlane.qml
+++ b/src/AutoPilotPlugins/PX4/PX4TuningComponentPlane.qml
@@ -30,45 +30,9 @@ FactSliderPanel {
anchors.fill: parent
sliderModel: ListModel {
-
- ListElement {
- title: qsTr("Hover Roll sensitivity")
- description: qsTr("Slide to the left to make roll control during hover faster and more accurate. Slide to the right if roll oscillates or is too twitchy.")
- param: "MC_ROLL_TC"
- min: 0.15
- max: 0.25
- step: 0.01
- }
-
- ListElement {
- title: qsTr("Hover Pitch sensitivity")
- description: qsTr("Slide to the left to make pitch control during hover faster and more accurate. Slide to the right if pitch oscillates or is too twitchy.")
- param: "MC_PITCH_TC"
- min: 0.15
- max: 0.25
- step: 0.01
- }
-
ListElement {
- title: qsTr("Hover Altitude control sensitivity")
- description: qsTr("Slide to the left to make altitude control during hover smoother and less twitchy. Slide to the right to make altitude control more accurate and more aggressive.")
- param: "MPC_Z_FF"
- min: 0
- max: 1.0
- step: 0.1
- }
-
- ListElement {
- title: qsTr("Hover Position control sensitivity")
- description: qsTr("Slide to the left to make flight during hover in position control mode smoother and less twitchy. Slide to the right to make position control more accurate and more aggressive.")
- param: "MPC_XY_FF"
- min: 0
- max: 1.0
- step: 0.1
- }
- ListElement {
- title: qsTr("Plane Roll sensitivity")
- description: qsTr("Slide to the left to make roll control faster and more accurate. Slide to the right if roll oscillates or is too twitchy.")
+ title: "Roll sensitivity"
+ description: "Slide to the left to make roll control faster and more accurate. Slide to the right if roll oscillates or is too twitchy."
param: "FW_R_TC"
min: 0.2
max: 0.8
@@ -76,8 +40,8 @@ FactSliderPanel {
}
ListElement {
- title: qsTr("Plane Pitch sensitivity")
- description: qsTr("Slide to the left to make pitch control faster and more accurate. Slide to the right if pitch oscillates or is too twitchy.")
+ title: "Pitch sensitivity"
+ description: "Slide to the left to make pitch control faster and more accurate. Slide to the right if pitch oscillates or is too twitchy."
param: "FW_P_TC"
min: 0.2
max: 0.8
@@ -85,17 +49,17 @@ FactSliderPanel {
}
ListElement {
- title: qsTr("Plane Cruise throttle")
- description: qsTr("This is the throttle setting required to achieve the desired cruise speed. Most planes need 50-60%.")
+ title: "Cruise throttle"
+ description: "This is the throttle setting required to achieve the desired cruise speed. Most planes need 50-60%."
param: "FW_THR_CRUISE"
- min: 0.2
- max: 0.8
- step: 0.01
+ min: 20
+ max: 80
+ step: 1
}
ListElement {
- title: qsTr("Plane Mission mode sensitivity")
- description: qsTr("Slide to the left to make position control more accurate and more aggressive. Slide to the right to make flight in mission mode smoother and less twitchy.")
+ title: "Mission mode sensitivity"
+ description: "Slide to the left to make position control more accurate and more aggressive. Slide to the right to make flight in mission mode smoother and less twitchy."
param: "FW_L1_PERIOD"
min: 12
max: 50
diff --git a/src/AutoPilotPlugins/PX4/PX4TuningComponentVTOL.qml b/src/AutoPilotPlugins/PX4/PX4TuningComponentVTOL.qml
index 9210cda..adf4c21 100644
--- a/src/AutoPilotPlugins/PX4/PX4TuningComponentVTOL.qml
+++ b/src/AutoPilotPlugins/PX4/PX4TuningComponentVTOL.qml
@@ -30,9 +30,45 @@ FactSliderPanel {
anchors.fill: parent
sliderModel: ListModel {
+
+ ListElement {
+ title: qsTr("Hover Roll sensitivity")
+ description: qsTr("Slide to the left to make roll control during hover faster and more accurate. Slide to the right if roll oscillates or is too twitchy.")
+ param: "MC_ROLL_TC"
+ min: 0.15
+ max: 0.25
+ step: 0.01
+ }
+
+ ListElement {
+ title: qsTr("Hover Pitch sensitivity")
+ description: qsTr("Slide to the left to make pitch control during hover faster and more accurate. Slide to the right if pitch oscillates or is too twitchy.")
+ param: "MC_PITCH_TC"
+ min: 0.15
+ max: 0.25
+ step: 0.01
+ }
+
+ ListElement {
+ title: qsTr("Hover Altitude control sensitivity")
+ description: qsTr("Slide to the left to make altitude control during hover smoother and less twitchy. Slide to the right to make altitude control more accurate and more aggressive.")
+ param: "MPC_Z_FF"
+ min: 0
+ max: 1.0
+ step: 0.1
+ }
+
ListElement {
- title: "Roll sensitivity"
- description: "Slide to the left to make roll control faster and more accurate. Slide to the right if roll oscillates or is too twitchy."
+ title: qsTr("Hover Position control sensitivity")
+ description: qsTr("Slide to the left to make flight during hover in position control mode smoother and less twitchy. Slide to the right to make position control more accurate and more aggressive.")
+ param: "MPC_XY_FF"
+ min: 0
+ max: 1.0
+ step: 0.1
+ }
+ ListElement {
+ title: qsTr("Plane Roll sensitivity")
+ description: qsTr("Slide to the left to make roll control faster and more accurate. Slide to the right if roll oscillates or is too twitchy.")
param: "FW_R_TC"
min: 0.2
max: 0.8
@@ -40,8 +76,8 @@ FactSliderPanel {
}
ListElement {
- title: "Pitch sensitivity"
- description: "Slide to the left to make pitch control faster and more accurate. Slide to the right if pitch oscillates or is too twitchy."
+ title: qsTr("Plane Pitch sensitivity")
+ description: qsTr("Slide to the left to make pitch control faster and more accurate. Slide to the right if pitch oscillates or is too twitchy.")
param: "FW_P_TC"
min: 0.2
max: 0.8
@@ -49,17 +85,35 @@ FactSliderPanel {
}
ListElement {
- title: "Cruise throttle"
- description: "This is the throttle setting required to achieve the desired cruise speed. Most planes need 50-60%."
+ title: qsTr("Plane Cruise throttle")
+ description: qsTr("This is the throttle setting required to achieve the desired cruise speed. Most planes need 50-60%.")
param: "FW_THR_CRUISE"
- min: 0.2
- max: 0.8
- step: 0.01
+ min: 20
+ max: 80
+ step: 1
+ }
+
+ ListElement {
+ title: qsTr("Hover Throttle")
+ description: qsTr("Adjust throttle so hover is at mid-throttle. Slide to the left if hover is lower than throttle center. Slide to the right if hover is higher than throttle center.")
+ param: "MPC_THR_HOVER"
+ min: 20
+ max: 60
+ step: 1
+ }
+
+ ListElement {
+ title: qsTr("Hoever manual minimum throttle")
+ description: qsTr("Slide to the left to start the motors with less idle power. Slide to the right if descending in manual flight becomes unstable.")
+ param: "MPC_MANTHR_MIN"
+ min: 0
+ max: 15
+ step: 1
}
ListElement {
- title: "Mission mode sensitivity"
- description: "Slide to the left to make position control more accurate and more aggressive. Slide to the right to make flight in mission mode smoother and less twitchy."
+ title: qsTr("Plane Mission mode sensitivity")
+ description: qsTr("Slide to the left to make position control more accurate and more aggressive. Slide to the right to make flight in mission mode smoother and less twitchy.")
param: "FW_L1_PERIOD"
min: 12
max: 50
diff --git a/src/AutoPilotPlugins/PX4/SafetyComponent.qml b/src/AutoPilotPlugins/PX4/SafetyComponent.qml
index 1a3e675..de8394b 100644
--- a/src/AutoPilotPlugins/PX4/SafetyComponent.qml
+++ b/src/AutoPilotPlugins/PX4/SafetyComponent.qml
@@ -60,16 +60,13 @@ QGCView {
anchors.fill: parent
QGCFlickable {
clip: true
- anchors.top: parent.top
- anchors.bottom: parent.bottom
- anchors.horizontalCenter: parent.horizontalCenter
- width: mainCol.width
+ anchors.fill: parent
contentHeight: mainCol.height
- contentWidth: mainCol.width
flickableDirection: Flickable.VerticalFlick
Column {
id: mainCol
spacing: _margins
+ anchors.horizontalCenter: parent.horizontalCenter
/*
**** Low Battery ****
*/
@@ -514,6 +511,7 @@ QGCView {
}
}
}
+ Item { width: 1; height: _margins * 0.5; }
}
}
}