bio robot

Dependencies:   MPU6050-DMP QEI_hw mbed-rpc mbed

Fork of MPU6050_Example by Shundo Kishi

Revision:
17:8a0e647cf551
Parent:
15:d88f10b3b5f8
Child:
18:0cfe72d8a006
--- a/Controls/Controls.h	Thu Dec 10 10:55:35 2015 +0000
+++ b/Controls/Controls.h	Fri Dec 11 00:44:45 2015 +0000
@@ -94,6 +94,19 @@
             return target.getPosition();
         };
         
+        void setTargetingK(float k){
+            gains.setTargetingK(k);
+        };
+        void setTargetingD(float d){
+            gains.setTargetingD(d);
+        };
+        float getTargetingK(){
+            return gains.getTargetingK();
+        };
+        float getTargetingD(){
+            return gains.getTargetingD();
+        };
+        
         Motor motor;
         void setTheta(float theta){
             _manualTheta = theta;