Skip to content

Commit

Permalink
pbio/sys/storage_settings: Reduce default gyro threshold.
Browse files Browse the repository at this point in the history
  • Loading branch information
laurensvalk committed Sep 19, 2024
1 parent f298a37 commit a8b55dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pbio/sys/storage_settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ void pbsys_storage_settings_set_defaults(pbsys_storage_settings_t *settings) {
settings->flags |= PBSYS_STORAGE_SETTINGS_FLAGS_BLUETOOTH_ENABLED;
#endif
#if PBIO_CONFIG_IMU
settings->gyro_stationary_threshold = 5;
settings->accel_stationary_threshold = 2500;
settings->gyro_stationary_threshold = 3.0f;
settings->accel_stationary_threshold = 2500.0f;
settings->heading_correction = 360.0f;
#endif // PBIO_CONFIG_IMU
}
Expand Down

0 comments on commit a8b55dc

Please sign in to comment.