Skip to content

Commit

Permalink
Update AranovskiyFilter.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Sep 11, 2024
1 parent eec49ea commit a153172
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bbn_wave_freq_m5atomS3/AranovskiyFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
AranovskiyState state;
aranovskiy_default_params(&params, omega_up, k_gain);
aranovskiy_init_state(&state, t_0, x1_0, theta_0, sigma_0);
aranovskiy_init_state(&state, x1_0, theta_0, sigma_0);
unsigned long now = 0UL, last_update = 0UL;
Expand Down Expand Up @@ -80,7 +80,7 @@ typedef struct aranovskiy_state {
} AranovskiyState;

void aranovskiy_default_params(AranovskiyParams* p, double omega_up, double k_gain);
void aranovskiy_init_state(AranovskiyState* s, double t_0, double x1_0, double theta_0, double sigma_0);
void aranovskiy_init_state(AranovskiyState* s, double x1_0, double theta_0, double sigma_0);
void aranovskiy_update(AranovskiyParams* p, AranovskiyState* s, double y, double delta_t);

void aranovskiy_default_params(AranovskiyParams* p, double omega_up, double k_gain) {
Expand All @@ -89,7 +89,7 @@ void aranovskiy_default_params(AranovskiyParams* p, double omega_up, double k_ga
p->k = k_gain;
}

void aranovskiy_init_state(AranovskiyState* s, double t_0, double x1_0, double theta_0, double sigma_0) {
void aranovskiy_init_state(AranovskiyState* s, double x1_0, double theta_0, double sigma_0) {
s->x1 = x1_0;
s->theta = theta_0;
s->sigma = sigma_0;
Expand Down

0 comments on commit a153172

Please sign in to comment.