From 3d08935a9bc0b693580c9f29f321cbeef13f06ea Mon Sep 17 00:00:00 2001 From: Mikhail Grushinskiy Date: Sat, 7 Sep 2024 12:32:05 -0400 Subject: [PATCH] Update KalmanForWave.h --- bbn_wave_freq_m5atomS3/KalmanForWave.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbn_wave_freq_m5atomS3/KalmanForWave.h b/bbn_wave_freq_m5atomS3/KalmanForWave.h index 3d04a7e..a18ee02 100644 --- a/bbn_wave_freq_m5atomS3/KalmanForWave.h +++ b/bbn_wave_freq_m5atomS3/KalmanForWave.h @@ -63,7 +63,7 @@ void kalman_wave_init() { matrix_set(H, 0, 2, (matrix_data_t)0.0); // observation covariance [KALMAN_NUM_MEASUREMENTS * KALMAN_NUM_MEASUREMENTS] - matrix_t *R = kalman_get_process_noise(kfm); + matrix_t *R = kalman_get_process_noise(kf); matrix_set(R, 0, 0, (matrix_data_t)1.0); // transition offset [KALMAN_NUM_STATES * KALMAN_NUM_INPUTS]