change main() longitudeL: from 138 to 140
Dependencies: ADXL345 AigamozuControlPackets HMC5843 ITG3200 MBed_Adafruit-GPS-Library XBee agzIDLIST mbed
Fork of Aigamozu_Robot_ver3_4 by
Revision 12:48ef69b4f0e4, committed 2015-05-14
- Comitter:
- s1200058
- Date:
- Thu May 14 11:50:44 2015 +0000
- Parent:
- 11:ade4545ef03e
- Child:
- 13:bbec1926a3d2
- Commit message:
- buf
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);
}
