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 11, 2024
1 parent 4df6b2e commit 7664bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bbn_wave_freq_m5atomS3/bbn_wave_freq_m5atomS3.ino
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ void setup(void) {
Even 2cm bias in heave is too much to affect frequency a lot
*/
double omega_init = 0.04 * (2 * PI); // init frequency Hz * 2 * PI (start converging from omega_init/2)
double k_gain = 175.0; // Aranovskiy gain. Higher value will give faster convergence, but too high will overflow float
double k_gain = 200.0; // Aranovskiy gain. Higher value will give faster convergence, but too high will overflow float
double t_0 = 0.0;
double x1_0 = 0.0;
double theta_0 = - (omega_init * omega_init / 4.0);
Expand Down

0 comments on commit 7664bf1

Please sign in to comment.