Browse Source

pid tuning: disable fixed-wing for now (not finished yet)

QGC4.4
Beat Küng 4 years ago committed by Lorenz Meier
parent
commit
1190d91da0
  1. 2
      src/AutoPilotPlugins/PX4/PX4TuningComponent.cc
  2. 8
      src/AutoPilotPlugins/PX4/PX4TuningComponentVTOL.qml

2
src/AutoPilotPlugins/PX4/PX4TuningComponent.cc

@ -54,7 +54,7 @@ QUrl PX4TuningComponent::setupSource(void) const
switch (_vehicle->vehicleType()) { switch (_vehicle->vehicleType()) {
case MAV_TYPE_FIXED_WING: case MAV_TYPE_FIXED_WING:
qmlFile = "qrc:/qml/PX4TuningComponentPlane.qml"; qmlFile = ""; // TODO: "qrc:/qml/PX4TuningComponentPlane.qml";
break; break;
case MAV_TYPE_QUADROTOR: case MAV_TYPE_QUADROTOR:
case MAV_TYPE_COAXIAL: case MAV_TYPE_COAXIAL:

8
src/AutoPilotPlugins/PX4/PX4TuningComponentVTOL.qml

@ -38,14 +38,14 @@ SetupPage {
QGCTabButton { QGCTabButton {
text: qsTr("Multirotor") text: qsTr("Multirotor")
} }
QGCTabButton { //QGCTabButton {
text: qsTr("Fixedwing") // text: qsTr("Fixedwing")
} //}
} }
property var pages: [ property var pages: [
"PX4TuningComponentCopterAll.qml", "PX4TuningComponentCopterAll.qml",
"PX4TuningComponentPlaneAll.qml" //"PX4TuningComponentPlaneAll.qml"
] ]
Loader { Loader {

Loading…
Cancel
Save