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: main.cpp
- Revision:
- 12:c473a25f54f7
- Parent:
- 11:c83b18d41e54
- Child:
- 14:80ce59119d93
diff -r c83b18d41e54 -r c473a25f54f7 main.cpp --- a/main.cpp Sun May 22 00:14:59 2016 +0000 +++ b/main.cpp Sun May 22 03:38:19 2016 +0000 @@ -28,7 +28,7 @@ -CurrentRegulator foc(&inverter, &spi, .005, .5); +CurrentRegulator foc(&inverter, &spi, &encoder, 0.000033, .005, .5); TorqueController torqueController(.031f, &foc); ImpedanceController impedanceController(&torqueController, &spi, &encoder);