Changeset 1238 in ntrip


Ignore:
Timestamp:
Nov 26, 2008, 1:05:37 PM (15 years ago)
Author:
stoecker
Message:

changes by Mr. Weber

Location:
trunk/clock_and_orbit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/clock_and_orbit/clock_orbit_rtcm.c

    r956 r1238  
    33        Name:           clock_orbit_rtcm.c
    44        Project:        RTCM3
    5         Version:        $Id$
     5        Version:        $Id: clock_orbit_rtcm.c,v 1.4 2008/11/16 00:05:02 weber Exp $
    66        Authors:        Dirk Stöcker
    77        Description:    state space approach for RTCM3
     
    8585#define SCALEADDBITS(a, b, c) ADDBITS(a, (int64_t)(b*c))
    8686
     87#if 0
    8788#define DEBUGSCALEADDBITS(n, a, b, c) \
    8889  { \
     
    9596  } \
    9697  SCALEADDBITS(a,b,c)
     98#else
     99#define DEBUGSCALEADDBITS(n, a, b, c) SCALEADDBITS(a,b,c)
     100#endif
    97101
    98102/* standard values */
     
    491495    if(!co) return GCOBR_NOCLOCKORBITPARAMETER;
    492496    G_GPS_EPOCH_TIME(co->GPSEpochTime, co->NumberOfGPSSat)
     497    co->epochGPS[co->epochSize] = co->GPSEpochTime;   /* Weber, for latency */
     498    if(co->epochSize < 100) {co->epochSize += 1;}     /* Weber, for latency */
    493499    G_MULTIPLE_MESSAGE_INDICATOR(mmi)
    494500    G_RESERVED6
     
    517523    if(!co) return GCOBR_NOCLOCKORBITPARAMETER;
    518524    G_GPS_EPOCH_TIME(co->GPSEpochTime, co->NumberOfGPSSat)
     525    co->epochGPS[co->epochSize] = co->GPSEpochTime;   /* Weber, for latency */
     526    if(co->epochSize < 100) {co->epochSize += 1;}     /* Weber, for latency */
    519527    G_MULTIPLE_MESSAGE_INDICATOR(mmi)
    520528    G_RESERVED6
     
    535543    if(!co) return -5;
    536544    G_GPS_EPOCH_TIME(co->GPSEpochTime, co->NumberOfGPSSat)
     545    co->epochGPS[co->epochSize] = co->GPSEpochTime;   /* Weber, for latency */
     546    if(co->epochSize < 100) {co->epochSize += 1;}     /* Weber, for latency */
    537547    G_MULTIPLE_MESSAGE_INDICATOR(mmi)
    538548    G_RESERVED6
  • trunk/clock_and_orbit/clock_orbit_rtcm.h

    r956 r1238  
    66        Name:           clock_orbit_rtcm.h
    77        Project:        RTCM3
    8         Version:        $Id$
     8        Version:        $Id: clock_orbit_rtcm.h,v 1.3 2008/11/16 00:05:32 weber Exp $
    99        Authors:        Dirk Stöcker
    1010        Description:    state space approach for RTCM3
     
    5252  int ClockDataSupplied;            /* boolean */
    5353  int OrbitDataSupplied;            /* boolean */
     54  int epochGPS[101];                /* Weber, for latency */
     55  int epochSize;                    /* Weber, for latency */
    5456  enum SatelliteReferencePoint SatRefPoint;
    5557  enum SatelliteReferenceDatum SatRefDatum;
Note: See TracChangeset for help on using the changeset viewer.