Skip to content

Commit

Permalink
Update KalmanForWave.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Sep 7, 2024
1 parent 3d08935 commit 1ecf56e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bbn_wave_freq_m5atomS3/KalmanForWave.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ void kalman_wave_init() {
// observation matrix [KALMAN_NUM_MEASUREMENTS * KALMAN_NUM_STATES]
matrix_t *H = kalman_get_measurement_transformation(kfm);
matrix_set(H, 0, 0, (matrix_data_t)1.0);
matrix_set(H, 0, 1, (matrix_data_t)0.0);
matrix_set(H, 0, 2, (matrix_data_t)0.0);
matrix_set(H, 1, 0, (matrix_data_t)0.0);
matrix_set(H, 2, 0, (matrix_data_t)0.0);

// observation covariance [KALMAN_NUM_MEASUREMENTS * KALMAN_NUM_MEASUREMENTS]
matrix_t *R = kalman_get_process_noise(kf);
Expand Down

0 comments on commit 1ecf56e

Please sign in to comment.