Changeset 520 in ntrip


Ignore:
Timestamp:
Oct 18, 2007, 2:26:15 PM (17 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncapp.cpp

    r519 r520  
    210210                   ep->clock_drift, ep->clock_driftrate);
    211211    }
     212    *_ephStream << line << endl;
     213
    212214    line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n", (double)ep->IODE,
    213     ep->Crs, ep->Delta_n, ep->M0);
     215                 ep->Crs, ep->Delta_n, ep->M0);
     216    *_ephStream << line << endl;
     217   
    214218    line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n", ep->Cuc,
    215     ep->e, ep->Cus, ep->sqrt_A);
     219                 ep->e, ep->Cus, ep->sqrt_A);
     220    *_ephStream << line << endl;
     221
    216222    line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n",
    217     (double) ep->TOE, ep->Cic, ep->OMEGA0, ep->Cis);
     223                 (double) ep->TOE, ep->Cic, ep->OMEGA0, ep->Cis);
     224    *_ephStream << line << endl;
     225   
    218226    line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n", ep->i0,
    219     ep->Crc, ep->omega, ep->OMEGADOT);
     227                 ep->Crc, ep->omega, ep->OMEGADOT);
     228    *_ephStream << line << endl;
     229
    220230    double dd = 0;
    221231    unsigned long ii = ep->flags;
     
    225235      dd += 1.0;
    226236    line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n", ep->IDOT, dd,
    227     (double) ep->GPSweek, ii & GPSEPHF_L2PCODEDATA ? 1.0 : 0.0);
     237                 (double) ep->GPSweek, ii & GPSEPHF_L2PCODEDATA ? 1.0 : 0.0);
     238    *_ephStream << line << endl;
     239
    228240    if(ep->URAindex <= 6) /* URA index */
    229241      dd = ceil(10.0*pow(2.0, 1.0+((double)ep->URAindex)/2.0))/10.0;
     
    233245       case, so we create a high "non"-accuracy value. */
    234246    line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n", dd,
    235     ((double) ep->SVhealth), ep->TGD, ((double) ep->IODC));
     247                 ((double) ep->SVhealth), ep->TGD, ((double) ep->IODC));
     248    *_ephStream << line << endl;
    236249
    237250    line.sprintf("   %19.12e%19.12e\n", ((double)ep->TOW), 0.0);
     251    *_ephStream << line << endl;
    238252
    239253    _ephStream->flush();
Note: See TracChangeset for help on using the changeset viewer.