Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Settings.h
- Revision:
- 7:e36f61608c10
- Parent:
- 6:004dc33f4081
- Child:
- 8:41cd1fc8cbbe
diff -r 004dc33f4081 -r e36f61608c10 Settings.h --- a/Settings.h Mon Aug 09 21:06:17 2021 +0000 +++ b/Settings.h Tue Aug 10 11:00:13 2021 +0000 @@ -23,15 +23,15 @@ const double FILTER_CUTOFF_FREQ = 100.0; const double PULSES_PER_REV = 256; -const double VIBRATION_THRASHOLD_G = 1.0; -const double ACCEL_SCALE = 2.0; +const double SAMPLE_TIME_US = 100000; +const double PRINT_TIME_S = 0.1; -const double SAMPLE_TIME_US = 1000; -const double PRINT_TIME_S = 0.1; +const double ACCEL_SCALE = 3.0; +const double VIBRATION_THRESHOLD = 0.5; const double Kp = 0.02; const double Ki = 0.00; -const double Kd = 0.001; +const double Kd = 0; const double INTEGRAL_TERM_LIMIT = 0.8;