Changeset 73 in ntrip
- Timestamp:
- Aug 27, 2006, 8:40:06 AM (18 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM/m_date.h
r35 r73 1 1 // -*- C++ -*- 2 2 // 3 // $Id: m_date.h,v 1.1.1.1 2006/0 1/11 09:34:31mervart Exp $3 // $Id: m_date.h,v 1.1.1.1 2006/05/30 11:05:27 mervart Exp $ 4 4 // 5 5 … … 175 175 return tms.tm_mon+1; 176 176 } 177 const staticchar *_monthNames[];177 static const char *_monthNames[]; 178 178 const char *monthStr(); 179 179 -
trunk/BNC/RTIGS/rtigs.cpp
r70 r73 77 77 short numObs = _GPSTrans.Decode_RTIGS_Obs(p_buf, numbytes, rtigs_obs); 78 78 79 //// if (numObs > 0) {80 //// _GPSTrans.print_CMEAS();81 //// }82 83 79 for (short ii = 0; ii < numObs; ii++) { 84 80 Observation* obs = new Observation(); 85 81 86 //// obs->statID =87 82 obs->SVPRN = _GPSTrans.DecObs.Obs[ii].sat_prn; 88 83 obs->GPSWeek = _GPSTrans.DecObs.Obs[ii].GPSTime / (7 * 86400); 89 84 obs->GPSWeeks = _GPSTrans.DecObs.Obs[ii].GPSTime % (7 * 86400); 90 85 obs->sec = _GPSTrans.DecObs.Obs[ii].GPSTime % 3600; 91 obs->C1 = _GPSTrans.DecObs.Obs[ii].l1_pseudo_range; 92 //// obs->P1 = _GPSTrans.DecObs.Obs[ii].p1_pseudo_range; 86 //// obs->C1 = _GPSTrans.DecObs.Obs[ii].l1_pseudo_range; 87 obs->C1 = _GPSTrans.DecObs.Obs[ii].p1_pseudo_range; 88 obs->pCodeIndicator = 1; 93 89 obs->P2 = _GPSTrans.DecObs.Obs[ii].p2_pseudo_range; 94 90 obs->L1 = _GPSTrans.DecObs.Obs[ii].p1_phase; … … 96 92 obs->SNR1 = (short) _GPSTrans.DecObs.Obs[ii].l1_sn * 10; 97 93 obs->SNR2 = (short) _GPSTrans.DecObs.Obs[ii].l2_sn * 10; 98 //// obs->pCodeIndicator = 99 //// obs->cumuLossOfCont = 94 obs->cumuLossOfCont = 0; 100 95 101 96 m_lObsList.push_back(obs); -
trunk/BNC/bnc.pro
r65 r73 1 1 2 2 HEADERS = bncgetthread.h bncwindow.h bnctabledlg.h \ 3 bnccaster.h 3 bnccaster.h bncrinex.h \ 4 4 RTCM/format.h RTCM/GPSDecoder.h RTCM/m_data.h RTCM/RTCM.h \ 5 5 RTCM3/rtcm3.h RTCM3/rtcm3torinex.h \ … … 9 9 10 10 SOURCES = bncmain.cpp bncgetthread.cpp bncwindow.cpp bnctabledlg.cpp \ 11 bnccaster.cpp 11 bnccaster.cpp bncrinex.cpp \ 12 12 RTCM/m_date.cpp RTCM/RTCM.cpp \ 13 13 RTCM3/rtcm3.cpp RTCM3/rtcm3torinex.cpp \ -
trunk/BNC/bnccaster.cpp
r35 r73 183 183 } 184 184 185 // Prepare RINEX Output 186 // -------------------- 187 if (1) { 188 if (_rinexWriters.find(obs->StatID) == _rinexWriters.end()) { 189 _rinexWriters.insert(obs->StatID, new bncRinex(obs->StatID)); 190 } 191 bncRinex* rnx = _rinexWriters.find(obs->StatID).value(); 192 rnx->deepCopy(obs); 193 } 194 185 195 delete obs; 186 196 _epochs->remove(sec); 187 197 first = false; 188 198 } 189 } 190 } 199 200 // Write RINEX Files 201 // ----------------- 202 QMapIterator<QString, bncRinex*> ir(_rinexWriters); 203 while (ir.hasNext()) { 204 bncRinex* rnx = ir.next().value(); 205 rnx->dumpEpoch(); 206 } 207 } 208 } -
trunk/BNC/bnccaster.h
r35 r73 9 9 10 10 #include "RTCM/GPSDecoder.h" 11 #include "bncrinex.h" 11 12 12 13 class bncGetThread; … … 44 45 QList<QTcpSocket*>* _sockets; 45 46 QList<QByteArray> _mountPoints; 47 QMap<QString, bncRinex*> _rinexWriters; 46 48 }; 47 49
Note:
See TracChangeset
for help on using the changeset viewer.