Changeset 1864 in ntrip for trunk/BNS/RTCM
- Timestamp:
- Jul 6, 2009, 7:42:44 AM (16 years ago)
- Location:
- trunk/BNS/RTCM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/RTCM/clock_orbit_rtcm.c
r1843 r1864 3 3 Name: clock_orbit_rtcm.c 4 4 Project: RTCM3 5 Version: $Id: clock_orbit_rtcm.c,v 1.1 5 2009/05/14 13:24:13 stoeckerExp $5 Version: $Id: clock_orbit_rtcm.c,v 1.16 2009/06/29 15:58:56 mervart Exp $ 6 6 Authors: Dirk Stöcker 7 7 Description: state space approach for RTCM3 … … 600 600 case COTYPE_GPSORBIT: 601 601 if(!co) return GCOBR_NOCLOCKORBITPARAMETER; 602 co->messageType = COTYPE_GPSORBIT; 602 603 G_GPS_EPOCH_TIME(co->GPSEpochTime, co->NumberOfGPSSat) 603 604 co->epochGPS[co->epochSize] = co->GPSEpochTime; /* Weber, for latency */ … … 650 651 case COTYPE_GPSCLOCK: 651 652 if(!co) return GCOBR_NOCLOCKORBITPARAMETER; 653 co->messageType = COTYPE_GPSCLOCK; 652 654 G_GPS_EPOCH_TIME(co->GPSEpochTime, co->NumberOfGPSSat) 653 655 co->epochGPS[co->epochSize] = co->GPSEpochTime; /* Weber, for latency */ … … 683 685 case COTYPE_GPSCOMBINED: 684 686 if(!co) return -5; 687 co->messageType = COTYPE_GPSCOMBINED; 685 688 G_GPS_EPOCH_TIME(co->GPSEpochTime, co->NumberOfGPSSat) 686 689 co->epochGPS[co->epochSize] = co->GPSEpochTime; /* Weber, for latency */ … … 720 723 case COTYPE_GPSURA: 721 724 if(!co) return GCOBR_NOCLOCKORBITPARAMETER; 725 co->messageType = COTYPE_GPSURA; 722 726 G_GPS_EPOCH_TIME(co->GPSEpochTime, co->NumberOfGPSSat) 723 727 co->epochGPS[co->epochSize] = co->GPSEpochTime; /* Weber, for latency */ … … 741 745 case COTYPE_GPSHR: 742 746 if(!co) return GCOBR_NOCLOCKORBITPARAMETER; 747 co->messageType = COTYPE_GPSHR; 743 748 G_GPS_EPOCH_TIME(co->GPSEpochTime, co->NumberOfGPSSat) 744 749 co->epochGPS[co->epochSize] = co->GPSEpochTime; /* Weber, for latency */ … … 763 768 case COTYPE_GLONASSORBIT: 764 769 if(!co) return GCOBR_NOCLOCKORBITPARAMETER; 770 co->messageType = COTYPE_GLONASSORBIT; 765 771 G_GLONASS_EPOCH_TIME(co->GLONASSEpochTime, co->NumberOfGLONASSSat) 766 772 G_SSR_UPDATE_INTERVAL(co->UpdateInterval) … … 811 817 case COTYPE_GLONASSCLOCK: 812 818 if(!co) return GCOBR_NOCLOCKORBITPARAMETER; 819 co->messageType = COTYPE_GLONASSCLOCK; 813 820 G_GLONASS_EPOCH_TIME(co->GLONASSEpochTime, co->NumberOfGLONASSSat) 814 821 G_SSR_UPDATE_INTERVAL(co->UpdateInterval) … … 842 849 case COTYPE_GLONASSCOMBINED: 843 850 if(!co) return GCOBR_NOCLOCKORBITPARAMETER; 851 co->messageType = COTYPE_GLONASSCOMBINED; 844 852 G_GLONASS_EPOCH_TIME(co->GLONASSEpochTime, co->NumberOfGLONASSSat) 845 853 G_SSR_UPDATE_INTERVAL(co->UpdateInterval) … … 877 885 case COTYPE_GLONASSURA: 878 886 if(!co) return GCOBR_NOCLOCKORBITPARAMETER; 887 co->messageType = COTYPE_GLONASSURA; 879 888 G_GLONASS_EPOCH_TIME(co->GLONASSEpochTime, co->NumberOfGLONASSSat) 880 889 G_MULTIPLE_MESSAGE_INDICATOR(mmi) … … 896 905 case COTYPE_GLONASSHR: 897 906 if(!co) return GCOBR_NOCLOCKORBITPARAMETER; 907 co->messageType = COTYPE_GLONASSHR; 898 908 G_GLONASS_EPOCH_TIME(co->GLONASSEpochTime, co->NumberOfGLONASSSat) 899 909 G_SSR_UPDATE_INTERVAL(co->UpdateInterval) … … 916 926 case BTYPE_GPS: 917 927 if(!b) return GCOBR_NOBIASPARAMETER; 928 b->messageType = BTYPE_GPS; 918 929 G_GPS_EPOCH_TIME(b->GPSEpochTime, b->NumberOfGPSSat) 919 930 G_SSR_UPDATE_INTERVAL(b->UpdateInterval) … … 940 951 case BTYPE_GLONASS: 941 952 if(!b) return GCOBR_NOBIASPARAMETER; 953 b->messageType = BTYPE_GLONASS; 942 954 G_GLONASS_EPOCH_TIME(b->GLONASSEpochTime, b->NumberOfGLONASSSat) 943 955 G_SSR_UPDATE_INTERVAL(b->UpdateInterval) -
trunk/BNS/RTCM/clock_orbit_rtcm.h
r1843 r1864 6 6 Name: clock_orbit_rtcm.h 7 7 Project: RTCM3 8 Version: $Id: clock_orbit_rtcm.h,v 1.1 1 2009/05/14 13:24:13 stoeckerExp $8 Version: $Id: clock_orbit_rtcm.h,v 1.12 2009/06/29 15:58:56 mervart Exp $ 9 9 Authors: Dirk Stöcker 10 10 Description: state space approach for RTCM3 … … 50 50 struct ClockOrbit 51 51 { 52 enum ClockOrbitType messageType; 52 53 int GPSEpochTime; /* 0 .. 604799 s */ 53 54 int GLONASSEpochTime; /* 0 .. 86399 s (86400 for leap second) */ … … 91 92 struct Bias 92 93 { 94 enum BiasType messageType; 93 95 int GPSEpochTime; /* 0 .. 604799 s */ 94 96 int GLONASSEpochTime; /* 0 .. 86399 s (86400 for leap second) */
Note:
See TracChangeset
for help on using the changeset viewer.