Changeset 2425 in ntrip
- Timestamp:
- Apr 14, 2010, 3:18:56 PM (15 years ago)
- Location:
- trunk/BNC/RTCM3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM3/RTCM3coDecoder.cpp
r2295 r2425 232 232 " %8.3f %8.3f %8.3f %8.3f" 233 233 " %10.5f %10.5f %10.5f %10.5f" 234 " %10.5f %10.5f %10.5f %10.5f",234 " %10.5f", 235 235 _co.Sat[ii].IOD, 236 236 _co.Sat[ii].Clock.DeltaA0, … … 242 242 _co.Sat[ii].Orbit.DotDeltaAlongTrack, 243 243 _co.Sat[ii].Orbit.DotDeltaCrossTrack, 244 _co.Sat[ii].Clock.DeltaA2, 245 _co.Sat[ii].Orbit.DotDotDeltaRadial, 246 _co.Sat[ii].Orbit.DotDotDeltaAlongTrack, 247 _co.Sat[ii].Orbit.DotDotDeltaCrossTrack); 244 _co.Sat[ii].Clock.DeltaA2); 248 245 printLine(linePart+line, coTime); 249 246 } … … 256 253 line.sprintf(" %3d" 257 254 " %8.3f %8.3f %8.3f" 258 " %10.5f %10.5f %10.5f"259 255 " %10.5f %10.5f %10.5f", 260 256 _co.Sat[ii].IOD, … … 264 260 _co.Sat[ii].Orbit.DotDeltaRadial, 265 261 _co.Sat[ii].Orbit.DotDeltaAlongTrack, 266 _co.Sat[ii].Orbit.DotDeltaCrossTrack, 267 _co.Sat[ii].Orbit.DotDotDeltaRadial, 268 _co.Sat[ii].Orbit.DotDotDeltaAlongTrack, 269 _co.Sat[ii].Orbit.DotDotDeltaCrossTrack); 262 _co.Sat[ii].Orbit.DotDeltaCrossTrack); 270 263 printLine(linePart+line, coTime); 271 264 } … … 289 282 _co.messageType == COTYPE_GLONASSURA ) { 290 283 QString line; 291 line.sprintf(" %3d % d",292 _co.Sat[ii].IOD, _co.Sat[ii].U RA);284 line.sprintf(" %3d %f", 285 _co.Sat[ii].IOD, _co.Sat[ii].UserRangeAccuracy); 293 286 printLine(linePart+line, coTime); 294 287 } -
trunk/BNC/RTCM3/clock_orbit_rtcm.c
r2325 r2425 3 3 Name: clock_orbit_rtcm.c 4 4 Project: RTCM3 5 Version: $Id: clock_orbit_rtcm.c,v 1. 9 2010/02/22 13:42:26 stoeckerExp $5 Version: $Id: clock_orbit_rtcm.c,v 1.19 2010/04/14 13:11:26 mervart Exp $ 6 6 Authors: Dirk Stöcker 7 7 Description: state space approach for RTCM3 8 8 */ 9 9 10 #include <math.h> 10 11 #include <stdio.h> 11 12 #include <string.h> … … 93 94 /* standard values */ 94 95 #define T_MESSAGE_NUMBER(a) ADDBITS(12, a) /* DF002 */ 96 #define T_RESERVED4 ADDBITS(1, 0) /* DF001 */ 95 97 #define T_RESERVED5 ADDBITS(5, 0) /* DF001 */ 96 98 #define T_GPS_SATELLITE_ID(a) ADDBITS(6, a) /* DF068 */ … … 105 107 #define T_DELTA_DOT_ALONG_TRACK(a) SCALEADDBITS(19, 250000.0, a) 106 108 #define T_DELTA_DOT_CROSS_TRACK(a) SCALEADDBITS(19, 250000.0, a) 107 #define T_DELTA_DOT_DOT_RADIAL(a) SCALEADDBITS(27, 50000000.0, a)108 #define T_DELTA_DOT_DOT_ALONG_TRACK(a) SCALEADDBITS(25, 12500000.0, a)109 #define T_DELTA_DOT_DOT_CROSS_TRACK(a) SCALEADDBITS(25, 12500000.0, a)110 #define T_SATELLITE_REFERENCE_POINT(a) ADDBITS(1, a)111 109 112 110 #define T_SATELLITE_REFERENCE_DATUM(a) ADDBITS(1, a) … … 117 115 #define T_GPS_SIGNAL_IDENTIFIER(a) ADDBITS(5, a) 118 116 #define T_GLONASS_SIGNAL_IDENTIFIER(a) ADDBITS(5, a) 119 #define T_GALILEO_SIGNAL_IDENTIFIER(a) ADDBITS(5, a)120 117 #define T_CODE_BIAS(a) SCALEADDBITS(14, 100.0, a) 121 118 #define T_GLONASS_SATELLITE_ID(a) ADDBITS(5, a) … … 125 122 #define T_NO_OF_SATELLITES(a) ADDBITS(6, a) 126 123 #define T_MULTIPLE_MESSAGE_INDICATOR(a) ADDBITS(1, a) 127 #define T_SSR_URA(a) ADDBITS( 4, a)124 #define T_SSR_URA(a) ADDBITS(6, a) 128 125 #define T_HR_CLOCK_CORRECTION(a) SCALEADDBITS(22, 10000.0, a) 129 126 #define T_SSR_UPDATE_INTERVAL(a) ADDBITS(4, a) 127 128 static double URAToValue(int ura) 129 { 130 int urac, urav; 131 urac = ura >> 3; 132 urav = ura & 7; 133 if(!ura) 134 return 0; 135 else if(ura == 63) 136 return SSR_MAXURA; 137 return (pow(3,urac)*(1.0+urav/4.0)-1.0)/1000.0; 138 } 139 140 static int ValueToURA(double val) 141 { 142 int ura; 143 if(!val) 144 return 0; 145 else if(val > 5.4665) 146 return 63; 147 for(ura = 1; ura < 63 && val > URAToValue(ura); ++ura) 148 ; 149 return ura; 150 } 130 151 131 152 size_t MakeClockOrbit(const struct ClockOrbit *co, enum ClockOrbitType type, … … 184 205 T_MULTIPLE_MESSAGE_INDICATOR(/*mmi ? 1 :*/0) 185 206 --mmi; 186 T_RESERVED5 207 T_SATELLITE_REFERENCE_DATUM(co->SatRefDatum) 208 T_RESERVED4 187 209 T_NO_OF_SATELLITES(co->NumberOfGPSSat) 188 210 for(i = 0; i < co->NumberOfGPSSat; ++i) … … 196 218 T_DELTA_DOT_ALONG_TRACK(co->Sat[i].Orbit.DotDeltaAlongTrack) 197 219 T_DELTA_DOT_CROSS_TRACK(co->Sat[i].Orbit.DotDeltaCrossTrack) 198 T_DELTA_DOT_DOT_RADIAL(co->Sat[i].Orbit.DotDotDeltaRadial)199 T_DELTA_DOT_DOT_ALONG_TRACK(co->Sat[i].Orbit.DotDotDeltaAlongTrack)200 T_DELTA_DOT_DOT_CROSS_TRACK(co->Sat[i].Orbit.DotDotDeltaCrossTrack)201 T_SATELLITE_REFERENCE_POINT(co->SatRefPoint)202 T_SATELLITE_REFERENCE_DATUM(co->SatRefDatum)203 220 } 204 221 ENDBLOCK … … 244 261 T_MULTIPLE_MESSAGE_INDICATOR(/*mmi || */ left ? 1 : 0) 245 262 --mmi; 246 T_RESERVED5 263 T_SATELLITE_REFERENCE_DATUM(co->SatRefDatum) 264 T_RESERVED4 247 265 T_NO_OF_SATELLITES(nums) 248 266 for(i = start; i < start+nums; ++i) … … 256 274 T_DELTA_DOT_ALONG_TRACK(co->Sat[i].Orbit.DotDeltaAlongTrack) 257 275 T_DELTA_DOT_CROSS_TRACK(co->Sat[i].Orbit.DotDeltaCrossTrack) 258 T_DELTA_DOT_DOT_RADIAL(co->Sat[i].Orbit.DotDotDeltaRadial)259 T_DELTA_DOT_DOT_ALONG_TRACK(co->Sat[i].Orbit.DotDotDeltaAlongTrack)260 T_DELTA_DOT_DOT_CROSS_TRACK(co->Sat[i].Orbit.DotDotDeltaCrossTrack)261 T_SATELLITE_REFERENCE_POINT(co->SatRefPoint)262 T_SATELLITE_REFERENCE_DATUM(co->SatRefDatum)263 276 T_DELTA_CLOCK_C0(co->Sat[i].Clock.DeltaA0) 264 277 T_DELTA_CLOCK_C1(co->Sat[i].Clock.DeltaA1) … … 300 313 { 301 314 T_GPS_SATELLITE_ID(co->Sat[i].ID) 302 T_SSR_URA( co->Sat[i].URA)315 T_SSR_URA(ValueToURA(co->Sat[i].UserRangeAccuracy)) 303 316 } 304 317 ENDBLOCK … … 312 325 T_MULTIPLE_MESSAGE_INDICATOR(/*mmi ? 1 :*/0) 313 326 --mmi; 314 T_RESERVED5 327 T_SATELLITE_REFERENCE_DATUM(co->SatRefDatum) 328 T_RESERVED4 315 329 T_NO_OF_SATELLITES(co->NumberOfGLONASSSat) 316 330 for(i = CLOCKORBIT_NUMGPS; … … 325 339 T_DELTA_DOT_ALONG_TRACK(co->Sat[i].Orbit.DotDeltaAlongTrack) 326 340 T_DELTA_DOT_CROSS_TRACK(co->Sat[i].Orbit.DotDeltaCrossTrack) 327 T_DELTA_DOT_DOT_RADIAL(co->Sat[i].Orbit.DotDotDeltaRadial)328 T_DELTA_DOT_DOT_ALONG_TRACK(co->Sat[i].Orbit.DotDotDeltaAlongTrack)329 T_DELTA_DOT_DOT_CROSS_TRACK(co->Sat[i].Orbit.DotDotDeltaCrossTrack)330 T_SATELLITE_REFERENCE_POINT(co->SatRefPoint)331 T_SATELLITE_REFERENCE_DATUM(co->SatRefDatum)332 341 } 333 342 ENDBLOCK … … 362 371 T_MULTIPLE_MESSAGE_INDICATOR(/*mmi ? 1 :*/0) 363 372 --mmi; 364 T_RESERVED5 373 T_SATELLITE_REFERENCE_DATUM(co->SatRefDatum) 374 T_RESERVED4 365 375 T_NO_OF_SATELLITES(co->NumberOfGLONASSSat) 366 376 for(i = CLOCKORBIT_NUMGPS; … … 375 385 T_DELTA_DOT_ALONG_TRACK(co->Sat[i].Orbit.DotDeltaAlongTrack) 376 386 T_DELTA_DOT_CROSS_TRACK(co->Sat[i].Orbit.DotDeltaCrossTrack) 377 T_DELTA_DOT_DOT_RADIAL(co->Sat[i].Orbit.DotDotDeltaRadial)378 T_DELTA_DOT_DOT_ALONG_TRACK(co->Sat[i].Orbit.DotDotDeltaAlongTrack)379 T_DELTA_DOT_DOT_CROSS_TRACK(co->Sat[i].Orbit.DotDotDeltaCrossTrack)380 T_SATELLITE_REFERENCE_POINT(co->SatRefPoint)381 T_SATELLITE_REFERENCE_DATUM(co->SatRefDatum)382 387 T_DELTA_CLOCK_C0(co->Sat[i].Clock.DeltaA0) 383 388 T_DELTA_CLOCK_C1(co->Sat[i].Clock.DeltaA1) … … 417 422 { 418 423 T_GPS_SATELLITE_ID(co->Sat[i].ID) 419 T_SSR_URA( co->Sat[i].URA)424 T_SSR_URA(ValueToURA(co->Sat[i].UserRangeAccuracy)) 420 425 } 421 426 ENDBLOCK … … 532 537 #define G_SIZE(a) GETBITS(a, 10) 533 538 #define G_MESSAGE_NUMBER(a) GETBITS(a, 12) /* DF002 */ 539 #define G_RESERVED4 SKIPBITS(4) /* DF001 */ 534 540 #define G_RESERVED5 SKIPBITS(5) /* DF001 */ 535 541 #define G_GPS_SATELLITE_ID(a) GETBITS(a, 6) /* DF068 */ … … 544 550 #define G_DELTA_DOT_ALONG_TRACK(a) GETFLOATSIGN(a, 19, 1/250000.0) 545 551 #define G_DELTA_DOT_CROSS_TRACK(a) GETFLOATSIGN(a, 19, 1/250000.0) 546 #define G_DELTA_DOT_DOT_RADIAL(a) GETFLOATSIGN(a, 27, 1/50000000.0)547 #define G_DELTA_DOT_DOT_ALONG_TRACK(a) GETFLOATSIGN(a, 25, 1/12500000.0)548 #define G_DELTA_DOT_DOT_CROSS_TRACK(a) GETFLOATSIGN(a, 25, 1/12500000.0)549 #define G_SATELLITE_REFERENCE_POINT(a) GETBITS(a, 1)550 552 551 553 #define G_SATELLITE_REFERENCE_DATUM(a) GETBITS(a, 1) … … 556 558 #define G_GPS_SIGNAL_IDENTIFIER(a) GETBITS(a, 5) 557 559 #define G_GLONASS_SIGNAL_IDENTIFIER(a) GETBITS(a, 5) 558 #define G_GALILEO_SIGNAL_IDENTIFIER(a) GETBITS(a, 5)559 560 #define G_CODE_BIAS(a) GETFLOATSIGN(a, 14, 1/100.0) 560 561 #define G_GLONASS_SATELLITE_ID(a) GETBITS(a, 5) … … 566 567 #define G_NO_OF_SATELLITES(a) GETBITS(a, 6) 567 568 #define G_MULTIPLE_MESSAGE_INDICATOR(a) GETBITS(a, 1) 568 #define G_SSR_URA(a) GETBITS(a, 4) 569 #define G_SSR_URA(a) {int temp; GETBITS(temp, 6) \ 570 (a) = URAToValue(temp);} 569 571 #define G_HR_CLOCK_CORRECTION(a) GETFLOATSIGN(a, 22, 1/10000.0) 570 572 #define G_SSR_UPDATE_INTERVAL(a) GETBITS(a, 4) … … 614 616 G_SSR_UPDATE_INTERVAL(co->UpdateInterval) 615 617 G_MULTIPLE_MESSAGE_INDICATOR(mmi) 616 G_RESERVED5 618 G_SATELLITE_REFERENCE_DATUM(co->SatRefDatum) 619 G_RESERVED4 617 620 G_NO_OF_SATELLITES(nums) 618 621 co->OrbitDataSupplied |= 1; 619 622 #ifdef DEBUG 620 fprintf(stderr, "epochtime %d ui %d mmi %d sats %d/%d \n",co->GPSEpochTime,621 co->UpdateInterval,mmi,co->NumberOfGPSSat,nums );623 fprintf(stderr, "epochtime %d ui %d mmi %d sats %d/%d rd %d\n",co->GPSEpochTime, 624 co->UpdateInterval,mmi,co->NumberOfGPSSat,nums, co->SatRefDatum); 622 625 #endif 623 626 for(i = 0; i < nums; ++i) … … 637 640 G_DELTA_DOT_ALONG_TRACK(co->Sat[pos].Orbit.DotDeltaAlongTrack) 638 641 G_DELTA_DOT_CROSS_TRACK(co->Sat[pos].Orbit.DotDeltaCrossTrack) 639 G_DELTA_DOT_DOT_RADIAL(co->Sat[pos].Orbit.DotDotDeltaRadial) 640 G_DELTA_DOT_DOT_ALONG_TRACK(co->Sat[pos].Orbit.DotDotDeltaAlongTrack) 641 G_DELTA_DOT_DOT_CROSS_TRACK(co->Sat[pos].Orbit.DotDotDeltaCrossTrack) 642 G_SATELLITE_REFERENCE_POINT(co->SatRefPoint) 643 G_SATELLITE_REFERENCE_DATUM(co->SatRefDatum) 644 #ifdef DEBUG 645 fprintf(stderr, "id %2d iod %3d dr %8.3f da %8.3f dc %8.3f dr %8.3f da %8.3f dc %8.3f dr %8.3f da %8.3f dc %8.3f rp %d rd %d\n", 642 #ifdef DEBUG 643 fprintf(stderr, "id %2d iod %3d dr %8.3f da %8.3f dc %8.3f dr %8.3f da %8.3f dc %8.3f\n", 646 644 co->Sat[pos].ID,co->Sat[pos].IOD,co->Sat[pos].Orbit.DeltaRadial, 647 645 co->Sat[pos].Orbit.DeltaAlongTrack,co->Sat[pos].Orbit.DeltaCrossTrack, 648 646 co->Sat[pos].Orbit.DotDeltaRadial, 649 647 co->Sat[pos].Orbit.DotDeltaAlongTrack, 650 co->Sat[pos].Orbit.DotDeltaCrossTrack, 651 co->Sat[pos].Orbit.DotDotDeltaRadial, 652 co->Sat[pos].Orbit.DotDotDeltaAlongTrack, 653 co->Sat[pos].Orbit.DotDotDeltaCrossTrack, 654 co->SatRefPoint, 655 co->SatRefDatum); 648 co->Sat[pos].Orbit.DotDeltaCrossTrack); 656 649 #endif 657 650 } … … 699 692 G_SSR_UPDATE_INTERVAL(co->UpdateInterval) 700 693 G_MULTIPLE_MESSAGE_INDICATOR(mmi) 701 G_RESERVED5 694 G_SATELLITE_REFERENCE_DATUM(co->SatRefDatum) 695 G_RESERVED4 702 696 G_NO_OF_SATELLITES(nums) 703 697 co->OrbitDataSupplied |= 1; … … 719 713 G_DELTA_DOT_ALONG_TRACK(co->Sat[pos].Orbit.DotDeltaAlongTrack) 720 714 G_DELTA_DOT_CROSS_TRACK(co->Sat[pos].Orbit.DotDeltaCrossTrack) 721 G_DELTA_DOT_DOT_RADIAL(co->Sat[pos].Orbit.DotDotDeltaRadial)722 G_DELTA_DOT_DOT_ALONG_TRACK(co->Sat[pos].Orbit.DotDotDeltaAlongTrack)723 G_DELTA_DOT_DOT_CROSS_TRACK(co->Sat[pos].Orbit.DotDotDeltaCrossTrack)724 G_SATELLITE_REFERENCE_POINT(co->SatRefPoint)725 G_SATELLITE_REFERENCE_DATUM(co->SatRefDatum)726 715 G_DELTA_CLOCK_C0(co->Sat[pos].Clock.DeltaA0) 727 716 G_DELTA_CLOCK_C1(co->Sat[pos].Clock.DeltaA1) … … 748 737 co->Sat[pos].ID = id; 749 738 750 G_SSR_URA(co->Sat[pos].U RA)739 G_SSR_URA(co->Sat[pos].UserRangeAccuracy) 751 740 } 752 741 break; … … 780 769 G_SSR_UPDATE_INTERVAL(co->UpdateInterval) 781 770 G_MULTIPLE_MESSAGE_INDICATOR(mmi) 782 G_RESERVED5 771 G_SATELLITE_REFERENCE_DATUM(co->SatRefDatum) 772 G_RESERVED4 783 773 G_NO_OF_SATELLITES(nums) 784 774 co->OrbitDataSupplied |= 2; 785 775 #ifdef DEBUG 786 fprintf(stderr, "epochtime %d ui %d mmi %d sats %d/%d \n",co->GLONASSEpochTime,787 co->UpdateInterval,mmi,co->NumberOfGLONASSSat,nums );776 fprintf(stderr, "epochtime %d ui %d mmi %d sats %d/%d rd %d\n",co->GLONASSEpochTime, 777 co->UpdateInterval,mmi,co->NumberOfGLONASSSat,nums, co->SatRefDatum); 788 778 #endif 789 779 for(i = 0; i < nums; ++i) … … 803 793 G_DELTA_DOT_ALONG_TRACK(co->Sat[pos].Orbit.DotDeltaAlongTrack) 804 794 G_DELTA_DOT_CROSS_TRACK(co->Sat[pos].Orbit.DotDeltaCrossTrack) 805 G_DELTA_DOT_DOT_RADIAL(co->Sat[pos].Orbit.DotDotDeltaRadial) 806 G_DELTA_DOT_DOT_ALONG_TRACK(co->Sat[pos].Orbit.DotDotDeltaAlongTrack) 807 G_DELTA_DOT_DOT_CROSS_TRACK(co->Sat[pos].Orbit.DotDotDeltaCrossTrack) 808 G_SATELLITE_REFERENCE_POINT(co->SatRefPoint) 809 G_SATELLITE_REFERENCE_DATUM(co->SatRefDatum) 810 #ifdef DEBUG 811 fprintf(stderr, "id %2d iod %3d dr %8.3f da %8.3f dc %8.3f dr %8.3f da %8.3f dc %8.3f dr %8.3f da %8.3f dc %8.3f rp %d rd %d\n", 795 #ifdef DEBUG 796 fprintf(stderr, "id %2d iod %3d dr %8.3f da %8.3f dc %8.3f dr %8.3f da %8.3f dc %8.3f\n", 812 797 co->Sat[pos].ID,co->Sat[pos].IOD,co->Sat[pos].Orbit.DeltaRadial, 813 798 co->Sat[pos].Orbit.DeltaAlongTrack,co->Sat[pos].Orbit.DeltaCrossTrack, 814 799 co->Sat[pos].Orbit.DotDeltaRadial, 815 800 co->Sat[pos].Orbit.DotDeltaAlongTrack, 816 co->Sat[pos].Orbit.DotDeltaCrossTrack, 817 co->Sat[pos].Orbit.DotDotDeltaRadial, 818 co->Sat[pos].Orbit.DotDotDeltaAlongTrack, 819 co->Sat[pos].Orbit.DotDotDeltaCrossTrack, 820 co->SatRefPoint, 821 co->SatRefDatum); 801 co->Sat[pos].Orbit.DotDeltaCrossTrack); 822 802 #endif 823 803 } … … 861 841 G_SSR_UPDATE_INTERVAL(co->UpdateInterval) 862 842 G_MULTIPLE_MESSAGE_INDICATOR(mmi) 863 G_RESERVED5 843 G_SATELLITE_REFERENCE_DATUM(co->SatRefDatum) 844 G_RESERVED4 864 845 G_NO_OF_SATELLITES(nums) 865 846 co->OrbitDataSupplied |= 2; … … 881 862 G_DELTA_DOT_ALONG_TRACK(co->Sat[pos].Orbit.DotDeltaAlongTrack) 882 863 G_DELTA_DOT_CROSS_TRACK(co->Sat[pos].Orbit.DotDeltaCrossTrack) 883 G_DELTA_DOT_DOT_RADIAL(co->Sat[pos].Orbit.DotDotDeltaRadial)884 G_DELTA_DOT_DOT_ALONG_TRACK(co->Sat[pos].Orbit.DotDotDeltaAlongTrack)885 G_DELTA_DOT_DOT_CROSS_TRACK(co->Sat[pos].Orbit.DotDotDeltaCrossTrack)886 G_SATELLITE_REFERENCE_POINT(co->SatRefPoint)887 G_SATELLITE_REFERENCE_DATUM(co->SatRefDatum)888 864 G_DELTA_CLOCK_C0(co->Sat[pos].Clock.DeltaA0) 889 865 G_DELTA_CLOCK_C1(co->Sat[pos].Clock.DeltaA1) … … 908 884 co->Sat[pos].ID = id; 909 885 910 G_SSR_URA(co->Sat[pos].U RA)886 G_SSR_URA(co->Sat[pos].UserRangeAccuracy) 911 887 } 912 888 break; -
trunk/BNC/RTCM3/clock_orbit_rtcm.h
r2363 r2425 6 6 Name: clock_orbit_rtcm.h 7 7 Project: RTCM3 8 Version: $Id: clock_orbit_rtcm.h,v 1.1 3 2010/02/17 10:49:08mervart Exp $8 Version: $Id: clock_orbit_rtcm.h,v 1.14 2010/04/14 13:11:26 mervart Exp $ 9 9 Authors: Dirk Stöcker 10 10 Description: state space approach for RTCM3 … … 14 14 15 15 enum SatelliteReferenceDatum { DATUM_ITRF=0, DATUM_LOCAL=1 }; 16 enum SatelliteReferencePoint { POINT_IONOFREE=0, POINT_CENTER=1 };17 16 enum ClockOrbitType { 18 17 COTYPE_GPSORBIT=1057, COTYPE_GPSCLOCK=1058, … … 46 45 }; 47 46 47 #define SSR_MAXURA 5.5 /* > 5466.5mm in meter */ 48 48 49 /* GLONASS data is stored with offset CLOCKORBIT_NUMGPS in the data structures. 49 50 So first GLONASS satellite is at xxx->Sat[CLOCKORBIT_NUMGPS], first … … 64 65 int epochSize; /* Weber, for latency */ 65 66 int UpdateInterval; 66 enum SatelliteReferencePoint SatRefPoint;67 67 enum SatelliteReferenceDatum SatRefDatum; 68 68 struct SatData { 69 69 int ID; /* GPS or GLONASS */ 70 70 int IOD; /* GPS or GLONASS */ 71 int URA;71 double UserRangeAccuracy; /* accuracy values in [m] */ 72 72 double hrclock; 73 73 struct OrbitPart … … 79 79 double DotDeltaAlongTrack; /* m/s */ 80 80 double DotDeltaCrossTrack; /* m/s */ 81 double DotDotDeltaRadial; /* m/ss */82 double DotDotDeltaAlongTrack; /* m/ss */83 double DotDotDeltaCrossTrack; /* m/ss */84 81 } Orbit; 85 82 struct ClockPart
Note:
See TracChangeset
for help on using the changeset viewer.