Skip to content

Commit

Permalink
Update bbn_wave_freq_m5atomS3.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Aug 31, 2024
1 parent c5646d9 commit 58c3331
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bbn_wave_freq_m5atomS3/bbn_wave_freq_m5atomS3.ino
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,11 @@ void setup(void) {

aranovskiy_default_params(&params, omega_up, k_gain);
aranovskiy_init_state(&state, t_0, x1_0, theta_0, sigma_0);
kalman_smoother_init(&kalman, 0.003, 10.0, 100.0);

double process_noise_covariance = 0.003;
double measurement_uncertainty = 10.0;
double estimation_uncertainty = 100.0;
kalman_smoother_init(&kalman, process_noise_covariance, measurement_uncertainty, estimation_uncertainty);

last_update = micros();
}
Expand Down

0 comments on commit 58c3331

Please sign in to comment.