diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-04-21 16:20:20 +0200 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-04-21 16:20:20 +0200 |
commit | 671c7a115a7c01ed89266a6631fb3929af84ffcf (patch) | |
tree | e2abb42c3c438f26d4847f7b7e8305e1da4a19f6 /src/modules/fw_pos_control_l1/mtecs/mTecs_params.c | |
parent | 68e196c9cc94b421e5b8d426b102f523beb1ad4f (diff) | |
download | px4-firmware-671c7a115a7c01ed89266a6631fb3929af84ffcf.tar.gz px4-firmware-671c7a115a7c01ed89266a6631fb3929af84ffcf.tar.bz2 px4-firmware-671c7a115a7c01ed89266a6631fb3929af84ffcf.zip |
simple underspeed protection for mtecs
Diffstat (limited to 'src/modules/fw_pos_control_l1/mtecs/mTecs_params.c')
-rw-r--r-- | src/modules/fw_pos_control_l1/mtecs/mTecs_params.c | 40 |
1 files changed, 39 insertions, 1 deletions
diff --git a/src/modules/fw_pos_control_l1/mtecs/mTecs_params.c b/src/modules/fw_pos_control_l1/mtecs/mTecs_params.c index 85a4f3d48..fd501c17a 100644 --- a/src/modules/fw_pos_control_l1/mtecs/mTecs_params.c +++ b/src/modules/fw_pos_control_l1/mtecs/mTecs_params.c @@ -247,7 +247,6 @@ PARAM_DEFINE_FLOAT(MT_ACC_MAX, 40.0f); */ PARAM_DEFINE_FLOAT(MT_AD_LP, 1.0f); - /** * Minimal throttle during takeoff * @@ -285,3 +284,42 @@ PARAM_DEFINE_FLOAT(MT_TKF_PIT_MIN, 0.0f); * @group mTECS */ PARAM_DEFINE_FLOAT(MT_TKF_PIT_MAX, 45.0f); + +/** + * Minimal throttle in underspeed mode + * + * @min 0.0f + * @max 1.0f + * @group mTECS + */ +PARAM_DEFINE_FLOAT(MT_USP_THR_MIN, 1.0f); + +/** + * Maximal throttle in underspeed mode + * + * @min 0.0f + * @max 1.0f + * @group mTECS + */ +PARAM_DEFINE_FLOAT(MT_USP_THR_MAX, 1.0f); + +/** + * Minimal pitch in underspeed mode + * + * @min -90.0f + * @max 90.0f + * @unit deg + * @group mTECS + */ +PARAM_DEFINE_FLOAT(MT_USP_PIT_MIN, -45.0f); + +/** + * Maximal pitch in underspeed mode + * + * @min -90.0f + * @max 90.0f + * @unit deg + * @group mTECS + */ +PARAM_DEFINE_FLOAT(MT_USP_PIT_MAX, 0.0f); + |