sensors : add parameter for maximum flow rate

This commit is contained in:
Mohammed Kabir
2018-05-19 11:23:08 -04:00
committed by Lorenz Meier
parent 32a7097018
commit 7f1686171b
+14 -1
View File
@@ -83,4 +83,17 @@ PARAM_DEFINE_FLOAT(SENS_FLOW_MINHGT, 0.7f);
* @decimal 1
* @group Sensor Calibration
*/
PARAM_DEFINE_FLOAT(SENS_FLOW_MAXHGT, 3.0f);
PARAM_DEFINE_FLOAT(SENS_FLOW_MAXHGT, 3.0f);
/**
* Magnitude of maximum angular flow rate reliably measurable by the optical flow sensor.
* Optical flow data will not fused by the estimators if the magnitude of the flow rate exceeds this value and
* control loops will be instructed to limit ground speed such that the flow rate produced by movement over ground
* is less than 50% of this value.
*
* @unit rad/s
* @min 1.0
* @decimal 2
* @group Sensor Calibration
*/
PARAM_DEFINE_FLOAT(SENS_FLOW_MAXR, 2.5f);