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 position: QtObject {
19 property string name: qsTr("Velocity")
20 property string plotTitle: qsTr("Velocity (X axis)")
22 { name: "Response", value: globals.activeVehicle.localPosition.vx.value },
23 { name: "Setpoint", value: globals.activeVehicle.localPositionSetpoint.vx.value }
25 property var params: ListModel {
27 title: qsTr("Proportional gain (SPC_VEL_P)")
28 description: qsTr("Increase for more responsiveness, reduce if the velocity overshoots (and increasing D does not help).")
35 title: qsTr("Differential gain (SPC_VEL_D)")
36 description: qsTr("Damping: increase to reduce overshoots and oscillations, but not higher than really needed.")
43 title: qsTr("Integral gain (SPC_VEL_I)")
44 description: qsTr("Increase to reduce steady-state error (e.g. wind)")
51 title: qsTr("Integral gain Limiter (SPC_VEL_I_LIM)")
52 description: qsTr("Increase to enlarge the allowed integral compensation.")
53 param: "SPC_VEL_I_LIM"
61 tuningMode: Vehicle.ModeVelocityAndPosition