Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 780 → Rev 781

/branches/V0.68d Code Redesign killagreg/ubx.h
19,26 → 19,21
/* enable the UBX protocol at the gps receiver with the following messages enabled
01-02 NAV - POSLLH
01-06 Nav - SOL
01-08 NAV - POSUTM
01-12 NAV - VELNED */
 
 
typedef struct
{
uint8_t status; // status of data: invalid | valid
uint8_t satnum; // number of satelites
uint8_t satfix; // type of satfix
int32_t utmnorth; // in cm (+ = north)
int32_t utmeast; // in cm (+ = east)
int32_t utmalt; // in cm (+ = top)
int32_t longitude; // in 1e-07 deg
int32_t latitude; // in 1e-07 deg
int32_t altitude; // in mm
uint32_t PAcc; // in cm 3d position accuracy
int32_t velnorth; // in cm/s
int32_t veleast; // in cm/s
int32_t veltop; // in cm/s
uint32_t VAcc; // in cm/s 3d velocity accuracy
int32_t longitude; // in 1e-07 deg
int32_t latitude; // in 1e-07 deg
int32_t altitude; // in mm
uint8_t status; // status of data: invalid | valid
} GPS_INFO_t;
 
//here you will find the current gps info