Updated lpe for separate sensor source files, also made more quiet.

This commit is contained in:
James Goppert
2016-04-14 14:32:22 -04:00
parent ba36183d7d
commit 0bfe3a4403
12 changed files with 1255 additions and 1118 deletions
+33 -15
View File
@@ -3,14 +3,6 @@
// 16 is max name length
/**
* Enable local position estimator.
*
* @boolean
* @group Local Position Estimator
*/
PARAM_DEFINE_INT32(LPE_ENABLED, 1);
/**
* Enable accelerometer integration for prediction.
*
@@ -136,6 +128,13 @@ PARAM_DEFINE_FLOAT(LPE_ACC_Z, 0.0454f);
*/
PARAM_DEFINE_FLOAT(LPE_BAR_Z, 1.0f);
/**
* Enable GPS
*
* @group Local Position Estimator
* @boolean
*/
PARAM_DEFINE_INT32(LPE_GPS_ON, 1);
/**
* GPS delay compensaton
@@ -227,16 +226,12 @@ PARAM_DEFINE_FLOAT(LPE_VIS_XY, 0.5f);
PARAM_DEFINE_FLOAT(LPE_VIS_Z, 0.5f);
/**
* Circuit breaker to disable vision input.
*
* Set to the appropriate key (328754) to disable vision input.
* Enabled vision correction
*
* @group Local Position Estimator
* @min 0
* @max 1
* @decimal 0
* @boolean
*/
PARAM_DEFINE_INT32(LPE_NO_VISION, 0);
PARAM_DEFINE_INT32(LPE_VIS_ON, 1);
/**
* Vicon position standard deviation.
@@ -303,3 +298,26 @@ PARAM_DEFINE_FLOAT(LPE_PN_T, 1e-3f);
* @decimal 3
*/
PARAM_DEFINE_FLOAT(LPE_FGYRO_HP, 0.1f);
/**
* Home latitude for nav w/o GPS
*
* @group Local Position Estimator
* @unit deg
* @min -90
* @max 90
* @decimal 8
*/
PARAM_DEFINE_FLOAT(LPE_LAT, 40.430f);
/**
* Home longitude for nav w/o GPS
*
* @group Local Position Estimator
* @unit deg
* @min -180
* @max 180
* @decimal 8
*/
PARAM_DEFINE_FLOAT(LPE_LON, -86.929);