-
Notifications
You must be signed in to change notification settings - Fork 2
/
gps.h
38 lines (29 loc) · 1013 Bytes
/
gps.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/************************************************************************/
/* */
/* P R O J E K T A V A L O N */
/* */
/* gps.h Store-Class for GPS-Data */
/* */
/* Authors Patrick Schwizer [email protected] */
/* Stefan Wismer [email protected] */
/* */
/************************************************************************/
#ifndef GPS_H
#define GPS_H
#include <DDXStore.h>
#include <DDXVariable.h>
DDX_STORE_TYPE(gpsData,
struct {
//GPS_UTC_TIME time;
struct {double longitude; double latitude;double altitude;} position;
short dgpsage;
short dgpsref;
float HDOP;
short gpsFIX;
int sat;
double speed_kmph;
double speed_kn;
double course;
}
);
#endif //GPS_H