aboutsummaryrefslogtreecommitdiff
path: root/src/modules/fw_pos_control_l1/fw_pos_control_l1_params.c
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-03-15 11:56:04 +0100
committerThomas Gubler <thomasgubler@gmail.com>2014-03-15 12:02:14 +0100
commit3317259e798b31ff407e07188f3080f6dbccf478 (patch)
treef2443dd7f1dc1b3ee6dcb3630294a3e5a609bd24 /src/modules/fw_pos_control_l1/fw_pos_control_l1_params.c
parente590d96c0a7aa4a06a36423bae3db42ada226bc5 (diff)
downloadpx4-firmware-3317259e798b31ff407e07188f3080f6dbccf478.tar.gz
px4-firmware-3317259e798b31ff407e07188f3080f6dbccf478.tar.bz2
px4-firmware-3317259e798b31ff407e07188f3080f6dbccf478.zip
integrate range finder into fw landing
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.c10
1 files changed, 10 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 0909135e1..8ec0f0027 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,13 @@ PARAM_DEFINE_FLOAT(FW_LND_TLALT, 5.0f);
* @group L1 Control
*/
PARAM_DEFINE_FLOAT(FW_LND_HHDIST, 15.0f);
+
+/**
+ * Landing relative altitude threshold for range finder measurements
+ *
+ * range finder measurements will only be used below FW_LND_RFRALT estimated relative altitude (gobal_pos.alt - landing_waypoint.alt)
+ * set to -1 to disable
+ *
+ * @group L1 Control
+ */
+PARAM_DEFINE_FLOAT(FW_LND_RFRALT, 30.0f);