diff options
author | Julian Oes <julian@oes.ch> | 2014-06-12 19:12:44 +0200 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2014-06-12 19:12:44 +0200 |
commit | 59ae8cc054e941aa28edb2b668732ff4024e1cd5 (patch) | |
tree | 1032bbf0da29b1a69a6be60add55a7349c01765d /src/modules/fw_pos_control_l1/mtecs/mTecs_params.c | |
parent | d48a8bc073a3aa5f515c582a1c2c3cae58a8d783 (diff) | |
parent | f4898b94c6fd86d9087ee98634cf543fc1fdcbeb (diff) | |
download | px4-firmware-59ae8cc054e941aa28edb2b668732ff4024e1cd5.tar.gz px4-firmware-59ae8cc054e941aa28edb2b668732ff4024e1cd5.tar.bz2 px4-firmware-59ae8cc054e941aa28edb2b668732ff4024e1cd5.zip |
Merge branch 'navigator_rewrite' of github.com:PX4/Firmware into navigator_rewrite
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 | 23 |
1 files changed, 23 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 39514b223..c95bf1dc9 100644 --- a/src/modules/fw_pos_control_l1/mtecs/mTecs_params.c +++ b/src/modules/fw_pos_control_l1/mtecs/mTecs_params.c @@ -222,6 +222,12 @@ PARAM_DEFINE_FLOAT(MT_FPA_MIN, -10.0f); */ PARAM_DEFINE_FLOAT(MT_FPA_MAX, 30.0f); +/** + * Lowpass (cutoff freq.) for airspeed + * + * @group mTECS + */ +PARAM_DEFINE_FLOAT(MT_A_LP, 1.0f); /** * P gain for the airspeed control @@ -234,6 +240,23 @@ PARAM_DEFINE_FLOAT(MT_FPA_MAX, 30.0f); PARAM_DEFINE_FLOAT(MT_ACC_P, 1.5f); /** + * D gain for the airspeed control + * Maps the change of airspeed error to the acceleration setpoint + * + * @min 0.0f + * @max 10.0f + * @group mTECS + */ +PARAM_DEFINE_FLOAT(MT_ACC_D, 0.0f); + +/** + * Lowpass for ACC error derivative calculation (see MT_ACC_D) + * + * @group mTECS + */ +PARAM_DEFINE_FLOAT(MT_ACC_D_LP, 1.0f); + +/** * Minimal acceleration (air) * * @unit m/s^2 |