QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
PX4FlightModeConfig.cc File Reference
#include "PX4FlightModeConfig.h"
#include <QtCore/QCoreApplication>
#include <algorithm>
#include "PX4FirmwarePlugin.h"
Include dependency graph for PX4FlightModeConfig.cc:

Go to the source code of this file.

Namespaces

namespace  PX4FlightModeConfig

Functions

SelectionMethod PX4FlightModeConfig::selectionMethod (int modeChannel, int buttonMask)
 PX4 ignores the mode buttons while a mode channel is set.
QList< int > PX4FlightModeConfig::buttonChannels (int buttonMask)
QList< int > PX4FlightModeConfig::ignoredButtonChannels (int buttonMask)
 Channels set in RC_MAP_FLTM_BTN that PX4 ignores, because only the lowest kModeSlotCount get a slot.
int PX4FlightModeConfig::externalModeIndex (const QString &paramName, int value)
QList< Choice > PX4FlightModeConfig::modeChoices (const QString &paramName, const QStringList &enumStrings, const QVariantList &enumValues, const QStringList &externalNames, int currentValue)
QString PX4FlightModeConfig::modeName (const QString &paramName, const QStringList &enumStrings, const QVariantList &enumValues, const QStringList &externalNames, int value)
 Label of the mode a parameter value selects, as modeChoices shows it. Empty for a value with no choice.