Changeset 4908 in ntrip for trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
- Timestamp:
- Feb 12, 2013, 11:29:38 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r4808 r4908 574 574 double& dc) { 575 575 576 // Clock Correction577 // ----------------578 dc = 0.0; // TODO579 580 576 // Current epoch minus 2000.0 in years 581 577 // ------------------------------------ … … 595 591 596 592 double sc = 1.0 + _sc * 1e-9 + dt * _scr * 1e-9; 593 594 // Clock correction due to heavy scale in GDA94 transformation 595 // ----------------------------------------------------------- 596 if (_crdTrafo != "GDA94") { 597 dc = 0.0; 598 } 599 else { 600 601 // Spefify mean of Australia (here: GDA94 coordinates of site ALIC) 602 // ---------------------------------------------------------------- 603 ColumnVector meanSta(3); 604 meanSta(1) = -4052051.767; 605 meanSta(2) = 4212836.197; 606 meanSta(3) = -2545106.022; 607 608 // Correction proportional to topocentric distance to satellites 609 // ------------------------------------------------------------- 610 double rho = (xyz - meanSta).norm_Frobenius(); 611 dc = rho * (sc - 1.0) / t_CST::c; 612 } 597 613 598 614 Matrix rMat(3,3);
Note:
See TracChangeset
for help on using the changeset viewer.