Changeset 1130 in ntrip for trunk


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

* empty log message *

Location:
trunk/BNC
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM/GPSDecoder.h

    r1044 r1130  
    135135  QList<p_obs> _obsList;
    136136  QList<int> _typeList; // RTCM message types
    137   QList<int> _epochList; // RTCM message types
     137  QList<int> _epochList; // Broadcast corrections
     138  QList<double> _antList; // Antenna XYZ-H
    138139};
    139140
  • 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];
  • trunk/BNC/bncgetthread.cpp

    r1052 r1130  
    687687        _decoder->_obsList.clear();
    688688
    689         // RTCM message types
    690         // ------------------
    691689        if ( _checkMountPoint == _staID || _checkMountPoint == "ALL" ) {
     690
     691          // RTCM message types
     692          // ------------------
    692693          if (0<_decoder->_typeList.size()) {
    693694            QString type;
    694695            for (int ii=0;ii<_decoder->_typeList.size();ii++) {
    695696              type =  QString("%1 ").arg(_decoder->_typeList[ii]);
    696               if (type != "") {
    697                 emit(newMessage(_staID + ": Received message type " + type.toAscii() ));
    698               }
     697              emit(newMessage(_staID + ": Received message type " + type.toAscii() ));
    699698            }
    700699          }
    701         }
    702         _decoder->_typeList.clear();
     700          _decoder->_typeList.clear();
     701
     702          // Antenna XYZ & H
     703          // ---------------
     704          if (0<_decoder->_antList.size()) {
     705            QString ant1,ant2,ant3,ant4;
     706            for (int ii=0;ii<_decoder->_antList.size();ii+=4) {
     707              ant1 =  QString("%1 ").arg(_decoder->_antList[ii+0]*0.0001,0,'f',4);
     708              ant2 =  QString("%1 ").arg(_decoder->_antList[ii+1]*0.0001,0,'f',4);
     709              ant3 =  QString("%1 ").arg(_decoder->_antList[ii+2]*0.0001,0,'f',4);
     710              ant4 =  QString("%1 ").arg(_decoder->_antList[ii+3]*0.0001,0,'f',4);
     711              emit(newMessage(_staID + ": ARP (ITRF) X " + ant1.toAscii() + "m" ));
     712              emit(newMessage(_staID + ": ARP (ITRF) Y " + ant2.toAscii() + "m"));
     713              emit(newMessage(_staID + ": ARP (ITRF) Z " + ant3.toAscii() + "m"));
     714              emit(newMessage(_staID + ": Antenna height "  + ant4.toAscii() + "m"));
     715            }
     716          }
     717          _decoder->_antList.clear();
     718        }
    703719      }
    704720
  • trunk/BNC/bnchelp.html

    r1120 r1130  
    581581<p><a name="messtypes"><h4>3.10. RTCM Scan</h4></p>
    582582<p>
    583 When configuring a GNSS receiver for RTCM stream generation, the setup interface may not provide details about RTCM message types. As reliable information concerning stream contents should be available i.e. for NTRIP broadcaster operators to maintain the broadcaster's sourcetable, BNC allows to scan RTCM Version 3.x streams for incoming message types and their repetition rates. The idea for this option arose from 'InspectRTCM', a comprehensive stream analyzing tool written by D. Stoecker.
     583When configuring a GNSS receiver for RTCM stream generation, the setup interface may not provide details about RTCM message types. As reliable information concerning stream contents should be available i.e. for NTRIP broadcaster operators to maintain the broadcaster's sourcetable, BNC allows to scan RTCM Version 3.x streams for incoming message types and printout some of the contained meta-data. The idea for this option arose from 'InspectRTCM', a comprehensive stream analyzing tool written by D. Stoecker.
    584584</p>
    585585
  • trunk/BNC/bncwindow.cpp

    r1103 r1130  
    329329  _ephV3CheckBox->setWhatsThis(tr("The default format for RINEX Navigation files containing Broadcast Ephemeris is RINEX Version 2.11. Select 'Version 3' if you want to save the ephemeris in RINEX Version 3 format."));
    330330  _rnxV3CheckBox->setWhatsThis(tr("The default format for RINEX Observation files is RINEX Version 2.11. Select 'Version 3' if you want to save the observations in RINEX Version 3 format."));
    331   _messTypesLineEdit->setWhatsThis(tr("<p>Specify the mountpoint of an RTCM Version 3.x stream to log the numbers of incoming message types.</p><p>An empty option field (default) means that you don't want BNC to print the message type numbers carried in a specific stream.</p>"));
     331  _messTypesLineEdit->setWhatsThis(tr("<p>Specify the mountpoint of an RTCM Version 3.x stream to log the numbers of incoming message types as well as contained antenna coordinates and antenna hight.</p><p>An empty option field (default) means that you don't want BNC to log such information.</p>"));
    332332
    333333  // Canvas with Editable Fields
     
    352352  aogroup->addTab(cgroup,tr("Ephemeris Corrections"));
    353353  aogroup->addTab(agroup,tr("Monitor"));
    354   aogroup->addTab(rgroup,tr("RTCM Message Types"));
     354  aogroup->addTab(rgroup,tr("RTCM Scan"));
    355355
    356356  QGridLayout* pLayout = new QGridLayout;
     
    428428  rLayout->addWidget(new QLabel("Mountpoint"),0,0, Qt::AlignLeft);
    429429  rLayout->addWidget(_messTypesLineEdit,0,1,1,15,Qt::AlignLeft);
    430   rLayout->addWidget(new QLabel("Log numbers of message types in RTCM Version 3.x stream."),1, 0, 1, 4, Qt::AlignLeft);
     430  rLayout->addWidget(new QLabel("Scan RTCM Version 3.x stream to log numbers of message types and antenna information."),1, 0, 1, 4, Qt::AlignLeft);
    431431  rLayout->addWidget(new QLabel("    "),2,0);
    432432  rLayout->addWidget(new QLabel("    "),3,0);
Note: See TracChangeset for help on using the changeset viewer.