bio robot

Dependencies:   MPU6050-DMP QEI_hw mbed-rpc mbed

Fork of MPU6050_Example by Shundo Kishi

Revision:
14:d620415259b1
Parent:
12:49813131dd15
Child:
17:8a0e647cf551
--- a/main.cpp	Wed Dec 09 03:25:22 2015 +0000
+++ b/main.cpp	Wed Dec 09 03:40:38 2015 +0000
@@ -64,14 +64,10 @@
     comm.setSwingUpD(input, output);
 };
 RPCFunction SetSwingUpD(&setSwingUpDWrapper, "SetSwingUpD");
-void setCurrentPWrapper(Arguments * input, Reply * output){
-    comm.setCurrentP(input, output);
+void setDesiredThetaPWrapper(Arguments * input, Reply * output){
+    comm.setDesiredThetaP(input, output);
 };
-RPCFunction SetCurrentP(&setCurrentPWrapper, "SetCurrentP");
-void setCurrentDWrapper(Arguments * input, Reply * output){
-    comm.setCurrentD(input, output);
-};
-RPCFunction SetCurrentD(&setCurrentDWrapper, "SetCurrentD");
+RPCFunction SetDesiredThetaP(&setDesiredThetaPWrapper, "SetDesiredThetaP");
 void setTargetWrapper(Arguments * input, Reply * output){
     comm.setTarget(input, output);
 };