diff --git a/src/modules/commander/Commander.hpp b/src/modules/commander/Commander.hpp index 9cba70ae45..a15166a0b2 100644 --- a/src/modules/commander/Commander.hpp +++ b/src/modules/commander/Commander.hpp @@ -127,7 +127,8 @@ private: (ParamInt) _tas_use_start_delay, (ParamInt) _airspeed_fail_action, (ParamFloat) _airspeed_stall, - (ParamInt) _airspeed_rtl_delay + (ParamInt) _airspeed_rtl_delay, + (ParamInt) _param_com_flt_profile ) diff --git a/src/modules/commander/commander_params.c b/src/modules/commander/commander_params.c index c96ee27cfe..dab811ea73 100644 --- a/src/modules/commander/commander_params.c +++ b/src/modules/commander/commander_params.c @@ -907,3 +907,20 @@ PARAM_DEFINE_INT32(COM_ASPD_FS_ACT, 0); */ PARAM_DEFINE_INT32(COM_ASPD_FS_DLY, 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). + * + * 0: Default + * 100: Pro User + * 200: Flight Tester + * 300: Developer + * + * @min 0 + * @max 1000 + * @group Commander + */ +PARAM_DEFINE_INT32(COM_FLT_PROFILE, 0);