From bff1c8ced84fda8261ded86256c0422abccb21b8 Mon Sep 17 00:00:00 2001 From: Mikhail Grushinskiy Date: Tue, 10 Sep 2024 18:55:59 -0400 Subject: [PATCH] Update AranovskiyFilter.h --- bbn_wave_freq_m5atomS3/AranovskiyFilter.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/bbn_wave_freq_m5atomS3/AranovskiyFilter.h b/bbn_wave_freq_m5atomS3/AranovskiyFilter.h index 531edb8..abfcaba 100644 --- a/bbn_wave_freq_m5atomS3/AranovskiyFilter.h +++ b/bbn_wave_freq_m5atomS3/AranovskiyFilter.h @@ -60,7 +60,6 @@ typedef struct aranovskiy_params { } AranovskiyParams; typedef struct aranovskiy_state { - double t = 0.0; // time double y; // signal measurement double x1 = 0.0; double theta = -0.25; @@ -82,7 +81,6 @@ void aranovskiy_default_params(AranovskiyParams* p, double omega_up, double k_ga } void aranovskiy_init_state(AranovskiyState* s, double t_0, double x1_0, double theta_0, double sigma_0) { - s->t = t_0; s->x1 = x1_0; s->theta = theta_0; s->sigma = sigma_0; @@ -97,7 +95,6 @@ void aranovskiy_update(AranovskiyParams* p, AranovskiyState* s, double y, double // step s->x1 = s->x1 + s->x1_dot * delta_t; s->sigma = s->sigma + s->sigma_dot * delta_t; - s->t = s->t + delta_t; } #endif