Rev 752 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 752 | Rev 781 | ||
---|---|---|---|
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 |
- | |
21 | 01-06 Nav - SOL |
20 | 01-02 NAV - POSLLH |
Line 22... | Line -... | ||
22 | 01-08 NAV - POSUTM |
- | |
23 | 01-12 NAV - VELNED */ |
21 | 01-06 Nav - SOL |
24 | 22 | 01-12 NAV - VELNED */ |
|
- | 23 | ||
25 | 24 | typedef struct |
|
26 | typedef struct |
25 | { |
27 | { |
26 | uint8_t status; // status of data: invalid | valid |
28 | uint8_t satnum; // number of satelites |
27 | 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 longitude; // in 1e-07 deg |
31 | int32_t utmeast; // in cm (+ = east) |
30 | int32_t latitude; // in 1e-07 deg |
32 | int32_t utmalt; // in cm (+ = top) |
31 | int32_t altitude; // in mm |
33 | uint32_t PAcc; // in cm 3d position accuracy |
32 | uint32_t PAcc; // in cm 3d position accuracy |
34 | int32_t velnorth; // in cm/s |
33 | int32_t velnorth; // in cm/s |
35 | int32_t veleast; // in cm/s |
- | |
36 | int32_t veltop; // in cm/s |
- | |
37 | uint32_t VAcc; // in cm/s 3d velocity accuracy |
- | |
38 | int32_t longitude; // in 1e-07 deg |
- | |
39 | int32_t latitude; // in 1e-07 deg |
34 | int32_t veleast; // in cm/s |
Line 40... | Line 35... | ||
40 | int32_t altitude; // in mm |
35 | int32_t veltop; // in cm/s |
41 | uint8_t status; // status of data: invalid | valid |
36 | uint32_t VAcc; // in cm/s 3d velocity accuracy |