Commit 7b5bce56 authored by Lorenz Meier's avatar Lorenz Meier

PX4: Add VTOL transition switch

parent 3541416f
......@@ -193,6 +193,26 @@ Item {
indexModel: false
}
}
Row {
spacing: ScreenTools.defaultFontPixelWidth
property Fact fact: controller.getParameterFact(-1, "RC_MAP_TRANS_SW")
visible: (controller.vehicle.vtol)
QGCLabel {
anchors.baseline: vtolCombo.baseline
text: "VTOL mode switch:"
color: parent.fact.value == 0 ? qgcPal.text : (controller.rcChannelValues[parent.fact.value - 1] >= 1500 ? "yellow" : qgcPal.text)
}
FactComboBox {
id: vtolCombo
width: _channelComboWidth
fact: parent.fact
indexModel: false
}
}
} // Column
} // Rectangle
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment