Changeset 1184 in ntrip for trunk/BNC/bncgetthread.cpp
- Timestamp:
- Nov 10, 2008, 7:01:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r1168 r1184 737 737 bool dump = true; 738 738 739 740 739 RTCM2Decoder* decoder2 = dynamic_cast<RTCM2Decoder*>(_decoder); 740 if ( decoder2 && !_rnx_set_position ) { 741 741 double stax, stay, staz; 742 742 double dL1[3], dL2[3]; … … 796 796 if ( _checkMountPoint == _staID || _checkMountPoint == "ALL" ) { 797 797 798 // RTCM message types799 // ------------------ 798 // RTCMv3 message types 799 // -------------------- 800 800 if (0<_decoder->_typeList.size()) { 801 801 QString type; … … 807 807 _decoder->_typeList.clear(); 808 808 809 // Antenna XYZ & H 810 // --------------- 811 if (0<_decoder->_antList.size()) { 809 // RTCMv3 antenna descriptor 810 // ------------------------- 811 if (0<_decoder->_antType.size()) { 812 QString ant1; 813 for (int ii=0;ii<_decoder->_antType.size();ii++) { 814 ant1 = QString("%1 ").arg(_decoder->_antType[ii]); 815 emit(newMessage(_staID + ": Antenna descriptor " + ant1.toAscii() )); 816 } 817 } 818 _decoder->_antType.clear(); 819 820 // RTCMv3 antenna XYZ 821 // ------------------ 822 if (0<_decoder->_antList5.size()) { 823 QString ant1,ant2,ant3; 824 for (int ii=0;ii<_decoder->_antList5.size();ii+=3) { 825 ant1 = QString("%1 ").arg(_decoder->_antList5[ii+0]*0.0001,0,'f',4); 826 ant2 = QString("%1 ").arg(_decoder->_antList5[ii+1]*0.0001,0,'f',4); 827 ant3 = QString("%1 ").arg(_decoder->_antList5[ii+2]*0.0001,0,'f',4); 828 emit(newMessage(_staID + ": ARP (ITRF) X " + ant1.toAscii() + "m" )); 829 emit(newMessage(_staID + ": ARP (ITRF) Y " + ant2.toAscii() + "m")); 830 emit(newMessage(_staID + ": ARP (ITRF) Z " + ant3.toAscii() + "m")); 831 } 832 } 833 _decoder->_antList5.clear(); 834 835 // RTCMv3 antenna XYZ-H 836 // -------------------- 837 if (0<_decoder->_antList6.size()) { 812 838 QString ant1,ant2,ant3,ant4; 813 for (int ii=0;ii<_decoder->_antList .size();ii+=4) {814 ant1 = QString("%1 ").arg(_decoder->_antList [ii+0]*0.0001,0,'f',4);815 ant2 = QString("%1 ").arg(_decoder->_antList [ii+1]*0.0001,0,'f',4);816 ant3 = QString("%1 ").arg(_decoder->_antList [ii+2]*0.0001,0,'f',4);817 ant4 = QString("%1 ").arg(_decoder->_antList [ii+3]*0.0001,0,'f',4);839 for (int ii=0;ii<_decoder->_antList6.size();ii+=4) { 840 ant1 = QString("%1 ").arg(_decoder->_antList6[ii+0]*0.0001,0,'f',4); 841 ant2 = QString("%1 ").arg(_decoder->_antList6[ii+1]*0.0001,0,'f',4); 842 ant3 = QString("%1 ").arg(_decoder->_antList6[ii+2]*0.0001,0,'f',4); 843 ant4 = QString("%1 ").arg(_decoder->_antList6[ii+3]*0.0001,0,'f',4); 818 844 emit(newMessage(_staID + ": ARP (ITRF) X " + ant1.toAscii() + "m" )); 819 845 emit(newMessage(_staID + ": ARP (ITRF) Y " + ant2.toAscii() + "m")); … … 822 848 } 823 849 } 824 _decoder->_antList .clear();850 _decoder->_antList6.clear(); 825 851 } 826 852 }
Note:
See TracChangeset
for help on using the changeset viewer.