3#include <QtCore/QLoggingCategory>
13 Q_PROPERTY(
Fact *camTilt READ camTilt CONSTANT)
14 Q_PROPERTY(
Fact *tetherTurns READ tetherTurns CONSTANT)
15 Q_PROPERTY(
Fact *lightsLevel1 READ lightsLevel1 CONSTANT)
16 Q_PROPERTY(
Fact *lightsLevel2 READ lightsLevel2 CONSTANT)
17 Q_PROPERTY(
Fact *pilotGain READ pilotGain CONSTANT)
18 Q_PROPERTY(
Fact *inputHold READ inputHold CONSTANT)
19 Q_PROPERTY(
Fact *rangefinderDistance READ rangefinderDistance CONSTANT)
20 Q_PROPERTY(
Fact *rangefinderTarget READ rangefinderTarget CONSTANT)
26 Fact *camTilt() {
return &_camTiltFact; }
27 Fact *tetherTurns() {
return &_tetherTurnsFact; }
28 Fact *lightsLevel1() {
return &_lightsLevel1Fact; }
29 Fact *lightsLevel2() {
return &_lightsLevel2Fact; }
30 Fact *pilotGain() {
return &_pilotGainFact; }
31 Fact *inputHold() {
return &_inputHoldFact; }
32 Fact *rangefinderDistance() {
return &_rangefinderDistanceFact; }
33 Fact *rangefinderTarget() {
return &_rangefinderTargetFact; }
99 QString
brandImageIndoor(
const Vehicle *vehicle)
const override { Q_UNUSED(vehicle);
return QStringLiteral(
"/qmlimages/APM/BrandImageSub"); }
100 QString
brandImageOutdoor(
const Vehicle *vehicle)
const override { Q_UNUSED(vehicle);
return QStringLiteral(
"/qmlimages/APM/BrandImageSub"); }
104 QMap<QString, FactGroup*> *
factGroups()
override;
129 QVariantList _toolIndicators;
130 static bool _remapParamNameIntialized;
131 QMap<QString, QString> _factRenameMap;
136 QMap<QString, FactGroup*> _nameToFactGroupMap;
Q_DECLARE_LOGGING_CATEGORY(AndroidSerialLog)
QList< FirmwareFlightMode > FlightModeList
struct __mavlink_message mavlink_message_t
This is the base class for all stack specific APM firmware plugins.
const QString _surfaceFlightMode
void initializeStreamRates(Vehicle *vehicle) override
QMap< QString, FactGroup * > * factGroups() override
Returns a pointer to a dictionary of firmware-specific FactGroups.
const QString _manualFlightMode
const QString _autoFlightMode
uint32_t _convertToCustomFlightModeEnum(uint32_t val) const override
const FirmwarePlugin::remapParamNameMajorVersionMap_t & paramNameRemapMajorVersionMap() const override
Returns the mapping structure which is used to map from one parameter name to another based on firmwa...
void adjustMetaData(MAV_TYPE vehicleType, FactMetaData *metaData) override
QString stabilizedFlightMode() const override
Returns the flight mode for Stabilized.
int remapParamNameHigestMinorVersionNumber(int majorVersionNumber) const override
Returns the highest major version number that is known to the remap for this specified major version.
const QString _acroFlightMode
bool supportsRadio() const override
QString vehicleImageOpaque(const Vehicle *) const override
Return the resource file which contains the vehicle icon used in the flight view when the view is dar...
const QString _circleFlightMode
bool supportsMotorInterference() const override
QString brandImageIndoor(const Vehicle *vehicle) const override
Return the resource file which contains the brand image for the vehicle for Indoor theme.
const QString _motorDetectionFlightMode
QString offlineEditingParamFile(Vehicle *vehicle) const override
Return the resource file which contains the set of params loaded for offline editing.
const QString _stabilizeFlightMode
const QString _guidedFlightMode
QString vehicleImageOutline(const Vehicle *vehicle) const override
Return the resource file which contains the vehicle icon used in the flight view when the view is lig...
bool adjustIncomingMavlinkMessage(Vehicle *vehicle, mavlink_message_t *message) override
bool isCapable(const Vehicle *vehicle, FirmwareCapabilities capabilities) const override
const QString _surftrakFlightMode
int defaultJoystickTXMode() const override
bool supportsJSButton() const override
QString brandImageOutdoor(const Vehicle *vehicle) const override
Return the resource file which contains the brand image for the vehicle for Outdoor theme.
bool supportsThrottleModeCenterZero() const override
QString motorDetectionFlightMode() const override
Returns the flight mode for Motor Detection.
const QString _posHoldFlightMode
void updateAvailableFlightModes(FlightModeList &modeList) override
Update Available flight modes recieved from vehicle.
const QString _altHoldFlightMode
Used to group Facts together into an object hierarachy.
A Fact is used to hold a single value within the system.
FirmwareCapabilities
Set of optional capabilites which firmware may support.
QMap< int, remapParamNameMinorVersionRemapMap_t > remapParamNameMajorVersionMap_t