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/dataLocation.h
- Revision:
- 66:5d43988d100c
- Parent:
- 32:9cb7bc3fc9e0
--- a/handle/dataLocation.h Sun Apr 27 21:54:33 2014 +0000
+++ b/handle/dataLocation.h Mon May 05 13:20:35 2014 +0000
@@ -30,11 +30,12 @@
DataLoc loc;
public:
DataLocation(){}
- DataLocation(double latA,double lonA,double altA,double timestampA=0){
+ DataLocation(double latA,double lonA,double altA,double timestampA=0,double headingA=0){
loc.lat=latA;
loc.lon=lonA;
loc.alt=altA;
loc.timestamp=timestampA;
+ loc.heading=headingA;
}
double& getLat(){return loc.lat;}
double& getLon(){return loc.lon;}
