Changeset 11035 in ntrip
- Timestamp:
- Sep 21, 2026, 2:21:20 PM (12 hours ago)
- Location:
- trunk/BNC/src/RTCM3/clock_and_orbit
- Files:
-
- 2 edited
-
clock_orbit.h (modified) (1 diff)
-
clock_orbit_rtcm_new.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/clock_and_orbit/clock_orbit.h
r11034 r11035 494 494 struct FrequencyPart { 495 495 unsigned int NadirCorrectionIndicator; 496 intNadirCorrection;497 intNadirAngleCorrection[ANT_MAXNADIRDEGREES];496 double NadirCorrection; /* m */ 497 double NadirAngleCorrection[ANT_MAXNADIRDEGREES]; /* m */ 498 498 } Freq[ANT_MAXFREQUENCIES]; 499 499 } Sat[CLOCKORBIT_COUNTSAT]; -
trunk/BNC/src/RTCM3/clock_and_orbit/clock_orbit_rtcm_new.cpp
r11034 r11035 1156 1156 D_GNSS_FREQUENCY_MASK(satBlock.GnssFrequencyMask) 1157 1157 1158 /* DF+018 frequency mask uses the same MSB-first convention as the 1159 satellite mask above: bit 5 (MSB) = frequency 0. */ 1158 1160 numFreqPositions = 0; 1159 1161 for (k = 0; k < ANT_MAXFREQUENCIES; ++k) { 1160 if ((satBlock.GnssFrequencyMask >> k) & 1U)1162 if ((satBlock.GnssFrequencyMask >> (ANT_MAXFREQUENCIES - 1 - k)) & 1U) 1161 1163 freqPositions[numFreqPositions++] = k; 1162 1164 } … … 1174 1176 } 1175 1177 #ifdef BNC_DEBUG_SSR 1176 fprintf(stderr, " freq %d nadirCorrInd %d nadirCorr % d\n",1178 fprintf(stderr, " freq %d nadirCorrInd %d nadirCorr %f\n", 1177 1179 f, satBlock.Freq[f].NadirCorrectionIndicator, satBlock.Freq[f].NadirCorrection); 1178 1180 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
