changes to motor library

Dependents:   pid-car-example

Fork of motor by Lawrence Harlow

Branch:
motorupdate
Revision:
44:b46efc310b83
Parent:
43:9384715df1b8
Child:
45:fec835dfd43a
--- a/motor.cpp	Thu Apr 27 10:18:19 2017 +0000
+++ b/motor.cpp	Thu Apr 27 11:51:44 2017 +0000
@@ -152,11 +152,12 @@
         
     //this limits the ED to stop it spinning out at high speeds.
 
+
     if(theta>0.4)
     {
 
      theta = 0.4;   
-
+     //speed = speed- corner limiter;
         
     }