Changeset 1838 in ntrip for trunk/BNS


Ignore:
Timestamp:
May 8, 2009, 1:23:00 PM (15 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bns.cpp

    r1803 r1838  
    2424#include "bnssp3.h"
    2525#include "bnssettings.h"
     26extern "C" {
     27#include "RTCM/rtcm3torinex.h"
     28}
    2629
    2730using namespace std;
     31
     32// Error Handling
     33////////////////////////////////////////////////////////////////////////////
     34void RTCM3Error(const char*, ...) {
     35}
    2836
    2937// Constructor
     
    381389        memset(&co, 0, sizeof(co));
    382390        co.GPSEpochTime      = (int)GPSweeks;
    383         co.GLONASSEpochTime  = (int)fmod(GPSweeks, 86400.0);
     391        co.GLONASSEpochTime  = (int)fmod(GPSweeks, 86400.0)
     392                             + 3 * 3600 - gnumleap(year, month, day);
    384393        co.ClockDataSupplied = 1;
    385394        co.OrbitDataSupplied = 1;
  • trunk/BNS/bns.pro

    r1823 r1838  
    55#CONFIG += debug
    66
     7DEFINES += NO_RTCM3_MAIN
    78RESOURCES += bns.qrc
    89
     
    3233          bnseph.h    bnsutils.h bnsrinex.h bnssp3.h bnsoutf.h        \
    3334          bnscaster.h RTCM/clock_orbit_rtcm.h bnssettings.h bnsapp.h  \
    34           bnscustomtrafo.h
     35          bnscustomtrafo.h RTCM/rtcm3torinex.h
    3536
    3637HEADERS += newmat/controlw.h newmat/include.h newmat/myexcept.h  \
     
    4142          bnseph.cpp  bnsutils.cpp bnsrinex.cpp bnssp3.cpp bnsoutf.cpp \
    4243          bnscaster.cpp bnssettings.cpp bnsapp.cpp bnscustomtrafo.cpp  \
    43           RTCM/clock_orbit_rtcm.c
     44          RTCM/clock_orbit_rtcm.c RTCM/rtcm3torinex.c
    4445
    4546SOURCES += newmat/bandmat.cpp newmat/cholesky.cpp newmat/evalue.cpp  \
Note: See TracChangeset for help on using the changeset viewer.