Remove COM_POSCTL_NAVL

In an effort to reduce configuration space.
I've not seen use for this option.
If a pilot flies manually in position mode he has some visual reference of the vehicle and can do better than an autonomous mode without position reference.
Also by now we have nudging in Descend mode so the pilot can still give input and the only difference is it automatically goes down instead of the pilot having to descend by stick to land.
This commit is contained in:
Matthias Grob
2025-06-24 17:48:04 +02:00
committed by Silvan Fuhrer
parent 3962419669
commit e0cdcdb436
12 changed files with 20 additions and 86 deletions
+2 -7
View File
@@ -35,7 +35,6 @@
#include <uORB/topics/vehicle_status.h>
#include "HealthAndArmingChecks/HealthAndArmingChecks.hpp"
#include <px4_platform_common/module_params.h>
enum class ModeChangeSource {
User, ///< RC or MAVLink
@@ -58,10 +57,10 @@ public:
};
class UserModeIntention : ModuleParams
class UserModeIntention
{
public:
UserModeIntention(ModuleParams *parent, const vehicle_status_s &vehicle_status,
UserModeIntention(const vehicle_status_s &vehicle_status,
const HealthAndArmingChecks &health_and_arming_checks, ModeChangeHandler *handler);
~UserModeIntention() = default;
@@ -102,8 +101,4 @@ private:
bool _ever_had_mode_change{false}; ///< true if there was ever a mode change call (also if the same mode as already set)
bool _had_mode_change{false}; ///< true if there was a mode change call since the last getHadModeChangeAndClear()
DEFINE_PARAMETERS(
(ParamInt<px4::params::COM_POSCTL_NAVL>) _param_com_posctl_navl
);
};