needed interface changes [new options] logger for android wifi-ap-optimization new test-cases
27 lines
821 B
C
27 lines
821 B
C
#ifndef GPSDATA_H
|
|
#define GPSDATA_H
|
|
|
|
#include "../../data/Timestamp.h"
|
|
|
|
struct GPSData {
|
|
|
|
/** time this measurement was received (NOT the GPS-time) */
|
|
Timestamp tsReceived;
|
|
|
|
float lat; // deg
|
|
float lon; // deg
|
|
float alt; // m above sea-level
|
|
|
|
float accuracy; // m [might be NAN]
|
|
float speed; // m/s [might be NAN]
|
|
|
|
GPSData() : tsReceived(), lat(NAN), lon(NAN), alt(NAN), accuracy(NAN), speed(NAN) {;}
|
|
|
|
GPSData(const Timestamp tsReceived, const float lat, const float lon, const float alt) : tsReceived(tsReceived), lat(lat), lon(lon), alt(alt), accuracy(NAN), speed(NAN) {;}
|
|
|
|
GPSData(const Timestamp tsReceived, const float lat, const float lon, const float alt, const float accuracy) : tsReceived(tsReceived), lat(lat), lon(lon), alt(alt), accuracy(accuracy), speed(NAN) {;}
|
|
|
|
};
|
|
|
|
#endif // GPSDATA_H
|