Changeset 10543 in ntrip for trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
- Timestamp:
- Sep 24, 2024, 12:01:47 PM (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r10541 r10543 92 92 _samplRtcmClkCorr = 5; // default 93 93 } 94 _samplRtcmVtec = 60.0; 95 _samplRtcmCrs = 60.0; 94 96 int samplClkRnx = settings.value("uploadSamplClkRnx").toInt(); 95 97 int samplSp3 = settings.value("uploadSamplSp3").toString().split("sec").first().toInt(); … … 1054 1056 if (vtec.NumLayers > 0) { 1055 1057 char obuffer[CLOCKORBIT_BUFFERSIZE] = {'\0'}; 1056 if (fmod(epoTime.gpssec(), _samplRtcm EphCorr) == 0.0) {1058 if (fmod(epoTime.gpssec(), _samplRtcmVtec) == 0.0) { 1057 1059 int len = _ssrCorr->MakeVTEC(&vtec, 0, obuffer, sizeof(obuffer)); 1058 1060 if (len > 0) { … … 1067 1069 if (sizeof(serviceCrs._name) > 0) { 1068 1070 char obuffer[CLOCKORBIT_BUFFERSIZE] = {'\0'}; 1069 if (fmod(epoTime.gpssec(), _samplRtcm EphCorr) == 0.0) {1071 if (fmod(epoTime.gpssec(), _samplRtcmCrs) == 0.0) { 1070 1072 int len = t_crsEncoder::RTCM3(serviceCrs, obuffer, sizeof(obuffer)); 1071 1073 if (len > 0) { … … 1080 1082 if (sizeof(rtcmCrs._name) > 0) { 1081 1083 char obuffer[CLOCKORBIT_BUFFERSIZE] = {'\0'}; 1082 if (fmod(epoTime.gpssec(), _samplRtcm EphCorr) == 0.0) {1084 if (fmod(epoTime.gpssec(), _samplRtcmCrs) == 0.0) { 1083 1085 int len = t_crsEncoder::RTCM3(rtcmCrs, obuffer, sizeof(obuffer)); 1084 1086 if (len > 0) { … … 1165 1167 1166 1168 if (corrIsOutOfRange(sd)) { 1169 emit(newMessage(QString("bncRtnetUploadCaster: SSR parameter is out of its defined range").toLatin1(), false)); 1167 1170 return failure; 1168 1171 }
Note:
See TracChangeset
for help on using the changeset viewer.