Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1687 | - | 1 | #ifndef _TRACKING_H_ |
2 | #define _TRACKING_H_ |
||
3 | |||
4 | #define TRACKING_RSSI 1 |
||
5 | #define TRACKING_GPS 2 |
||
6 | #define TRACKING_MKCOCKPIT 3 |
||
7 | #define TRACKING_NMEA 4 |
||
8 | |||
9 | #define DLEFT 0 |
||
10 | #define DRIGHT 1 |
||
11 | #define AltFaktor 22.5 |
||
12 | |||
13 | typedef struct { |
||
14 | int32_t distance; |
||
15 | int16_t bearing; |
||
16 | }geo_t; |
||
17 | |||
18 | typedef struct { |
||
19 | int32_t Home_Lon; // in 1E-7 degrees |
||
20 | int32_t Home_Lat; // in 1E-7 degrees |
||
21 | int32_t Home_Alt; // in mm |
||
22 | int16_t direction; // ermittelte Konstante aus Mittelposition Antenne geo.bearing - navi_data.CompassHeading |
||
23 | }__attribute__((packed)) HomePos_t; |
||
24 | |||
25 | void Tracking_MKCockpit(void); |
||
26 | void Tracking_GPS(void); |
||
27 | void Tracking_NMEA(void); |
||
28 | void Tracking_RSSI(void); |
||
29 | void setNMEAdir(void); |
||
30 | |||
31 | #endif |