6import QGroundControl.Controls
7import QGroundControl.FactControls
10 property real _availableHeight: availableHeight
11 property real _availableWidth: availableWidth
15 availableWidth: _availableWidth
16 availableHeight: _availableHeight - pidTuning.y
18 property var roll: QtObject {
19 property string name: qsTr("Roll")
21 { name: "Response", value: globals.activeVehicle.roll.value },
22 { name: "Setpoint", value: globals.activeVehicle.setpoint.roll.value }
24 property var params: ListModel {
26 title: qsTr("Proportional Gain (SC_ROLL_P)")
27 description: qsTr("Increase for more responsiveness, reduce if the attitude overshoots.")
35 property var pitch: QtObject {
36 property string name: qsTr("Pitch")
38 { name: "Response", value: globals.activeVehicle.pitch.value },
39 { name: "Setpoint", value: globals.activeVehicle.setpoint.pitch.value }
41 property var params: ListModel {
43 title: qsTr("Proportional Gain (SC_PITCH_P)")
44 description: qsTr("Increase for more responsiveness, reduce if the attitude overshoots.")
52 property var yaw: QtObject {
53 property string name: qsTr("Yaw")
55 { name: "Response", value: globals.activeVehicle.heading.value },
56 { name: "Setpoint", value: globals.activeVehicle.setpoint.yaw.value }
58 property var params: ListModel {
60 title: qsTr("Proportional Gain (SC_YAW_P)")
61 description: qsTr("Increase for more responsiveness, reduce if the attitude overshoots (there is only a setpoint when yaw is fixed, i.e. when centering the stick).")
70 tuningMode: Vehicle.ModeRateAndAttitude
72 axis: [ roll, pitch, yaw ]
73 showAutoModeChange: true