Skip to content

Commit

Permalink
ekf2: zero innov heading up - explain obs_var choice
Browse files Browse the repository at this point in the history
  • Loading branch information
bresch committed Jun 9, 2023
1 parent 817d466 commit ec6b3df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/ekf2/EKF/zero_innovation_heading_update.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ void Ekf::controlZeroInnovationHeadingUpdate()
&& !yaw_aiding
&& isTimedOut(_time_last_heading_fuse, (uint64_t)200'000)) {

// Use an observation variance larger than usual but small enough
// to constrain the yaw variance just below the threshold
float obs_var = 0.25f;
estimator_aid_source1d_s aid_src_status;
Vector24f H_YAW;
Expand Down

0 comments on commit ec6b3df

Please sign in to comment.