QC Control software

Dependencies:   mbed

Fork of dgps by Colin Stearns

Files at this revision

API Documentation at this revision

Comitter:
krobertson
Date:
Tue Apr 22 15:40:23 2014 +0000
Parent:
30:327191ff57e8
Parent:
29:b47b4fd78c00
Child:
32:9cb7bc3fc9e0
Commit message:
adding if image location

Changed in this revision

handle/handleGPS.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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;
 }