Changeset 8967 in ntrip for trunk/BNC/src/RTCM3
- Timestamp:
- Jul 2, 2020, 1:56:59 PM (4 years ago)
- Location:
- trunk/BNC/src/RTCM3/clock_and_orbit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/clock_and_orbit/clock_orbit_rtcm.c
r8963 r8967 551 551 552 552 for (s = 0; s < CLOCKORBIT_SATNUM; ++s) { 553 if (b->NumberOfSat[s] && (type == BTYPE_AUTO || type == corbase[s] + COBOFS_BIAS)) {553 if (b->NumberOfSat[s] && (type == CBTYPE_AUTO || type == corbase[s] + COBOFS_CBIAS)) { 554 554 INITBLOCK 555 T_MESSAGE_NUMBER(corbase[s] + COBOFS_ BIAS)555 T_MESSAGE_NUMBER(corbase[s] + COBOFS_CBIAS) 556 556 switch (s) { 557 557 case CLOCKORBIT_SATGPS: … … 1289 1289 } 1290 1290 break; 1291 case COBOFS_ BIAS:1291 case COBOFS_CBIAS: 1292 1292 if (!b) 1293 1293 return GCOBR_NOCODEBIASPARAMETER; -
trunk/BNC/src/RTCM3/clock_and_orbit/clock_orbit_rtcm.h
r8966 r8967 13 13 #include <string.h> 14 14 15 enum SatelliteReferenceDatum { DATUM_ITRF=0, DATUM_LOCAL=1 }; 15 enum SatelliteReferenceDatum { 16 DATUM_ITRF = 0, 17 DATUM_LOCAL = 1 18 }; 16 19 17 20 enum COR_BASE { … … 27 30 COBOFS_ORBIT = 0, 28 31 COBOFS_CLOCK, 29 COBOFS_ BIAS,32 COBOFS_CBIAS, 30 33 COBOFS_COMBINED, 31 34 COBOFS_URA, … … 35 38 36 39 enum ClockOrbitType { 37 COTYPE_GPSORBIT = COBBASE_GPS + COBOFS_ORBIT,40 COTYPE_GPSORBIT = COBBASE_GPS + COBOFS_ORBIT, 38 41 COTYPE_GPSCLOCK, 39 COTYPE_GPSCOMBINED = COBBASE_GPS + COBOFS_COMBINED,42 COTYPE_GPSCOMBINED = COBBASE_GPS + COBOFS_COMBINED, 40 43 COTYPE_GPSURA, 41 44 COTYPE_GPSHR, … … 53 56 COTYPE_GALILEOHR, 54 57 55 COTYPE_QZSSORBIT = COBBASE_QZSS + COBOFS_ORBIT,58 COTYPE_QZSSORBIT = COBBASE_QZSS + COBOFS_ORBIT, 56 59 COTYPE_QZSSCLOCK, 57 COTYPE_QZSSCOMBINED = COBBASE_QZSS + COBOFS_COMBINED,60 COTYPE_QZSSCOMBINED = COBBASE_QZSS + COBOFS_COMBINED, 58 61 COTYPE_QZSSURA, 59 62 COTYPE_QZSSHR, 60 63 61 COTYPE_SBASORBIT = COBBASE_SBAS + COBOFS_ORBIT,64 COTYPE_SBASORBIT = COBBASE_SBAS + COBOFS_ORBIT, 62 65 COTYPE_SBASCLOCK, 63 COTYPE_SBASCOMBINED = COBBASE_SBAS + COBOFS_COMBINED,66 COTYPE_SBASCOMBINED = COBBASE_SBAS + COBOFS_COMBINED, 64 67 COTYPE_SBASURA, 65 68 COTYPE_SBASHR, 66 69 67 COTYPE_BDSORBIT = COBBASE_BDS + COBOFS_ORBIT,70 COTYPE_BDSORBIT = COBBASE_BDS + COBOFS_ORBIT, 68 71 COTYPE_BDSCLOCK, 69 COTYPE_BDSCOMBINED = COBBASE_BDS + COBOFS_COMBINED,72 COTYPE_BDSCOMBINED = COBBASE_BDS + COBOFS_COMBINED, 70 73 COTYPE_BDSURA, 71 74 COTYPE_BDSHR, … … 75 78 76 79 enum CodeBiasType { 77 BTYPE_GPS = COBBASE_GPS + COBOFS_BIAS,78 BTYPE_GLONASS = COBBASE_GLONASS + COBOFS_BIAS,79 BTYPE_GALILEO = COBBASE_GALILEO + COBOFS_BIAS,80 BTYPE_QZSS = COBBASE_QZSS + COBOFS_BIAS,81 BTYPE_SBAS = COBBASE_SBAS + COBOFS_BIAS,82 BTYPE_BDS = COBBASE_BDS + COBOFS_BIAS,83 BTYPE_AUTO = 080 CBTYPE_GPS = COBBASE_GPS + COBOFS_CBIAS, 81 CBTYPE_GLONASS = COBBASE_GLONASS + COBOFS_CBIAS, 82 CBTYPE_GALILEO = COBBASE_GALILEO + COBOFS_CBIAS, 83 CBTYPE_QZSS = COBBASE_QZSS + COBOFS_CBIAS, 84 CBTYPE_SBAS = COBBASE_SBAS + COBOFS_CBIAS, 85 CBTYPE_BDS = COBBASE_BDS + COBOFS_CBIAS, 86 CBTYPE_AUTO = 0 84 87 }; 85 88 86 89 enum PhaseBiasType { 87 PBTYPE_BASE = 1265,88 PBTYPE_GPS = PBTYPE_BASE,90 PBTYPE_BASE = 1265, 91 PBTYPE_GPS = PBTYPE_BASE, 89 92 PBTYPE_GLONASS, 90 93 PBTYPE_GALILEO, … … 102 105 for these systems to save space */ 103 106 enum COR_CONSTANTS { 104 CLOCKORBIT_BUFFERSIZE =8192,105 CLOCKORBIT_NUMGPS =32,106 CLOCKORBIT_NUMGLONASS =26,107 CLOCKORBIT_NUMGALILEO =36,108 CLOCKORBIT_NUMQZSS =10,109 CLOCKORBIT_NUM SBAS=38,110 CLOCKORBIT_NUM BDS=65,111 CLOCKORBIT_NUMBIAS =100,112 CLOCKORBIT_NUMIONOLAYERS =4,113 CLOCKORBIT_MAXIONOORDER =16,114 CLOCKORBIT_MAXIONODEGREE =16107 CLOCKORBIT_BUFFERSIZE = 8192, 108 CLOCKORBIT_NUMGPS = 32, 109 CLOCKORBIT_NUMGLONASS = 26, 110 CLOCKORBIT_NUMGALILEO = 36, 111 CLOCKORBIT_NUMQZSS = 10, 112 CLOCKORBIT_NUMBDS = 65, 113 CLOCKORBIT_NUMSBAS = 38, 114 CLOCKORBIT_NUMBIAS = 100, 115 CLOCKORBIT_NUMIONOLAYERS = 4, 116 CLOCKORBIT_MAXIONOORDER = 16, 117 CLOCKORBIT_MAXIONODEGREE = 16 115 118 }; 116 119 … … 120 123 CLOCKORBIT_SATGALILEO, 121 124 CLOCKORBIT_SATQZSS, 125 CLOCKORBIT_SATBDS, 122 126 CLOCKORBIT_SATSBAS, 123 CLOCKORBIT_SATBDS,124 127 CLOCKORBIT_SATNUM 125 128 }; … … 128 131 CLOCKORBIT_OFFSETGPS = 0, 129 132 CLOCKORBIT_OFFSETGLONASS = CLOCKORBIT_NUMGPS, 130 CLOCKORBIT_OFFSETGALILEO = CLOCKORBIT_NUMGPS + CLOCKORBIT_NUMGLONASS,131 CLOCKORBIT_OFFSETQZSS = CLOCKORBIT_NUMGPS + CLOCKORBIT_NUMGLONASS + CLOCKORBIT_NUMGALILEO,132 CLOCKORBIT_OFFSET SBAS = CLOCKORBIT_NUMGPS+ CLOCKORBIT_NUMGLONASS + CLOCKORBIT_NUMGALILEO133 CLOCKORBIT_OFFSETGALILEO = CLOCKORBIT_NUMGPS + CLOCKORBIT_NUMGLONASS, 134 CLOCKORBIT_OFFSETQZSS = CLOCKORBIT_NUMGPS + CLOCKORBIT_NUMGLONASS + CLOCKORBIT_NUMGALILEO, 135 CLOCKORBIT_OFFSETBDS = CLOCKORBIT_NUMGPS + CLOCKORBIT_NUMGLONASS + CLOCKORBIT_NUMGALILEO 133 136 + CLOCKORBIT_NUMQZSS, 134 CLOCKORBIT_OFFSET BDS = CLOCKORBIT_NUMGPS+ CLOCKORBIT_NUMGLONASS + CLOCKORBIT_NUMGALILEO135 + CLOCKORBIT_NUMQZSS + CLOCKORBIT_NUM SBAS,136 CLOCKORBIT_COUNTSAT = CLOCKORBIT_NUMGPS + CLOCKORBIT_NUMGLONASS + CLOCKORBIT_NUMGALILEO137 + CLOCKORBIT_NUM QZSS + CLOCKORBIT_NUMSBAS+ CLOCKORBIT_NUMBDS137 CLOCKORBIT_OFFSETSBAS = CLOCKORBIT_NUMGPS + CLOCKORBIT_NUMGLONASS + CLOCKORBIT_NUMGALILEO 138 + CLOCKORBIT_NUMQZSS + CLOCKORBIT_NUMBDS, 139 CLOCKORBIT_COUNTSAT = CLOCKORBIT_NUMGPS + CLOCKORBIT_NUMGLONASS + CLOCKORBIT_NUMGALILEO 140 + CLOCKORBIT_NUMSBAS + CLOCKORBIT_NUMQZSS + CLOCKORBIT_NUMBDS 138 141 }; 139 142
Note:
See TracChangeset
for help on using the changeset viewer.