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
Diff: main.cpp
- Revision:
- 38:e2aa1165d28d
- Parent:
- 37:19a9a37a5658
- Child:
- 39:ff6819c7a066
diff -r 19a9a37a5658 -r e2aa1165d28d main.cpp --- a/main.cpp Thu Oct 29 07:52:14 2015 +0000 +++ b/main.cpp Thu May 19 07:52:14 2016 +0000 @@ -59,7 +59,7 @@ //Base ID: 'a' ~ 'a' //manager ID: '0'(数字のゼロ) // -const char MyID = 'D'; +const char MyID = 'A'; //************ID Number***************** ///////////////////////////////////////// @@ -417,7 +417,7 @@ const int auto_Time = 2000; //refresh time in ms int count = 0; - const int straight = 30000, turning = 34000, wait = 31000; + const int straight = 8000, turning = 12000, wait = 10000; myGPS.begin(GPS_BAUD_RATE);