タコ 駆動側 

Dependencies:   2017NHKpin_config FEP R1307 PID ikarashiMDC omni_wheel

Fork of NHK2017_octopus2 by NagaokaRoboticsClub_mbedTeam

Files at this revision

API Documentation at this revision

Comitter:
number_key
Date:
Tue Nov 28 17:54:16 2017 +0900
Parent:
55:52b2cb45f21f
Commit message:
add drive5

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Nov 28 17:53:13 2017 +0900
+++ b/main.cpp	Tue Nov 28 17:54:16 2017 +0900
@@ -3,18 +3,27 @@
 #include "bot.h"
 
 Bot OCTOPUS;
-Serial pc(USBTX, USBRX, 115200);
+Serial pc(usbTX, usbRX, 115200);
+// Timer t;
+// DigitalOut led(LED1);
 
 int main()
 {
     //pc.printf("const\n\r");
+    // led = true;
     while(1) {
-        //printf("loop\n\r");
+        // led = !led;
+        //pc.printf("loop\n\r");
+        // t.start();
         OCTOPUS.confirmPad();
+        // t.stop();
+        // pc.printf("%f\r\n",t.read());
         //OCTOPUS.controllDrive();
+        // t.reset();
         OCTOPUS.controllDrive2();
         // OCTOPUS.controllDrive3();
-        //OCTOPUS.controllDrive4();
+        // OCTOPUS.controllDrive4();
+        // OCTOPUS.controllDrive5();
         wait(INTERVAL);
     }
 }