Changeset 6610 in ntrip for trunk/rtcm3torinex/lib/rtcm3torinex.c
- Timestamp:
- Feb 23, 2015, 4:32:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/rtcm3torinex/lib/rtcm3torinex.c
r6609 r6610 457 457 458 458 GETBITS(sv, 6) 459 be->satellite +=PRN_BDS_START-1;459 be->satellite = sv+PRN_BDS_START-1; 460 460 GETBITS(be->BDSweek, 13) 461 461 GETBITS(be->URAI, 4) 462 GETFLOATSIGN(be->IDOT, 14, PI/(double)(1<<30)/(double)(1<<13))462 GETFLOATSIGN(be->IDOT, 14, R2R_PI/(double)(1<<30)/(double)(1<<13)) 463 463 GETBITS(be->AODE, 5) 464 464 GETBITS(be->TOC, 17) … … 469 469 GETBITS(be->AODC, 5) 470 470 GETFLOATSIGN(be->Crs, 18, 1.0/(double)(1<<6)) 471 GETFLOATSIGN(be->Delta_n, 16, PI/(double)(1<<30)/(double)(1<<13))472 GETFLOATSIGN(be->M0, 32, PI/(double)(1<<30)/(double)(1<<1))471 GETFLOATSIGN(be->Delta_n, 16, R2R_PI/(double)(1<<30)/(double)(1<<13)) 472 GETFLOATSIGN(be->M0, 32, R2R_PI/(double)(1<<30)/(double)(1<<1)) 473 473 GETFLOATSIGN(be->Cuc, 18, 1.0/(double)(1<<30)/(double)(1<<1)) 474 474 GETFLOAT(be->e, 32, 1.0/(double)(1<<30)/(double)(1<<3)) … … 478 478 be->TOE <<= 3; 479 479 GETFLOATSIGN(be->Cic, 18, 1.0/(double)(1<<30)/(double)(1<<1)) 480 GETFLOATSIGN(be->OMEGA0, 32, PI/(double)(1<<30)/(double)(1<<1))480 GETFLOATSIGN(be->OMEGA0, 32, R2R_PI/(double)(1<<30)/(double)(1<<1)) 481 481 GETFLOATSIGN(be->Cis, 18, 1.0/(double)(1<<30)/(double)(1<<1)) 482 GETFLOATSIGN(be->i0, 32, PI/(double)(1<<30)/(double)(1<<1))483 GETFLOATSIGN(be->Crc, 18, 1.0/(double)(1<< 8))484 GETFLOATSIGN(be->omega, 32, PI/(double)(1<<30)/(double)(1<<1))485 GETFLOATSIGN(be->OMEGADOT, 24, PI/(double)(1<<30)/(double)(1<<13))482 GETFLOATSIGN(be->i0, 32, R2R_PI/(double)(1<<30)/(double)(1<<1)) 483 GETFLOATSIGN(be->Crc, 18, 1.0/(double)(1<<6)) 484 GETFLOATSIGN(be->omega, 32, R2R_PI/(double)(1<<30)/(double)(1<<1)) 485 GETFLOATSIGN(be->OMEGADOT, 24, R2R_PI/(double)(1<<30)/(double)(1<<13)) 486 486 GETFLOATSIGN(be->TGD_B1_B3, 10, 0.0000000001) 487 487 GETFLOATSIGN(be->TGD_B2_B3, 10, 0.0000000001)
Note:
See TracChangeset
for help on using the changeset viewer.