- Timestamp:
- Sep 18, 2024, 5:44:49 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r10537 r10541 1054 1054 if (vtec.NumLayers > 0) { 1055 1055 char obuffer[CLOCKORBIT_BUFFERSIZE] = {'\0'}; 1056 int len = _ssrCorr->MakeVTEC(&vtec, 0, obuffer, sizeof(obuffer)); 1057 if (len > 0) { 1058 hlpBufferVtec = QByteArray(obuffer, len); 1056 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 1057 int len = _ssrCorr->MakeVTEC(&vtec, 0, obuffer, sizeof(obuffer)); 1058 if (len > 0) { 1059 hlpBufferVtec = QByteArray(obuffer, len); 1060 } 1059 1061 } 1060 1062 } … … 1065 1067 if (sizeof(serviceCrs._name) > 0) { 1066 1068 char obuffer[CLOCKORBIT_BUFFERSIZE] = {'\0'}; 1067 int len = t_crsEncoder::RTCM3(serviceCrs, obuffer, sizeof(obuffer)); 1068 if (len > 0) { 1069 hlpBufferServiceCrs = QByteArray(obuffer, len); 1069 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 1070 int len = t_crsEncoder::RTCM3(serviceCrs, obuffer, sizeof(obuffer)); 1071 if (len > 0) { 1072 hlpBufferServiceCrs = QByteArray(obuffer, len); 1073 } 1070 1074 } 1071 1075 } … … 1076 1080 if (sizeof(rtcmCrs._name) > 0) { 1077 1081 char obuffer[CLOCKORBIT_BUFFERSIZE] = {'\0'}; 1078 int len = t_crsEncoder::RTCM3(rtcmCrs, obuffer, sizeof(obuffer)); 1079 if (len > 0) { 1080 hlpBufferRtcmCrs = QByteArray(obuffer, len); 1081 } 1082 } 1083 1082 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 1083 int len = t_crsEncoder::RTCM3(rtcmCrs, obuffer, sizeof(obuffer)); 1084 if (len > 0) { 1085 hlpBufferRtcmCrs = QByteArray(obuffer, len); 1086 } 1087 } 1088 } 1089 1090 // Create OutBuffer 1091 // ---------------- 1084 1092 _outBuffer += hlpBufferCo + hlpBufferBias + hlpBufferPhaseBias + hlpBufferVtec 1085 1093 + hlpBufferServiceCrs + hlpBufferRtcmCrs + '\0';
Note:
See TracChangeset
for help on using the changeset viewer.