Changeset 1130 in ntrip for trunk/BNC/RTCM3


Ignore:
Timestamp:
Sep 22, 2008, 11:39:58 AM (16 years ago)
Author:
weber
Message:

* empty log message *

Location:
trunk/BNC/RTCM3
Files:
3 edited

Legend:

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

    r1127 r1130  
    227227        }
    228228        _Parser.typeSize = 0;
     229
     230        // Antenna XYZ-H
     231        // -------------
     232        for (int kk = 0; kk < _Parser.antSize; kk += 4) {
     233          _antList.push_back(_Parser.antList[kk + 0]);
     234          _antList.push_back(_Parser.antList[kk + 1]);
     235          _antList.push_back(_Parser.antList[kk + 2]);
     236          _antList.push_back(_Parser.antList[kk + 3]);
     237        }
     238        _Parser.antSize = 0;
    229239   
    230240        while(int rr = RTCM3Parser(&_Parser)) {
  • trunk/BNC/RTCM3/rtcm3torinex.c

    r1096 r1130  
    11/*
    22  Converter for RTCM3 data to RINEX.
    3   $Id: rtcm3torinex.c,v 1.32 2008/09/02 07:45:48 stoecker Exp $
     3  $Id: rtcm3torinex.c,v 1.16 2008/09/02 14:14:33 weber Exp $
    44  Copyright (C) 2005-2008 by Dirk Stöcker <stoecker@alberding.eu>
    55
     
    5151
    5252/* CVS revision and version */
    53 static char revisionstr[] = "$Revision: 1.32 $";
     53static char revisionstr[] = "$Revision: 1.16 $";
    5454
    5555#ifndef COMPILEDATE
     
    289289    switch(type)
    290290    {
     291#ifdef NO_RTCM3_MAIN
     292    double antX, antY, antZ, antH; /* Antenna XYZ-H */
     293    case 1006:
     294      {
     295        SKIPBITS(22);
     296        GETBITSSIGN(antX, 38); SKIPBITS(2);
     297        GETBITSSIGN(antY, 38); SKIPBITS(2);
     298        GETBITSSIGN(antZ, 38);
     299        GETBITS(    antH, 16);
     300        handle->antList[handle->antSize + 0] = antX;
     301        handle->antList[handle->antSize + 1] = antY;
     302        handle->antList[handle->antSize + 2] = antZ;
     303        handle->antList[handle->antSize + 3] = antH;
     304        if(handle->antSize < 100 - 6 ) {handle->antSize += 4;}
     305      }
     306      break;
     307#endif /* NO_RTCM3_MAIN */
    291308    case 1019:
    292309      {
     
    16221639
    16231640#ifndef NO_RTCM3_MAIN
    1624 static char datestr[]     = "$Date: 2008/09/02 07:45:48 $";
     1641static char datestr[]     = "$Date: 2008/09/02 14:14:33 $";
    16251642
    16261643/* The string, which is send as agent in HTTP request */
  • trunk/BNC/RTCM3/rtcm3torinex.h

    r1096 r1130  
    44/*
    55  Converter for RTCM3 data to RINEX.
    6   $Id: rtcm3torinex.h,v 1.8 2008/09/02 07:45:48 stoecker Exp $
     6  $Id: rtcm3torinex.h,v 1.12 2008/09/02 14:14:40 weber Exp $
    77  Copyright (C) 2005-2006 by Dirk Stöcker <stoecker@alberding.eu>
    88
     
    197197  int    typeSize;       /* RTCM message types */
    198198  int    typeList[101];  /* RTCM message types */
     199  int    antSize;       /* Antenna XYZ-H */
     200  double antList[101];  /* Antenna XYZ-H */
    199201#endif /* NO_RTCM3_MAIN */
    200202  int    datapos[RINEXENTRY_NUMBER];
Note: See TracChangeset for help on using the changeset viewer.