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.
Revision 3:9c18af57b988, committed 2020-11-10
- Comitter:
- yeongsookim
- Date:
- Tue Nov 10 14:35:45 2020 +0000
- Parent:
- 2:8a7b4b3cb4c1
- Child:
- 4:050d1efdee90
- Commit message:
- testt
Changed in this revision
| Controller/SpeedController.h | Show annotated file Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Controller/SpeedController.h Tue Nov 10 13:48:28 2020 +0000
+++ b/Controller/SpeedController.h Tue Nov 10 14:35:45 2020 +0000
@@ -11,7 +11,6 @@
float ki;
float kd;
float max_windup;
- float alpha;
float umin;
float umax;
--- a/main.cpp Tue Nov 10 13:48:28 2020 +0000 +++ b/main.cpp Tue Nov 10 14:35:45 2020 +0000 @@ -13,7 +13,7 @@ DigitalOut myled1(LED1); HallSensor hall (p29); Motor motor (p23, p24, p25, p26); -PIDController speedController(0.1, 0.5, 0.0, 100.0, 0.0, -1.0, 20.0);//0.05514 +PIDController speedController(0.1, 0.5, 0.0, 100.0, 0.0, -1.0, 100.0);//0.05514 //Interrupt is generated every 1ms and count is increased by 1 unsigned int uiFlag_1ms = 0;