Changeset 11019 in ntrip for trunk/BNC/src/PPP/pppClient.cpp


Ignore:
Timestamp:
Sep 10, 2026, 3:45:13 PM (2 hours ago)
Author:
stuerze
Message:

added epoch/velocity fields to PPP coordinates file to allow BNC to propagate the reference coordinates related to a dedicated reference epoch to the current epoch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppClient.cpp

    r11011 r11019  
    450450
    451451  if (_opt->xyzAprRoverSet()) {
    452     station->setXyzApr(_opt->_xyzAprRover);
     452    if (_opt->_refEpochRover != 0.0) {
     453      double dt = decimalYear(time) - _opt->_refEpochRover;
     454      station->setXyzApr(_opt->_xyzAprRover + dt * _opt->_velRover);
     455    }
     456    else {
     457      station->setXyzApr(_opt->_xyzAprRover);
     458    }
    453459  }
    454460  else {
Note: See TracChangeset for help on using the changeset viewer.