mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 09:11:36 +08:00
attitude_estimator_ekf: enable acceleration compensation by default
This commit is contained in:
@@ -68,7 +68,7 @@ PARAM_DEFINE_FLOAT(ATT_YAW_OFF3, 0.0f);
|
|||||||
/* magnetic declination, in degrees */
|
/* magnetic declination, in degrees */
|
||||||
PARAM_DEFINE_FLOAT(ATT_MAG_DECL, 0.0f);
|
PARAM_DEFINE_FLOAT(ATT_MAG_DECL, 0.0f);
|
||||||
|
|
||||||
PARAM_DEFINE_INT32(ATT_ACC_COMP, 0);
|
PARAM_DEFINE_INT32(ATT_ACC_COMP, 2);
|
||||||
|
|
||||||
int parameters_init(struct attitude_estimator_ekf_param_handles *h)
|
int parameters_init(struct attitude_estimator_ekf_param_handles *h)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user