Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ADXL345 AigamozuControlPackets HMC5843 ITG3200 MBed_Adafruit-GPS-Library XBee agzIDLIST mbed
Fork of Aigamozu_Robot_ver4_4 by
Revision 27:2861016eaac6, committed 2015-05-18
- Comitter:
- s1200058
- Date:
- Mon May 18 02:31:55 2015 +0000
- Parent:
- 26:835042870f81
- Child:
- 28:4ccd7cfc6b1b
- Commit message:
- 2015/05/18
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun May 17 14:29:44 2015 +0000
+++ b/main.cpp Mon May 18 02:31:55 2015 +0000
@@ -169,14 +169,14 @@
agz.nowStatus = GPS_AVAIL;
if(flag){//初期値設定
- if(myGPS->latitudeH>=36 && myGPS->latitudeH<=38 && myGPS->longitudeH>=138 && myGPS->longitudeH<=141){
+ if(myGPS->latitudeH>=36 && myGPS->latitudeH<=38 && myGPS->longitudeH>=138 && myGPS->longitudeH<=140){
flag = false;
x[0][0]=(double)myGPS->latitudeL;
x[0][1]=(double)myGPS->longitudeL;
}
}
- if(myGPS->longitudeH<138 || myGPS->longitudeH>141 || myGPS->latitudeH<36 || myGPS->latitudeH>38){
+ if(myGPS->longitudeH<138 || myGPS->longitudeH>140 || myGPS->latitudeH<36 || myGPS->latitudeH>38){
return;
}
//Kalman Filter
