forward
Dependencies: ADXL345 AigamozuControlPackets_for_auto HMC5843 ITG3200 MBed_Adafruit-GPS-Library XBee agzIDLIST mbed
Fork of Aigamozu_Robot_ver4_for_forward by
Diff: main.cpp
- Revision:
- 12:48ef69b4f0e4
- Parent:
- 9:07a79851daf4
- Child:
- 14:5deb7a4f1cd4
diff -r ade4545ef03e -r 48ef69b4f0e4 main.cpp --- a/main.cpp Thu May 14 10:19:29 2015 +0000 +++ b/main.cpp Thu May 14 11:50:44 2015 +0000 @@ -37,7 +37,7 @@ //Base ID: 'a' ~ 'a' //manager ID: '0'(数字のゼロ) // -const char MyID = 'd'; +const char MyID = 'C'; //************ID Number***************** ///////////////////////////////////////// @@ -419,7 +419,7 @@ switch(Command_type){ //Get Request command case MANUAL:{ - Plus_Speed(buf1); + Plus_Speed(buf); break; } case STATUS_REQUEST:{ @@ -427,7 +427,7 @@ break; } case CHANGE_MODE:{ - New_Mode(buf1); + New_Mode(buf); break; } case RECEIVE_STATUS:{ @@ -459,7 +459,7 @@ //一定時間ごとに自分のGPSデータを取得し、AigamozuControlPacketsないのagzPointとagzPointKalmanに格納する if (refresh_Timer.read_ms() >= refresh_Time) { refresh_Timer.reset(); - print_gps(count); + //print_gps(count); Get_GPS(&myGPS); }