mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 21:23:34 +08:00
Made LPE var pub threshold a parameter. (#4959)
This commit is contained in:
@@ -3,14 +3,6 @@
|
||||
// 16 is max name length
|
||||
|
||||
|
||||
/**
|
||||
* Accelerometer integration for prediction.
|
||||
*
|
||||
* @boolean
|
||||
* @group Local Position Estimator
|
||||
*/
|
||||
PARAM_DEFINE_INT32(LPE_INTEGRATE, 1);
|
||||
|
||||
/**
|
||||
* Optical flow z offset from center
|
||||
*
|
||||
@@ -346,5 +338,26 @@ PARAM_DEFINE_FLOAT(LPE_LON, -86.929);
|
||||
* @max 1000
|
||||
* @decimal 0
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(LPE_X_LP, 5.0);
|
||||
PARAM_DEFINE_FLOAT(LPE_X_LP, 5.0f);
|
||||
|
||||
/**
|
||||
* Required xy standard deviation to publish position
|
||||
*
|
||||
* @group Local Position Estimator
|
||||
* @unit m
|
||||
* @min 0.3
|
||||
* @max 5.0
|
||||
* @decimal 1
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(LPE_XY_PUB, 1.0f);
|
||||
|
||||
/**
|
||||
* Required z standard deviation to publish altitude/ terrain
|
||||
*
|
||||
* @group Local Position Estimator
|
||||
* @unit m
|
||||
* @min 0.3
|
||||
* @max 5.0
|
||||
* @decimal 1
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(LPE_Z_PUB, 1.0f);
|
||||
|
||||
Reference in New Issue
Block a user