diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-05-12 14:52:33 +0200 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-05-12 14:52:33 +0200 |
commit | 47d21f0c572d3d70e3577cb510d3b305794574ba (patch) | |
tree | bcbf53d1283bb0e64bb44dbf681074721d3a3636 /src/modules/fw_pos_control_l1/fw_pos_control_l1_params.c | |
parent | c384dc993c94504519e77a9e33dd296d76ba682e (diff) | |
parent | 3074bced5666934abf348c9fb2fc4bd4f4b6ca57 (diff) | |
download | px4-firmware-47d21f0c572d3d70e3577cb510d3b305794574ba.tar.gz px4-firmware-47d21f0c572d3d70e3577cb510d3b305794574ba.tar.bz2 px4-firmware-47d21f0c572d3d70e3577cb510d3b305794574ba.zip |
Merge pull request #744 from thomasgubler/fw_landing_rangefinder
Fw landing rangefinder
Diffstat (limited to 'src/modules/fw_pos_control_l1/fw_pos_control_l1_params.c')
-rw-r--r-- | src/modules/fw_pos_control_l1/fw_pos_control_l1_params.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/modules/fw_pos_control_l1/fw_pos_control_l1_params.c b/src/modules/fw_pos_control_l1/fw_pos_control_l1_params.c index 37f06dbe5..f258f77da 100644 --- a/src/modules/fw_pos_control_l1/fw_pos_control_l1_params.c +++ b/src/modules/fw_pos_control_l1/fw_pos_control_l1_params.c @@ -375,3 +375,14 @@ PARAM_DEFINE_FLOAT(FW_LND_TLALT, 5.0f); * @group L1 Control */ PARAM_DEFINE_FLOAT(FW_LND_HHDIST, 15.0f); + +/** + * Relative altitude threshold for range finder measurements for use during landing + * + * range finder measurements will only be used if the estimated relative altitude (gobal_pos.alt - landing_waypoint.alt) is < FW_LND_RFRALT + * set to < 0 to disable + * the correct value of this parameter depends on your range measuring device as well as on the terrain at the landing location + * + * @group L1 Control + */ +PARAM_DEFINE_FLOAT(FW_LND_RFRALT, -1.0f); |