BE@R lab / motion_control

Dependencies:   motor_relay

Dependents:   dog_V3_3_testmotor

Revision:
1:5b313fd2ca6f
Parent:
0:77ab14788110
Child:
2:2cadf29245f4
--- a/motion_control.h	Fri Jul 17 12:07:01 2015 +0000
+++ b/motion_control.h	Fri Jul 17 14:04:47 2015 +0000
@@ -16,6 +16,7 @@
     int8_t GetLimitUp();
     int8_t GetLimitDown();
     void SetMargin(int16_t data);
+    
 
 private:
 
@@ -31,6 +32,9 @@
     int16_t MAX_POSITION;
     int16_t MIN_POSITION;
     
+    const uint16_t scale= 1000;
+    
+    
     float Kp;
     float Ki;
     float Kd;