Motor current controller

Fork of CURRENT_CONTROL by LDSC_Robotics_TAs

Revision:
11:31cd02611cd0
Parent:
9:d8157fbfcd2a
Child:
12:085f35babe21
--- a/CURRENT_CONTROL.h	Wed Dec 21 18:45:23 2016 +0000
+++ b/CURRENT_CONTROL.h	Thu Dec 22 19:22:59 2016 +0000
@@ -53,7 +53,7 @@
     //
     void OffsetInit(void);
     float saturation(float input_value, float &delta, const float &limit_H, const float &limit_L);
-    void Control(float curRef);
+    void Control(float curRef, bool enable);
         
     // Back emf as the function of rotational speed
     float func_back_emf(const float &W_in);