- Timestamp:
- Oct 18, 2007, 2:26:15 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncapp.cpp
r519 r520 210 210 ep->clock_drift, ep->clock_driftrate); 211 211 } 212 *_ephStream << line << endl; 213 212 214 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 214 218 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 216 222 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 218 226 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 220 230 double dd = 0; 221 231 unsigned long ii = ep->flags; … … 225 235 dd += 1.0; 226 236 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 228 240 if(ep->URAindex <= 6) /* URA index */ 229 241 dd = ceil(10.0*pow(2.0, 1.0+((double)ep->URAindex)/2.0))/10.0; … … 233 245 case, so we create a high "non"-accuracy value. */ 234 246 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; 236 249 237 250 line.sprintf(" %19.12e%19.12e\n", ((double)ep->TOW), 0.0); 251 *_ephStream << line << endl; 238 252 239 253 _ephStream->flush();
Note:
See TracChangeset
for help on using the changeset viewer.