FSG / Controller_

Dependents:   7_20_17_FSG_ 7_21_17_FSG 7_26_17_FSG

Fork of Controller by Melissa Davis

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()