QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
PX4TuningComponentPlaneTECS.qml
Go to the documentation of this file.
1import QtQuick
2import QtQuick.Controls
3import QtQuick.Layouts
4
5import QGroundControl
6import QGroundControl.Controls
7import QGroundControl.FactControls
8
9ColumnLayout {
10 property real _availableHeight: availableHeight
11 property real _availableWidth: availableWidth
12
13 PIDTuning {
14 id: pidTuning
15 availableWidth: _availableWidth
16 availableHeight: _availableHeight - pidTuning.y
17
18 property var data: QtObject {
19 property string name: qsTr("Altitude & Airspeed")
20 property var plot: [
21 { name: "Airspeed", value: globals.activeVehicle.airSpeed.value },
22 { name: "Airspeed Setpoint", value: globals.activeVehicle.airSpeedSetpoint.value },
23 { name: "Altitide (Rel)", value: globals.activeVehicle.altitudeTuning.value },
24 { name: "Altitude Setpoint", value: globals.activeVehicle.altitudeTuningSetpoint.value }
25 ]
26 property var params: ListModel {
27 ListElement {
28 title: qsTr("Height rate feed forward (FW_T_HRATE_FF)")
29 description: qsTr("TODO")
30 param: "FW_T_HRATE_FF"
31 min: 0
32 max: 1
33 step: 0.05
34 }
35 }
36 // TODO: add other params
37 }
38 title: "TECS"
39 tuningMode: Vehicle.ModeAltitudeAndAirspeed
40 unit: ""
41 axis: [ data ]
42 }
43}