Octopus!!

Dependencies:   2017NHKpin_config FEP HMC6352 PID QEI R1307 ikarashiMDC omni_wheel

Fork of KANIv3 by NagaokaRoboticsClub_mbedTeam

Revision:
49:69a7235d837a
Parent:
43:c659cd5baa14
Child:
50:3a7c858aa0f9
--- a/main.cpp	Mon Nov 06 18:34:02 2017 +0900
+++ b/main.cpp	Sat Nov 11 17:40:10 2017 +0900
@@ -2,7 +2,7 @@
 #include "pin_config.h"
 #include "bot.h"
 
-Bot KANI;
+Bot OCTOPUS;
 Serial pc(USBTX, USBRX, 115200);
 
 int main()
@@ -10,13 +10,16 @@
     pc.printf("const\n\r");
     while(1) {
         printf("loop\n\r");
-        KANI.confirmAll();
-        // KANI.controllDrive();
-        KANI.controllDrive2();
-        // KANI.controllDrive3();
-        //KANI.controllDrive4();
-        KANI.controllMech();
-        KANI.calibrate();
+        OCTOPUS.confirmPad1();
+        //OCTOPUS.confirmPad2();
+        OCTOPUS.controllDrive();
+        //OCTOPUS.controllDrive2();
+        // OCTOPUS.controllDrive3();
+        //OCTOPUS.controllDrive4();
+        OCTOPUS.controllMech();
+        //OCTOPUS.calibrate();
+        //OCTOPUS.checkConnection();
+        //OCTOPUS.checkDegree();
         wait(INTERVAL);
     }
 }