53 QString
offlineEditingParamFile(
Vehicle *vehicle)
const override { Q_UNUSED(vehicle);
return QStringLiteral(
":/FirmwarePlugin/APM/Copter.OfflineEditing.params"); }
70 const QString _stabilizeFlightMode = tr(
"Stabilize");
71 const QString _acroFlightMode = tr(
"Acro");
72 const QString _altHoldFlightMode = tr(
"Altitude Hold");
73 const QString _autoFlightMode = tr(
"Auto");
74 const QString _guidedFlightMode = tr(
"Guided");
75 const QString _loiterFlightMode = tr(
"Loiter");
76 const QString _rtlFlightMode = tr(
"RTL");
77 const QString _circleFlightMode = tr(
"Circle");
78 const QString _landFlightMode = tr(
"Land");
79 const QString _driftFlightMode = tr(
"Drift");
80 const QString _sportFlightMode = tr(
"Sport");
81 const QString _flipFlightMode = tr(
"Flip");
82 const QString _autotuneFlightMode = tr(
"Autotune");
83 const QString _posHoldFlightMode = tr(
"Position Hold");
84 const QString _brakeFlightMode = tr(
"Brake");
85 const QString _throwFlightMode = tr(
"Throw");
86 const QString _avoidADSBFlightMode = tr(
"Avoid ADSB");
87 const QString _guidedNoGPSFlightMode = tr(
"Guided No GPS");
88 const QString _smartRtlFlightMode = tr(
"Smart RTL");
89 const QString _flowHoldFlightMode = tr(
"Flow Hold");
90 const QString _followFlightMode = tr(
"Follow");
91 const QString _zigzagFlightMode = tr(
"ZigZag");
92 const QString _systemIDFlightMode = tr(
"SystemID");
93 const QString _autoRotateFlightMode = tr(
"AutoRotate");
94 const QString _autoRTLFlightMode = tr(
"AutoRTL");
95 const QString _turtleFlightMode = tr(
"Turtle");
97 static bool _remapParamNameIntialized;
QList< FirmwareFlightMode > FlightModeList
This is the base class for all stack specific APM firmware plugins.
virtual QString guidedFlightMode() const
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 guidedModeLand(Vehicle *vehicle) const override
Command vehicle to land at current location.
bool supportsSmartRTL() const override
uint32_t _convertToCustomFlightModeEnum(uint32_t val) const override
void updateAvailableFlightModes(FlightModeList &modeList) override
Update Available flight modes recieved from vehicle.
QString followFlightMode() const override
Returns the flight mode which the vehicle will be for follow me.
QString gotoFlightMode() const override
Returns the flight mode which the vehicle will be in if it is performing a goto location.
int remapParamNameHigestMinorVersionNumber(int majorVersionNumber) const override
Returns the highest major version number that is known to the remap for this specified major version.
QString landFlightMode() const override
Returns the flight mode for Land.
QString autoDisarmParameter(Vehicle *vehicle) const override
QString takeOffFlightMode() const override
Returns the flight mode for TakeOff.
QString stabilizedFlightMode() const override
Returns the flight mode for Stabilized.
bool multiRotorXConfig(Vehicle *vehicle) const override
QString pauseFlightMode() const override
Returns The flight mode which indicates the vehicle is paused.
QString offlineEditingParamFile(Vehicle *vehicle) const override
Return the resource file which contains the set of params loaded for offline editing.
bool multiRotorCoaxialMotors(Vehicle *) const override
~ArduCopterFirmwarePlugin()
QString takeControlFlightMode() const override
Returns the flight mode to use when the operator wants to take back control from autonomouse flight.
bool _setFlightModeAndValidate(Vehicle *vehicle, const QString &flightMode) const
QMap< int, remapParamNameMinorVersionRemapMap_t > remapParamNameMajorVersionMap_t