Changeset 2366 in ntrip for trunk/BNC/bncpppclient.cpp
- Timestamp:
- Mar 11, 2010, 12:32:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncpppclient.cpp
r2365 r2366 314 314 if ( messageType == COTYPE_GPSCOMBINED || 315 315 messageType == COTYPE_GLONASSCOMBINED ) { 316 cc->rao.ReSize(3); 317 cc->dotRao.ReSize(3); 318 cc->dotRao = 0.0; 319 double dummyDotClk; 320 in >> cc->iod >> cc->dClk >> cc->rao[0] >> cc->rao[1] >> cc->rao[2] 321 >> dummyDotClk >> cc->dotRao[0] >> cc->dotRao[1] >> cc->dotRao[2]; 322 cc->dClk /= t_CST::c; 316 cc->rao.ReSize(3); cc->rao = 0.0; 317 cc->dotRao.ReSize(3); cc->dotRao = 0.0; 318 cc->dotDotRao.ReSize(3); cc->dotDotRao = 0.0; 319 cc->dClk = 0.0; 320 cc->dotDClk = 0.0; 321 cc->dotDotDClk = 0.0; 322 in >> cc->iod 323 >> cc->dClk >> cc->rao[0] >> cc->rao[1] >> cc->rao[2] 324 >> cc->dotDClk >> cc->dotRao[0] >> cc->dotRao[1] >> cc->dotRao[2] 325 >> cc->dotDotDClk >> cc->dotDotRao[0] >> cc->dotDotRao[1] >> cc->dotDotRao[2]; 326 cc->dClk /= t_CST::c; 327 cc->dotDClk /= t_CST::c; 328 cc->dotDotDClk /= t_CST::c; 323 329 cc->raoSet = true; 324 330 cc->dClkSet = true; … … 326 332 else if ( messageType == COTYPE_GPSORBIT || 327 333 messageType == COTYPE_GLONASSORBIT ) { 328 cc->rao.ReSize(3); 329 in >> cc->iod >> cc->rao[0] >> cc->rao[1] >> cc->rao[2] 330 >> cc->dotRao[0] >> cc->dotRao[1] >> cc->dotRao[2]; 334 cc->rao.ReSize(3); cc->rao = 0.0; 335 cc->dotRao.ReSize(3); cc->dotRao = 0.0; 336 cc->dotDotRao.ReSize(3); cc->dotDotRao = 0.0; 337 in >> cc->iod 338 >> cc->rao[0] >> cc->rao[1] >> cc->rao[2] 339 >> cc->dotRao[0] >> cc->dotRao[1] >> cc->dotRao[2] 340 >> cc->dotDotRao[0] >> cc->dotDotRao[1] >> cc->dotDotRao[2]; 331 341 cc->raoSet = true; 332 342 } … … 334 344 messageType == COTYPE_GLONASSCLOCK ) { 335 345 int dummyIOD; 336 in >> dummyIOD >> cc->dClk; 337 cc->dClk /= t_CST::c; 346 cc->dClk = 0.0; 347 cc->dotDClk = 0.0; 348 cc->dotDotDClk = 0.0; 349 in >> dummyIOD >> cc->dClk >> cc->dotDClk >> cc->dotDotDClk; 350 cc->dClk /= t_CST::c; 351 cc->dotDClk /= t_CST::c; 352 cc->dotDotDClk /= t_CST::c; 338 353 cc->dClkSet = true; 339 354 }
Note:
See TracChangeset
for help on using the changeset viewer.