diff --git a/src/FirmwarePlugin/PX4/PX4FirmwarePlugin.cc b/src/FirmwarePlugin/PX4/PX4FirmwarePlugin.cc index 044976c00ace9100962c66ecae77d2a6a31f7232..c85bb70db9289980e4e28409cda380907bc1128d 100644 --- a/src/FirmwarePlugin/PX4/PX4FirmwarePlugin.cc +++ b/src/FirmwarePlugin/PX4/PX4FirmwarePlugin.cc @@ -233,7 +233,7 @@ bool PX4FirmwarePlugin::isCapable(const Vehicle *vehicle, FirmwareCapabilities c { int available = SetFlightModeCapability | PauseVehicleCapability | GuidedModeCapability; if (vehicle->multiRotor() || vehicle->vtol()) { - available |= TakeoffVehicleCapability; + available |= TakeoffVehicleCapability | OrbitModeCapability; } return (capabilities & available) == capabilities; diff --git a/src/api/QGCOptions.h b/src/api/QGCOptions.h index 47a1b963459f0036c4f68ecb03768e38e01422be..1dd28f5e8873b1c7c6c6b01948489ca66bf570f9 100644 --- a/src/api/QGCOptions.h +++ b/src/api/QGCOptions.h @@ -52,6 +52,7 @@ public: Q_PROPERTY(bool disableVehicleConnection READ disableVehicleConnection CONSTANT) Q_PROPERTY(float devicePixelRatio READ devicePixelRatio NOTIFY devicePixelRatioChanged) Q_PROPERTY(float devicePixelDensity READ devicePixelDensity NOTIFY devicePixelDensityChanged) + Q_PROPERTY(bool checkFirmwareVersion READ checkFirmwareVersion CONSTANT) /// Should QGC hide its settings menu and colapse it into one single menu (Settings and Vehicle Setup)? /// @return true if QGC should consolidate both menus into one. @@ -94,6 +95,7 @@ public: virtual bool showMissionAbsoluteAltitude () const { return true; } virtual bool showSimpleMissionStart () const { return false; } virtual bool disableVehicleConnection () const { return false; } ///< true: vehicle connection is disabled + virtual bool checkFirmwareVersion () const { return true; } #if defined(__mobile__) virtual bool useMobileFileDialog () const { return true;}