Changeset 10543 in ntrip


Ignore:
Timestamp:
Sep 24, 2024, 12:01:47 PM (3 weeks ago)
Author:
stuerze
Message:
 
Location:
trunk/BNC/src/upload
Files:
2 edited

Legend:

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

    r10541 r10543  
    9292    _samplRtcmClkCorr = 5; // default
    9393  }
     94  _samplRtcmVtec = 60.0;
     95  _samplRtcmCrs  = 60.0;
    9496  int samplClkRnx = settings.value("uploadSamplClkRnx").toInt();
    9597  int samplSp3    = settings.value("uploadSamplSp3").toString().split("sec").first().toInt();
     
    10541056  if (vtec.NumLayers > 0) {
    10551057    char obuffer[CLOCKORBIT_BUFFERSIZE] = {'\0'};
    1056     if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) {
     1058    if (fmod(epoTime.gpssec(), _samplRtcmVtec) == 0.0) {
    10571059      int len = _ssrCorr->MakeVTEC(&vtec, 0, obuffer, sizeof(obuffer));
    10581060      if (len > 0) {
     
    10671069  if (sizeof(serviceCrs._name) > 0) {
    10681070    char obuffer[CLOCKORBIT_BUFFERSIZE] = {'\0'};
    1069     if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) {
     1071    if (fmod(epoTime.gpssec(), _samplRtcmCrs) == 0.0) {
    10701072      int len = t_crsEncoder::RTCM3(serviceCrs, obuffer, sizeof(obuffer));
    10711073      if (len > 0) {
     
    10801082  if (sizeof(rtcmCrs._name) > 0) {
    10811083    char obuffer[CLOCKORBIT_BUFFERSIZE] = {'\0'};
    1082     if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) {
     1084    if (fmod(epoTime.gpssec(), _samplRtcmCrs) == 0.0) {
    10831085      int len = t_crsEncoder::RTCM3(rtcmCrs, obuffer, sizeof(obuffer));
    10841086      if (len > 0) {
     
    11651167
    11661168    if (corrIsOutOfRange(sd)) {
     1169      emit(newMessage(QString("bncRtnetUploadCaster: SSR parameter is out of its defined range").toLatin1(), false));
    11671170      return failure;
    11681171    }
  • trunk/BNC/src/upload/bncrtnetuploadcaster.h

    r10537 r10543  
    6767  int            _samplRtcmClkCorr;
    6868  double         _samplRtcmEphCorr;
    69 
     69  double         _samplRtcmVtec;
     70  double         _samplRtcmCrs;
    7071  double         _dx;
    7172  double         _dy;
Note: See TracChangeset for help on using the changeset viewer.