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.rollRate.value },
22 { name: "Setpoint", value: globals.activeVehicle.setpoint.rollRate.value }
24 property var params: ListModel {
26 title: qsTr("Porportional gain (FW_RR_P)")
27 description: qsTr("Porportional gain.")
34 title: qsTr("Differential Gain (FW_RR_D)")
35 description: qsTr("Damping: increase to reduce overshoots and oscillations, but not higher than really needed.")
42 title: qsTr("Integral Gain (FW_RR_I)")
43 description: qsTr("Generally does not need much adjustment, reduce this when seeing slow oscillations.")
50 title: qsTr("Feedforward Gain (FW_RR_FF)")
51 description: qsTr("Feedforward gused to compensate for aerodynamic damping.")
59 property var pitch: QtObject {
60 property string name: qsTr("Pitch")
62 { name: "Response", value: globals.activeVehicle.pitchRate.value },
63 { name: "Setpoint", value: globals.activeVehicle.setpoint.pitchRate.value }
65 property var params: ListModel {
67 title: qsTr("Porportional Gain (FW_PR_P)")
68 description: qsTr("Porportional Gain.")
75 title: qsTr("Differential Gain (FW_PR_D)")
76 description: qsTr("Damping: increase to reduce overshoots and oscillations, but not higher than really needed.")
83 title: qsTr("Integral Gain (FW_PR_I)")
84 description: qsTr("Generally does not need much adjustment, reduce this when seeing slow oscillations.")
91 title: qsTr("Feedforward Gain (FW_PR_FF)")
92 description: qsTr("Feedforward gused to compensate for aerodynamic damping.")
100 property var yaw: QtObject {
101 property string name: qsTr("Yaw")
103 { name: "Response", value: globals.activeVehicle.yawRate.value },
104 { name: "Setpoint", value: globals.activeVehicle.setpoint.yawRate.value }
106 property var params: ListModel {
108 title: qsTr("Porportional Gain (FW_YR_P)")
109 description: qsTr("Porportional Gain.")
116 title: qsTr("Integral Gain (FW_YR_D)")
117 description: qsTr("Generally does not need much adjustment, reduce this when seeing slow oscillations.")
124 title: qsTr("Integral Gain (FW_YR_I)")
125 description: qsTr("Generally does not need much adjustment, reduce this when seeing slow oscillations.")
132 title: qsTr("Feedforward Gain (FW_YR_FF)")
133 description: qsTr("Feedforward gused to compensate for aerodynamic damping.")
140 title: qsTr("Roll control to yaw feedforward (FW_RLL_TO_YAW_FF)")
141 description: qsTr("Used to counteract the adverse yaw effect for fixed wings.")
142 param: "FW_RLL_TO_YAW_FF"
150 tuningMode: Vehicle.ModeRateAndAttitude
152 axis: [ roll, pitch, yaw ]
154 showAutoModeChange: true