|
|
@ -18,6 +18,37 @@ import QGroundControl.FactControls 1.0 |
|
|
|
import QGroundControl.ScreenTools 1.0 |
|
|
|
import QGroundControl.ScreenTools 1.0 |
|
|
|
import QGroundControl.Vehicle 1.0 |
|
|
|
import QGroundControl.Vehicle 1.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Column { |
|
|
|
|
|
|
|
width: availableWidth |
|
|
|
|
|
|
|
property Fact _airmode: controller.getParameterFact(-1, "MC_AIRMODE", false) |
|
|
|
|
|
|
|
property Fact _thrustModelFactor: controller.getParameterFact(-1, "THR_MDL_FAC", false) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GridLayout { |
|
|
|
|
|
|
|
columns: 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QGCLabel { |
|
|
|
|
|
|
|
textFormat: Text.RichText |
|
|
|
|
|
|
|
text: qsTr("Airmode (disable during tuning) <b><a href=\"https://docs.px4.io/master/en/config_mc/pid_tuning_guide_multicopter.html#airmode-mixer-saturation\">?</a></b>:") |
|
|
|
|
|
|
|
onLinkActivated: Qt.openUrlExternally(link) |
|
|
|
|
|
|
|
visible: _airmode |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
FactComboBox { |
|
|
|
|
|
|
|
fact: _airmode |
|
|
|
|
|
|
|
indexModel: false |
|
|
|
|
|
|
|
visible: _airmode |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QGCLabel { |
|
|
|
|
|
|
|
textFormat: Text.RichText |
|
|
|
|
|
|
|
text: qsTr("Thrust curve <b><a href=\"https://docs.px4.io/master/en/config_mc/pid_tuning_guide_multicopter.html#thrust-curve\">?</a></b>:") |
|
|
|
|
|
|
|
onLinkActivated: Qt.openUrlExternally(link) |
|
|
|
|
|
|
|
visible: _thrustModelFactor |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
FactTextField { |
|
|
|
|
|
|
|
fact: _thrustModelFactor |
|
|
|
|
|
|
|
visible: _thrustModelFactor |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
PIDTuning { |
|
|
|
PIDTuning { |
|
|
|
width: availableWidth |
|
|
|
width: availableWidth |
|
|
|
|
|
|
|
|
|
|
@ -120,4 +151,5 @@ PIDTuning { |
|
|
|
axis: [ roll, pitch, yaw ] |
|
|
|
axis: [ roll, pitch, yaw ] |
|
|
|
chartDisplaySec: 3 |
|
|
|
chartDisplaySec: 3 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|