7import QGroundControl.FactControls
8import QGroundControl.Controls
10/// PX4 Flight Mode configuration. This control will load either the Simple or Advanced Flight Mode config
11/// based on current parameter settings.
13 pageComponent: pageComponent
18 height: availableHeight
19 source: "qrc:/qml/QGroundControl/AutoPilotPlugins/PX4/PX4SimpleFlightModes.qml"
21 property Fact _nullFact
22 property bool _rcMapFltmodeExists: controller.parameterExists(-1, "RC_MAP_FLTMODE")
23 property Fact _rcMapFltmode: _rcMapFltmodeExists ? controller.getParameterFact(-1, "RC_MAP_FLTMODE") : _nullFact