refactor(commander): remove useless parameter COM_FLT_PROFILE (#26735)

This commit is contained in:
Matthias Grob 2026-03-14 10:07:34 +01:00 committed by GitHub
parent 74408c0558
commit 576e336849
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 0 additions and 18 deletions

View File

@ -301,7 +301,6 @@
1 1 COM_FLTMODE5 -1 6
1 1 COM_FLTMODE6 8 6
1 1 COM_FLTT_LOW_ACT 3 6
1 1 COM_FLT_PROFILE 0 6
1 1 COM_FLT_TIME_MAX -1 6
1 1 COM_FORCE_SAFETY 0 6
1 1 COM_HLDL_LOSS_T 120 6

View File

@ -342,7 +342,6 @@ private:
(ParamInt<px4::params::COM_HLDL_REG_T>) _param_com_hldl_reg_t,
(ParamBool<px4::params::COM_HOME_EN>) _param_com_home_en,
(ParamBool<px4::params::COM_HOME_IN_AIR>) _param_com_home_in_air,
(ParamInt<px4::params::COM_FLT_PROFILE>) _param_com_flt_profile,
(ParamBool<px4::params::COM_FORCE_SAFETY>) _param_com_force_safety,
(ParamFloat<px4::params::COM_KILL_DISARM>) _param_com_kill_disarm,
(ParamBool<px4::params::COM_MOT_TEST_EN>) _param_com_mot_test_en,

View File

@ -664,22 +664,6 @@ PARAM_DEFINE_INT32(COM_ACT_FAIL_ACT, 0);
*/
PARAM_DEFINE_INT32(COM_PARACHUTE, 0);
/**
* User Flight Profile
*
* Describes the intended use of the vehicle.
* Can be used by ground control software or log post processing.
* This param does not influence the behavior within the firmware. This means for example the control logic is independent of the setting of this param (but depends on other params).
*
* @value 0 Default
* @value 100 Pro User
* @value 200 Flight Tester
* @value 300 Developer
*
* @group Commander
*/
PARAM_DEFINE_INT32(COM_FLT_PROFILE, 0);
/**
* Enable checks on ESCs that report telemetry.
*