Changeset 1566 in ntrip for trunk/BNC/RTCM3


Ignore:
Timestamp:
Feb 4, 2009, 9:19:20 AM (15 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC/RTCM3
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM3/RTCM3Decoder.h

    r1562 r1566  
    4141  virtual ~RTCM3Decoder();
    4242  virtual t_irc Decode(char* buffer, int bufLen, std::vector<std::string>& errmsg);
    43   virtual QList<int>* epochList() {
    44     return (_coDecoder ? &(_coDecoder->_epochList) : 0);
     43  int corrGPSEpochTime() const {
     44    return (_coDecoder ? _coDecoder->GPSEpochTime() : -1);
    4545  }
    4646 signals:
  • trunk/BNC/RTCM3/RTCM3coDecoder.cpp

    r1535 r1566  
    142142      double GPSweeks;
    143143      currentGPSWeeks(GPSweek, GPSweeks);
    144 
    145       for (int kk = 0; kk < _co.epochSize; kk++) {
    146         _epochList.push_back(_co.epochGPS[kk]);     /* Weber, for latency */
    147       }
    148 
    149144      if (_co.NumberOfGPSSat > 0) {
    150145        if      (GPSweeks > _co.GPSEpochTime + 86400.0) {
  • trunk/BNC/RTCM3/RTCM3coDecoder.h

    r1562 r1566  
    4343  virtual ~RTCM3coDecoder();
    4444  virtual t_irc Decode(char* buffer, int bufLen, std::vector<std::string>& errmsg);
    45   virtual QList<int>* epochList() {return &_epochList;}
    46   QList<int>     _epochList;
     45  int GPSEpochTime() const {return _co.GPSEpochTime;}
    4746
    4847 signals:
  • trunk/BNC/RTCM3/clock_orbit_rtcm.c

    r1305 r1566  
    33        Name:           clock_orbit_rtcm.c
    44        Project:        RTCM3
    5         Version:        $Id: clock_orbit_rtcm.c,v 1.4.2.3 2008/12/19 09:29:13 mervart Exp $
     5        Version:        $Id: clock_orbit_rtcm.c,v 1.5 2008/12/19 10:16:59 mervart Exp $
    66        Authors:        Dirk Stöcker
    77        Description:    state space approach for RTCM3
     
    502502    if(!co) return GCOBR_NOCLOCKORBITPARAMETER;
    503503    G_GPS_EPOCH_TIME(co->GPSEpochTime, co->NumberOfGPSSat)
    504     co->epochGPS[co->epochSize] = co->GPSEpochTime;   /* Weber, for latency */
    505     if(co->epochSize < 100) {co->epochSize += 1;}     /* Weber, for latency */
    506504    G_MULTIPLE_MESSAGE_INDICATOR(mmi)
    507505    G_RESERVED6
     
    530528    if(!co) return GCOBR_NOCLOCKORBITPARAMETER;
    531529    G_GPS_EPOCH_TIME(co->GPSEpochTime, co->NumberOfGPSSat)
    532     co->epochGPS[co->epochSize] = co->GPSEpochTime;   /* Weber, for latency */
    533     if(co->epochSize < 100) {co->epochSize += 1;}     /* Weber, for latency */
    534530    G_MULTIPLE_MESSAGE_INDICATOR(mmi)
    535531    G_RESERVED6
     
    550546    if(!co) return -5;
    551547    G_GPS_EPOCH_TIME(co->GPSEpochTime, co->NumberOfGPSSat)
    552     co->epochGPS[co->epochSize] = co->GPSEpochTime;   /* Weber, for latency */
    553     if(co->epochSize < 100) {co->epochSize += 1;}     /* Weber, for latency */
    554548    G_MULTIPLE_MESSAGE_INDICATOR(mmi)
    555549    G_RESERVED6
  • trunk/BNC/RTCM3/clock_orbit_rtcm.h

    r1035 r1566  
    66        Name:           clock_orbit_rtcm.h
    77        Project:        RTCM3
    8         Version:        $Id: clock_orbit_rtcm.h,v 1.2 2008/05/06 15:07:41 mervart Exp $
     8        Version:        $Id: clock_orbit_rtcm.h,v 1.3 2008/08/15 16:29:19 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 */
    5654  enum SatelliteReferencePoint SatRefPoint;
    5755  enum SatelliteReferenceDatum SatRefDatum;
Note: See TracChangeset for help on using the changeset viewer.