Skip to content

Commit

Permalink
Update tests.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Sep 22, 2024
1 parent 6468c69 commit 2081728
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bbn_wave_freq_m5atomS3/tests/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ void run_fiters(float a, float v, float h, float delta_t) {
float k_hat = - pow(2.0 * PI * freq_adj, 2);
if (kalman_k_first) {
kalman_k_first = false;
waveAltState.displacement_integral = 0.0f;
waveAltState.heave = waveState.heave;
waveAltState.vert_speed = waveState.vert_speed;
waveAltState.vert_accel = k_hat * waveState.heave; //a * g_std;
Expand Down

0 comments on commit 2081728

Please sign in to comment.