190-00266-01
GPS 15H & 15L Technical Specifications
Rev. D
Page 26
Position Record
The Position Record has a record identifier of
typedef struct
{
float alt;
float epe;
float eph;
float epv;
int
fix;
double gps_tow;
double lat;
double lon;
float lon_vel;
float lat_vel;
float alt_vel;
float msl_hght;
int
leap_sec;
long
grmn_days;
}
cpo_pvt_data;
alt
Ellipsoid altitude (meters)
epe
Est pos error (meters)
eph
Pos err, horizontal (meters)
epv
Pos err, vertical (meters)
fix
0 = no fix; 1 = no fix; 2 = 2D; 3 = 3D; 4 = 2D differential; 5 = 3D differential;
6 and greater - not defined
gps_tow
GPS time of week (sec)
lat Latitude
(radians)
lon Longitude
(radians)
lon_vel Longitude
velocity
(meters/second)
lat_vel Latitude
velocity
(meters/second)
alt_vel Altitude
velocity
(meters/second)
msl_hght
Mean sea level height (meters)
leap_sec
UTC leap seconds
grmn_days
Garmin days (days since December 31, 1989)
Receiver Measurement Record
typedef struct
{
unsigned long
cycles;
double
pr;
unsigned int
phase;
char
slp_dtct;
unsigned char
snr_dbhz;
char
svid;
char
valid;
} cpo_rcv_sv_data;
typedef struct
{
double
rcvr_tow;
int
rcvr_wn;
cpo_rcv_sv_data sv[ 12 ];
} cpo_rcv_data;
rcvr_tow
Receiver time of week (seconds)
rcvr_wn Receiver
week
number
cycles
Number of accumulated cycles
pr Pseudorange
(meters)
phase
To convert to (0 -359.999) multiply by 360.0 and divide by 2048.0
slp_dtct
0 = no cycle slip detected; non-zero = cycle slip detected
snr_dbhz
Signal strength - db Hz