Skip to content

Commit

Permalink
Update bbn_wave_freq_m5atomS3.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Sep 23, 2024
1 parent 701dcd3 commit d01af4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bbn_wave_freq_m5atomS3/bbn_wave_freq_m5atomS3.ino
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,8 @@ void setup(void) {
lower frequency (i. e. higher period).
Even 2cm bias in heave is too much to affect frequency a lot
*/
double omega_init = 0.01 * (2 * PI); // init frequency Hz * 2 * PI (start converging from omega_init/2)
double k_gain = 10.0; // Aranovskiy gain. Higher value will give faster convergence, but too high will potentially overflow decimal
double omega_init = 0.02 * (2 * PI); // init frequency Hz * 2 * PI (start converging from omega_init/2)
double k_gain = 40.0; // Aranovskiy gain. Higher value will give faster convergence, but too high will potentially overflow decimal
double x1_0 = 0.0;
double theta_0 = - (omega_init * omega_init / 4.0);
double sigma_0 = theta_0;
Expand Down

0 comments on commit d01af4e

Please sign in to comment.