Skip to content

Commit

Permalink
EKF: Update default value for sideslip fusion noise
Browse files Browse the repository at this point in the history
Use value obtained from tuning on replay logs
  • Loading branch information
priseborough authored and LorenzMeier committed Nov 15, 2016
1 parent 680a8f0 commit 056ac3c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/modules/ekf2/ekf2_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ class Ekf2 : public control::SuperBlock
control::BlockParamExtFloat _mag_heading_noise; // measurement noise used for simple heading fusion
control::BlockParamExtFloat _mag_noise; // measurement noise used for 3-axis magnetoemter fusion (Gauss)
control::BlockParamExtFloat _eas_noise; // measurement noise used for airspeed fusion (std m/s)
control::BlockParamExtFloat _beta_noise; // synthetic sideslip noise (m/s)
control::BlockParamExtFloat _beta_noise; // synthetic sideslip noise (m/s)
control::BlockParamExtFloat _mag_declination_deg;// magnetic declination in degrees
control::BlockParamExtFloat _heading_innov_gate;// innovation gate for heading innovation test
control::BlockParamExtFloat _mag_innov_gate; // innovation gate for magnetometer innovation test
Expand Down
11 changes: 6 additions & 5 deletions src/modules/ekf2/ekf2_params.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,15 +387,16 @@ PARAM_DEFINE_FLOAT(EKF2_MAG_NOISE, 5.0e-2f);
PARAM_DEFINE_FLOAT(EKF2_EAS_NOISE, 1.4f);

/**
* Noise for syntetic sideslip fusion.
* Noise for synthetic sideslip fusion.
*
* @group EKF2
* @min 0.5
* @max 5.0
* @min 0.1
* @max 1.0
* @unit m/s
* @decimal 1
* @decimal 2
*/
PARAM_DEFINE_FLOAT(EKF2_BETA_NOISE, 5.0f);
PARAM_DEFINE_FLOAT(EKF2_BETA_NOISE, 0.3f);

/**
* Magnetic declination
*
Expand Down

0 comments on commit 056ac3c

Please sign in to comment.