| 
            Last change
 on this file since 9187 was             1024, checked in by zdenek, 17 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 | 
 | 
|---|
| 4 | class t_eph;
 | 
|---|
| 5 | 
 | 
|---|
| 6 | const double c_light  = 299792458.0;
 | 
|---|
| 7 | const double FRQ_L1   = 1575420000.0;
 | 
|---|
| 8 | const double FRQ_L2   = 1227600000.0;
 | 
|---|
| 9 | const double LAMBDA_1 = c_light / FRQ_L1;
 | 
|---|
| 10 | const double LAMBDA_2 = c_light / FRQ_L2;
 | 
|---|
| 11 | const double ZEROVALUE = 1e-100;
 | 
|---|
| 12 | 
 | 
|---|
| 13 | void resolveEpoch (double secsHour,
 | 
|---|
| 14 |                    int  refWeek,   double  refSecs,  
 | 
|---|
| 15 |                    int& epochWeek, double& epochSecs);
 | 
|---|
| 16 | 
 | 
|---|
| 17 | int 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.