2016_05_19 Auto mode: 10sec forward, 2sec stop, 2sec turn right Please change test Auto pwm

Dependencies:   ADXL345 AigamozuControlPackets_2016 HMC5843 ITG3200 MBed_Adafruit-GPS-Library XBee agzIDLIST_2016 mbed

Fork of Aigamozu_Robot_ver4 by CanSat2015aizu

Revision:
47:332d0030195f
Parent:
46:e042e9969f10
diff -r e042e9969f10 -r 332d0030195f main.cpp
--- a/main.cpp	Fri Jun 10 09:06:32 2016 +0000
+++ b/main.cpp	Sat Jun 11 03:40:47 2016 +0000
@@ -60,7 +60,7 @@
 //Base    ID: 'a' ~ 'a'
 //manager ID: '0'(数字のゼロ)
 //
-const char MyID = 'D';
+const char MyID = 'O';
 //************ID Number*****************
 
 /////////////////////////////////////////
@@ -432,11 +432,9 @@
     Timer refresh_Timer;
     const int refresh_Time = 1000; //refresh time in ms
     Timer auto_Timer;
-    const int auto_Time = 2000; //refresh time in ms
+    const int auto_Time = 1000; //refresh time in ms
     int count = 0;
 
-//    const int straight = 8000, turning = 12000, wait = 10000;
-
     myGPS.begin(GPS_BAUD_RATE);
 
     Timer collect_Timer;
@@ -534,6 +532,7 @@
             }
         }
 
+        //for Auto Mode
         if(agz.nowMode == AUTO_GPS_MODE && auto_Timer.read_ms() >= auto_Time) {
             auto_Timer.reset();
             auto_Move();