mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 19:03:33 +08:00
Ekf2: Add bitmask to select terrain estimator aiding sources
This commit is contained in:
@@ -644,6 +644,21 @@ PARAM_DEFINE_INT32(EKF2_AID_MASK, 1);
|
||||
*/
|
||||
PARAM_DEFINE_INT32(EKF2_HGT_MODE, 0);
|
||||
|
||||
/**
|
||||
* Integer bitmask controlling fusion sources of the terrain estimator
|
||||
*
|
||||
* Set bits in the following positions to enable:
|
||||
* 0 : Set to true to use range finder data if available
|
||||
* 1 : Set to true to use optical flow data if available
|
||||
*
|
||||
* @group EKF2
|
||||
* @min 0
|
||||
* @max 3
|
||||
* @bit 0 use range finder
|
||||
* @bit 1 use optical flow
|
||||
*/
|
||||
PARAM_DEFINE_INT32(EKF2_TERR_MASK, 3);
|
||||
|
||||
/**
|
||||
* Maximum lapsed time from last fusion of measurements that constrain velocity drift before the EKF will report the horizontal nav solution as invalid.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user