タコ 駆動側 

Dependencies:   2017NHKpin_config FEP R1307 PID ikarashiMDC omni_wheel

Fork of NHK2017_octopus2 by NagaokaRoboticsClub_mbedTeam

Revision:
54:7176e6a08600
Parent:
52:320f910ca6ca
Child:
56:e9a5cfd23833
--- a/main.cpp	Thu Nov 23 04:12:15 2017 +0000
+++ b/main.cpp	Thu Nov 23 14:59:02 2017 +0900
@@ -4,47 +4,17 @@
 
 Bot OCTOPUS;
 Serial pc(USBTX, USBRX, 115200);
-Timer t;
-Timer tc;
 
 int main()
 {
     //pc.printf("const\n\r");
-    t.reset();
-    tc.reset();
     while(1) {
         //printf("loop\n\r");
-        //tc.start();
-        //t.start();
-        OCTOPUS.confirmPad2();
-        //t.stop();
-        //pc.printf("%f ",t.read());
-        //t.start();
-        //wait(0.01);
-        OCTOPUS.confirmPad1();
-        //pc.printf("\r\n");
-        //t.stop();
-        //pc.printf("%f ",t.read());
-        //t.start();
+        OCTOPUS.confirmPad();
         //OCTOPUS.controllDrive();
         OCTOPUS.controllDrive2();
         // OCTOPUS.controllDrive3();
         //OCTOPUS.controllDrive4();
-        //t.stop();
-        //t.start();
-        OCTOPUS.controllMech();
-        //OCTOPUS.calibrate();
-        //t.stop();
-        //pc.printf("%f ",t.read());
-        //wait(fabsf(0.12-t.read()));
-        //t.reset();
-        //tc.stop();
-        //OCTOPUS.checkConnection();
-        //OCTOPUS.checkDegree();
-        //OCTOPUS.checkPacket();
-        //OCTOPUS.checkReceiveData();
-        //pc.printf("%f ",tc.read());
-        //tc.reset();
         wait(INTERVAL);
     }
 }