Rev 726 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 726 | Rev 752 | ||
---|---|---|---|
Line 16... | Line 16... | ||
16 | #define SATFIX_TIMEONLY 0x05 |
16 | #define SATFIX_TIMEONLY 0x05 |
Line 17... | Line 17... | ||
17 | 17 | ||
18 | 18 | ||
19 | /* enable the UBX protocol at the gps receiver with the following messages enabled |
19 | /* enable the UBX protocol at the gps receiver with the following messages enabled |
20 | 01-02 NAV - POSLLH |
20 | 01-02 NAV - POSLLH |
21 | 01-03 NAV - STATUS |
21 | 01-06 Nav - SOL |
Line 22... | Line 22... | ||
22 | 01-08 NAV - POSUTM |
22 | 01-08 NAV - POSUTM |
23 | 01-12 NAV - VELNED */ |
23 | 01-12 NAV - VELNED */ |
- | 24 | ||
24 | 25 | ||
25 | 26 | typedef struct |
|
26 | typedef struct |
27 | { |
27 | { |
28 | uint8_t satnum; // number of satelites |
- | 29 | uint8_t satfix; // type of satfix |
|
28 | uint8_t satfix; // type of satfix |
30 | int32_t utmnorth; // in cm (+ = north) |
29 | int32_t utmnorth; // in cm (+ = north) |
31 | int32_t utmeast; // in cm (+ = east) |
30 | int32_t utmeast; // in cm (+ = east) |
32 | int32_t utmalt; // in cm (+ = top) |
- | 33 | uint32_t PAcc; // in cm 3d position accuracy |
|
31 | int32_t utmalt; // in cm (+ = top) |
34 | int32_t velnorth; // in cm/s |
32 | int32_t velnorth; // in cm/s |
35 | int32_t veleast; // in cm/s |
33 | int32_t veleast; // in cm/s |
36 | int32_t veltop; // in cm/s |
34 | int32_t veltop; // in cm/s |
37 | uint32_t VAcc; // in cm/s 3d velocity accuracy |
35 | int32_t longitude; // in 1e-07 deg |
38 | int32_t longitude; // in 1e-07 deg |