diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-03-27 22:57:29 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-03-27 22:57:29 +0100 |
commit | 3e9dfcb6f7bbda7653e6d8873b6273f2e9299d73 (patch) | |
tree | e441d825ebda02767a301e7c15f042abc30decdf /src/modules/fw_pos_control_l1/mtecs/mTecs_params.c | |
parent | d3ca12f136c9a890f7289d69bd783840dc86cfba (diff) | |
download | px4-firmware-3e9dfcb6f7bbda7653e6d8873b6273f2e9299d73.tar.gz px4-firmware-3e9dfcb6f7bbda7653e6d8873b6273f2e9299d73.tar.bz2 px4-firmware-3e9dfcb6f7bbda7653e6d8873b6273f2e9299d73.zip |
mtecs: first rough version of takeoff mode
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 | 39 |
1 files changed, 39 insertions, 0 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 f8db70304..bbd957273 100644 --- a/src/modules/fw_pos_control_l1/mtecs/mTecs_params.c +++ b/src/modules/fw_pos_control_l1/mtecs/mTecs_params.c @@ -246,3 +246,42 @@ PARAM_DEFINE_FLOAT(MT_ACC_MAX, 40.0f); * @group mTECS */ PARAM_DEFINE_FLOAT(MT_AD_LP, 1.0f); + + +/** + * Minimal throttle during takeoff + * + * @min 0.0f + * @max 1.0f + * @group mTECS + */ +PARAM_DEFINE_FLOAT(MT_TKF_THR_MIN, 1.0f); + +/** + * Maximal throttle during takeoff + * + * @min 0.0f + * @max 1.0f + * @group mTECS + */ +PARAM_DEFINE_FLOAT(MT_TKF_THR_MAX, 1.0f); + +/** + * Minimal pitch during takeoff + * + * @min -90.0f + * @max 90.0f + * @unit deg + * @group mTECS + */ +PARAM_DEFINE_FLOAT(MT_TKF_PIT_MIN, 0.0f); + +/** + * Maximal pitch during takeoff + * + * @min -90.0f + * @max 90.0f + * @unit deg + * @group mTECS + */ +PARAM_DEFINE_FLOAT(MT_TKF_PIT_MAX, 45.0f); |