Changeset 6601 in ntrip
- Timestamp:
- Feb 20, 2015, 10:31:19 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/ephemeris.cpp
r6600 r6601 1473 1473 } 1474 1474 1475 // Constructor 1475 // Set BDS Satellite Position 1476 //////////////////////////////////////////////////////////////////////////// 1477 void t_ephBDS::set(const bdsephemeris* ee) { 1478 1479 _receptDateTime = currentDateAndTimeGPS(); 1480 1481 _prn.set('C', ee->satellite); 1482 1483 _TOE_bdt.set(ee->BDSweek, ee->TOE); 1484 _TOE = _TOE_bdt + 14.0; 1485 1486 _TOC_bdt.set(ee->BDSweek, ee->TOC); 1487 _TOC = _TOC_bdt + 14.0; 1488 _clock_bias = ee->clock_bias; 1489 _clock_drift = ee->clock_drift; 1490 _clock_driftrate = ee->clock_driftrate; 1491 1492 _Crs = ee->Crs; 1493 _Delta_n = ee->Delta_n; 1494 _M0 = ee->M0; 1495 1496 _Cuc = ee->Cuc; 1497 _e = ee->e; 1498 _Cus = ee->Cus; 1499 _sqrt_A = ee->sqrt_A; 1500 1501 _Cic = ee->Cic; 1502 _OMEGA0 = ee->OMEGA0; 1503 _Cis = ee->Cis; 1504 1505 _i0 = ee->i0; 1506 _Crc = ee->Crc; 1507 _omega = ee->omega; 1508 _OMEGADOT = ee->OMEGADOT; 1509 _IDOT = ee->IDOT; 1510 1511 _TGD1 = ee->TGD_B1_B3; 1512 _TGD2 = ee->TGD_B2_B3; 1513 1514 _AODE = ee->AODE; 1515 _AODC = ee->AODC; 1516 1517 } 1518 1519 // Compute BDS Satellite Position (virtual) 1476 1520 ////////////////////////////////////////////////////////////////////////////// 1477 1521 t_irc t_ephBDS::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
Note:
See TracChangeset
for help on using the changeset viewer.