bio robot

Dependencies:   MPU6050-DMP QEI_hw mbed-rpc mbed

Fork of MPU6050_Example by Shundo Kishi

Revision:
8:1a3a69fecedf
Parent:
6:12b6be801ad8
Child:
9:1d9b24d7ac77
--- a/Comm/Comm.h	Thu Dec 03 06:09:28 2015 +0000
+++ b/Comm/Comm.h	Thu Dec 03 23:55:44 2015 +0000
@@ -2,7 +2,6 @@
 #define Comm_h
 
 #include "json.h"
-#include "Target.h"
 #include "CommDelegate.h"  
 #include "mbed_rpc.h" 
 
@@ -11,7 +10,7 @@
     
     public:
     
-        Comm(CommDelegate *gains, CommDelegate *target, CommDelegate *myMPU6050_1);
+        Comm(CommDelegate *gains, CommDelegate *target);
         
         void openGripper1(Arguments* input, Reply* output);
         void closeGripper1(Arguments* input, Reply* output);
@@ -26,7 +25,7 @@
         void setTarget(Arguments* input, Reply* output);
         void printTarget();
         
-        void printPosition();
+        void printPosition(CommDelegate *controls);
         
         void check();
         
@@ -41,7 +40,6 @@
         JSON _json;
         CommDelegate *_gains;
         CommDelegate *_target;
-        CommDelegate *_myMPU6050_1;
 //        volatile bool newline_detected = false;
  
 };