Changeset 10941 in ntrip for trunk


Ignore:
Timestamp:
Jun 19, 2026, 1:25:14 PM (3 days ago)
Author:
stuerze
Message:

bugfix regarding SP3 file discrepancies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncrtnetuploadcaster.cpp

    r10827 r10941  
    11521152    // RTNET full clock for RINEX and SP3 file
    11531153    // ---------------------------------------
    1154     double relativity = -2.0 * DotProduct(xP, rtnVel) / t_CST::c;
     1154    // Always use CoM (the position actually written to the SP3/RINEX clock
     1155    // file) here, independent of the APC/CoM and reference frame settings
     1156    // that govern the uploaded SSR Broadcast Correction stream. Otherwise
     1157    // the saved clock value would depend on those settings even though the
     1158    // saved position does not, making the SP3/CLK output internally
     1159    // inconsistent and non-reproducible across differently configured SSR streams.
     1160    double relativity = -2.0 * DotProduct(rtnCoM, rtnVel) / t_CST::c;
    11551161    double clkRnx = (rtnClk[0] - relativity) / t_CST::c;  // [s]
    11561162    double clkRnxRate = rtnClk[1] / t_CST::c;                 // [s/s  = -]
Note: See TracChangeset for help on using the changeset viewer.