Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
249 | Brean | 1 | typedef enum |
2 | { |
||
3 | INVALID = 0, |
||
4 | NEWDATA = 1, |
||
5 | PROCESSED = 2 |
||
6 | } Status_t; |
||
7 | |||
8 | typedef struct |
||
9 | { |
||
10 | int32_t Longitude; // in 1E-7 deg |
||
11 | int32_t Latitude; // in 1E-7 deg |
||
12 | int32_t Altitude; // in mm |
||
13 | Status_t Status; // validity of data |
||
14 | } __attribute__((packed)) GPS_Pos_t; |
||
15 | |||
16 | typedef struct |
||
17 | { |
||
18 | GPS_Pos_t Position; // the gps position of the waypoint, see ubx.h for details |
||
19 | int16_t Heading; // orientation, future implementation |
||
20 | uint8_t ToleranceRadius; // in meters, if the MK is within that range around the target, then the next target is triggered |
||
21 | uint8_t HoldTime; // in seconds, if the was once in the tolerance area around a WP, this time defies the delay before the next WP is triggered |
||
22 | uint8_t Event_Flag; // future emplementation |
||
23 | uint8_t reserve[12]; // reserve |
||
24 | } __attribute__((packed)) Waypoint_t; |