source: ntrip/trunk/BNC/RTCM/rtcm_utils.h@ 2527

Last change on this file since 2527 was 1024, checked in by zdenek, 16 years ago

Zdenek Lukes: added logic for decoding of message 20/21 from RTCM 2.3 streams

File size: 640 bytes
Line 
1#ifndef RTCM_UTILS_H
2#define RTCM_UTILS_H
3
4class t_eph;
5
6const double c_light = 299792458.0;
7const double FRQ_L1 = 1575420000.0;
8const double FRQ_L2 = 1227600000.0;
9const double LAMBDA_1 = c_light / FRQ_L1;
10const double LAMBDA_2 = c_light / FRQ_L2;
11const double ZEROVALUE = 1e-100;
12
13void resolveEpoch (double secsHour,
14 int refWeek, double refSecs,
15 int& epochWeek, double& epochSecs);
16
17int cmpRho(const t_eph* eph,
18 double stax, double stay, double staz,
19 int GPSWeek, double GPSWeeks,
20 double& rho, int& GPSWeek_tot, double& GPSWeeks_tot,
21 double& xSat, double& ySat, double& zSat, double& clkSat);
22
23#endif
Note: See TracBrowser for help on using the repository browser.