Changeset 521 in ntrip
- Timestamp:
- Oct 18, 2007, 2:29:08 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/bncapp.cpp ¶
r520 r521 195 195 196 196 if (RINEX_3) { 197 line.sprintf("G%02d %04d %02d %02d %02d %02d %02d%19.12e%19.12e%19.12e \n",197 line.sprintf("G%02d %04d %02d %02d %02d %02d %02d%19.12e%19.12e%19.12e", 198 198 ep->satellite, datTim.date().year(), 199 199 datTim.date().month(), datTim.date().day(), … … 203 203 } 204 204 else { 205 line.sprintf("%02d %02d %02d %02d %02d %02d%05.1f%19.12e%19.12e%19.12e \n",205 line.sprintf("%02d %02d %02d %02d %02d %02d%05.1f%19.12e%19.12e%19.12e", 206 206 ep->satellite, datTim.date().year()%100, 207 207 datTim.date().month(), datTim.date().day(), … … 212 212 *_ephStream << line << endl; 213 213 214 line.sprintf(" %19.12e%19.12e%19.12e%19.12e \n", (double)ep->IODE,214 line.sprintf(" %19.12e%19.12e%19.12e%19.12e", (double)ep->IODE, 215 215 ep->Crs, ep->Delta_n, ep->M0); 216 216 *_ephStream << line << endl; 217 217 218 line.sprintf(" %19.12e%19.12e%19.12e%19.12e \n", ep->Cuc,218 line.sprintf(" %19.12e%19.12e%19.12e%19.12e", ep->Cuc, 219 219 ep->e, ep->Cus, ep->sqrt_A); 220 220 *_ephStream << line << endl; 221 221 222 line.sprintf(" %19.12e%19.12e%19.12e%19.12e \n",222 line.sprintf(" %19.12e%19.12e%19.12e%19.12e", 223 223 (double) ep->TOE, ep->Cic, ep->OMEGA0, ep->Cis); 224 224 *_ephStream << line << endl; 225 225 226 line.sprintf(" %19.12e%19.12e%19.12e%19.12e \n", ep->i0,226 line.sprintf(" %19.12e%19.12e%19.12e%19.12e", ep->i0, 227 227 ep->Crc, ep->omega, ep->OMEGADOT); 228 228 *_ephStream << line << endl; … … 234 234 if(ii & GPSEPHF_L2PCODE) 235 235 dd += 1.0; 236 line.sprintf(" %19.12e%19.12e%19.12e%19.12e \n", ep->IDOT, dd,236 line.sprintf(" %19.12e%19.12e%19.12e%19.12e", ep->IDOT, dd, 237 237 (double) ep->GPSweek, ii & GPSEPHF_L2PCODEDATA ? 1.0 : 0.0); 238 238 *_ephStream << line << endl; … … 244 244 /* 15 indicates not to use satellite. We can't handle this special 245 245 case, so we create a high "non"-accuracy value. */ 246 line.sprintf(" %19.12e%19.12e%19.12e%19.12e \n", dd,246 line.sprintf(" %19.12e%19.12e%19.12e%19.12e", dd, 247 247 ((double) ep->SVhealth), ep->TGD, ((double) ep->IODC)); 248 248 *_ephStream << line << endl; 249 249 250 line.sprintf(" %19.12e%19.12e \n", ((double)ep->TOW), 0.0);250 line.sprintf(" %19.12e%19.12e", ((double)ep->TOW), 0.0); 251 251 *_ephStream << line << endl; 252 252
Note:
See TracChangeset
for help on using the changeset viewer.