Changeset 1130 in ntrip
- Timestamp:
- Sep 22, 2008, 11:39:58 AM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM/GPSDecoder.h
r1044 r1130 135 135 QList<p_obs> _obsList; 136 136 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 138 139 }; 139 140 -
trunk/BNC/RTCM3/RTCM3Decoder.cpp
r1127 r1130 227 227 } 228 228 _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; 229 239 230 240 while(int rr = RTCM3Parser(&_Parser)) { -
trunk/BNC/RTCM3/rtcm3torinex.c
r1096 r1130 1 1 /* 2 2 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 $ 4 4 Copyright (C) 2005-2008 by Dirk Stöcker <stoecker@alberding.eu> 5 5 … … 51 51 52 52 /* CVS revision and version */ 53 static char revisionstr[] = "$Revision: 1. 32$";53 static char revisionstr[] = "$Revision: 1.16 $"; 54 54 55 55 #ifndef COMPILEDATE … … 289 289 switch(type) 290 290 { 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 */ 291 308 case 1019: 292 309 { … … 1622 1639 1623 1640 #ifndef NO_RTCM3_MAIN 1624 static char datestr[] = "$Date: 2008/09/02 07:45:48$";1641 static char datestr[] = "$Date: 2008/09/02 14:14:33 $"; 1625 1642 1626 1643 /* The string, which is send as agent in HTTP request */ -
trunk/BNC/RTCM3/rtcm3torinex.h
r1096 r1130 4 4 /* 5 5 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 $ 7 7 Copyright (C) 2005-2006 by Dirk Stöcker <stoecker@alberding.eu> 8 8 … … 197 197 int typeSize; /* RTCM message types */ 198 198 int typeList[101]; /* RTCM message types */ 199 int antSize; /* Antenna XYZ-H */ 200 double antList[101]; /* Antenna XYZ-H */ 199 201 #endif /* NO_RTCM3_MAIN */ 200 202 int datapos[RINEXENTRY_NUMBER]; -
trunk/BNC/bncgetthread.cpp
r1052 r1130 687 687 _decoder->_obsList.clear(); 688 688 689 // RTCM message types690 // ------------------691 689 if ( _checkMountPoint == _staID || _checkMountPoint == "ALL" ) { 690 691 // RTCM message types 692 // ------------------ 692 693 if (0<_decoder->_typeList.size()) { 693 694 QString type; 694 695 for (int ii=0;ii<_decoder->_typeList.size();ii++) { 695 696 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() )); 699 698 } 700 699 } 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 } 703 719 } 704 720 -
trunk/BNC/bnchelp.html
r1120 r1130 581 581 <p><a name="messtypes"><h4>3.10. RTCM Scan</h4></p> 582 582 <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.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 printout some of the contained meta-data. The idea for this option arose from 'InspectRTCM', a comprehensive stream analyzing tool written by D. Stoecker. 584 584 </p> 585 585 -
trunk/BNC/bncwindow.cpp
r1103 r1130 329 329 _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.")); 330 330 _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>")); 332 332 333 333 // Canvas with Editable Fields … … 352 352 aogroup->addTab(cgroup,tr("Ephemeris Corrections")); 353 353 aogroup->addTab(agroup,tr("Monitor")); 354 aogroup->addTab(rgroup,tr("RTCM Message Types"));354 aogroup->addTab(rgroup,tr("RTCM Scan")); 355 355 356 356 QGridLayout* pLayout = new QGridLayout; … … 428 428 rLayout->addWidget(new QLabel("Mountpoint"),0,0, Qt::AlignLeft); 429 429 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); 431 431 rLayout->addWidget(new QLabel(" "),2,0); 432 432 rLayout->addWidget(new QLabel(" "),3,0);
Note:
See TracChangeset
for help on using the changeset viewer.