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.
Fork of dgps by
Diff: handle/handleGPS.cpp
- Revision:
- 31:6f68fa0aeee5
- Parent:
- 30:327191ff57e8
- Parent:
- 29:b47b4fd78c00
- Child:
- 32:9cb7bc3fc9e0
diff -r 327191ff57e8 -r 6f68fa0aeee5 handle/handleGPS.cpp
--- a/handle/handleGPS.cpp Tue Apr 22 15:39:27 2014 +0000
+++ b/handle/handleGPS.cpp Tue Apr 22 15:40:23 2014 +0000
@@ -46,10 +46,11 @@
}
bool GPSHandle::if_image_location(){
+ double lon_thresh = 0.00005;
+ double lat_thresh = 0.000035;
USB::getSerial().printf("Checking if at waypoint\r\n");
- //DH::locs().getC(LHType_locs,DH::locs().getI(LHType_locs)){
-
- //}
+ DataLocation current_loc = DH::locs().getC(LHType_locs,DH::locs().getI(LHType_locs));
+ //if(dl.lat
return true;
}
