Skip to content

Commit

Permalink
Update KalmanSmoother.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Sep 8, 2024
1 parent 4b4c282 commit a95f11f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bbn_wave_freq_m5atomS3/KalmanSmoother.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ void kalman_smoother_init(KalmanSmootherVars* s, float process_noise, float sens
s->p = estimated_error;
}

void kalman_smoother_set_initial(KalmanSmootherVars* s, float intial_value) {
s->x = intial_value;
void kalman_smoother_set_initial(KalmanSmootherVars* s, float initial_value) {
s->x = initial_value;
}

float kalman_smoother_update(KalmanSmootherVars* s, float measurement) {
Expand Down

0 comments on commit a95f11f

Please sign in to comment.