QC Control software

Dependencies:   mbed

Fork of dgps by Colin Stearns

Files at this revision

API Documentation at this revision

Comitter:
dylanembed123
Date:
Sat Apr 26 16:30:42 2014 +0000
Parent:
55:c2c10a521874
Child:
57:0b725b24f0c7
Child:
58:ea73523cf04b
Commit message:
Update altitude

Changed in this revision

handle/mavcommands.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/handle/mavcommands.cpp	Sat Apr 26 16:27:14 2014 +0000
+++ b/handle/mavcommands.cpp	Sat Apr 26 16:30:42 2014 +0000
@@ -10,6 +10,7 @@
 static void fixLatLonAlt(double& latitude,double& longitude,double& altitude){
     latitude/=10000000.0f;
     longitude/=10000000.0f;
+    altitude/=10000000.0f;
     int degrees;
     double minutes;
     degrees = (int)(latitude/100);