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 Aug 27, 2024
1 parent 699cc3e commit 2cde1d2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions bbn_wave_freq_m5atomS3/bbn_wave_freq_m5atomS3.ino
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void repeatMe() {
last_update = now;

double y = accel.z - 1.0 /* since it includes g */;
//double y = sin(2*PI*t*0.25); // dummy test data
//double y = sin(2 * PI * state.t * 0.25); // dummy test data

aranovskiy_update(&params, &state, y, delta_t);

Expand All @@ -70,10 +70,6 @@ void repeatMe() {
void setup(void) {
auto cfg = M5.config();
M5.begin(cfg);
//imu6886.Init();
//auto imu6886 = ((m5::MPU6886_Class*) &M5.Imu);
//imu6886->enableFIFO(imu6886->ODR_1kHz);
//imu6886->setAccelFsr(imu6886->AFS_2G);

aranovskiy_default_params(&params, omega_up, k_gain);
aranovskiy_init_state(&state, t_0, x1_0, theta_0, sigma_0);
Expand Down

0 comments on commit 2cde1d2

Please sign in to comment.