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.
Dependents: 7_20_17_FSG_ 7_21_17_FSG 7_26_17_FSG
Fork of Controller by
Diff: controller.cpp
- Revision:
- 5:55085534a378
- Parent:
- 4:503138a2f413
- Child:
- 6:29cf76bb9956
--- a/controller.cpp Fri Jul 21 13:29:18 2017 +0000 +++ b/controller.cpp Fri Jul 21 15:25:04 2017 +0000 @@ -35,7 +35,7 @@ void PositionController::writeSetPoint(float cmd) { //33mm and 400mm are the safe allowable limits that the piston can go to - _setPoint = clamp<float>(cmd, -10.0, 390.0); //changed 400 to 500 on 6/5/17 //33 to 50 + _setPoint = clamp<float>(cmd, -10.0, 380.0); //changed 400 to 500 on 6/5/17 //33 to 50 } float PositionController::getOutput()