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:
- 14:81d390496d4e
- Parent:
- 11:62d2a592b1ae
- Child:
- 15:f86310960aab
diff -r 32e1ae4221f7 -r 81d390496d4e Settings.h --- a/Settings.h Thu Aug 12 16:02:25 2021 +0000 +++ b/Settings.h Thu Aug 12 16:51:19 2021 +0000 @@ -24,7 +24,7 @@ const double PULSES_PER_REV = 256; const double SAMPLE_TIME_US = 1000; -const double PRINT_TIME_S = 1.0; +const double PRINT_TIME_S = 0.01; const double ACCEL_SCALE = 3.0; const double VIBRATION_THRESHOLD = 0.15; @@ -36,11 +36,11 @@ const double INTEGRAL_TERM_LIMIT = 0.8; -const double targetSpeed_RPM = 500.0; +const double targetSpeed_RPM = 4500.0; const double T_WARMUP = 1.0; -const double T_TEST = 10.0;//300.0; -const double T_RAMP = 10.0;//20.0; +const double T_TEST = 300.0;//300.0; +const double T_RAMP = 70.0;//20.0; const double MAX_SPEED_RPM = 5000;