Changeset 10692 in ntrip for trunk/BNC/src/RTCM
- Timestamp:
- Jul 8, 2025, 10:07:50 AM (7 months ago)
- File:
-
- 1 edited
-
trunk/BNC/src/RTCM/RTCM2Decoder.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM/RTCM2Decoder.cpp
r10688 r10692 118 118 } 119 119 120 // Store message number 120 // Store _message number 121 121 _typeList.push_back(t_typeInfo()); 122 _typeList.back().type = _PP.ID(); 122 _typeList.back()._type = _PP.ID(); 123 123 //_typeList.back().size = 0; 124 124 … … 210 210 _antList.push_back(t_antRefPoint()); 211 211 212 this->getStaCrd(_antList.back().xx, _antList.back().yy, _antList.back().zz); 213 214 _antList.back().type = t_antRefPoint::APC; 215 _antList.back().message = _PP.ID(); 212 this->getStaCrd(_antList.back()._xx, _antList.back()._yy, _antList.back()._zz); 213 214 _antList.back()._type = t_antRefPoint::APC; 215 _antList.back()._message = _PP.ID(); 216 216 } 217 217 } else if (_PP.ID() == 23) { … … 220 220 int serlen = strlen(_msg23.antSN.c_str()); 221 221 if ((antlen) && 222 (_antType.empty() || strncmp(_antType.back().descriptor, _msg23.antType.c_str(), antlen) != 0)) { 222 (_antType.empty() || strncmp(_antType.back()._descriptor, _msg23.antType.c_str(), antlen) != 0)) { 223 223 _antType.push_back(t_antInfo()); 224 memcpy(_antType.back().descriptor, _msg23.antType.c_str(), antlen); 225 _antType.back().descriptor[antlen] = 0; 224 memcpy(_antType.back()._descriptor, _msg23.antType.c_str(), antlen); 225 _antType.back()._descriptor[antlen] = 0; 226 226 if (serlen) { 227 memcpy(_antType.back().serialnumber, _msg23.antSN.c_str(), serlen); 228 _antType.back().serialnumber[serlen] = 0; 227 memcpy(_antType.back()._serialnumber, _msg23.antSN.c_str(), serlen); 228 _antType.back()._serialnumber[serlen] = 0; 229 229 } 230 230 } … … 234 234 _antList.push_back(t_antRefPoint()); 235 235 236 _antList.back().xx = _msg24.x; 237 _antList.back().yy = _msg24.y; 238 _antList.back().zz = _msg24.z; 239 240 _antList.back().height_f = true; 241 _antList.back().height = _msg24.h; 242 243 _antList.back().type = t_antRefPoint::ARP; 244 _antList.back().message = _PP.ID(); 236 _antList.back()._xx = _msg24.x; 237 _antList.back()._yy = _msg24.y; 238 _antList.back()._zz = _msg24.z; 239 240 _antList.back()._height_f = true; 241 _antList.back()._height = _msg24.h; 242 243 _antList.back()._type = t_antRefPoint::ARP; 244 _antList.back()._message = _PP.ID(); 245 245 } 246 246 } … … 265 265 currentGPSWeeks(refWeek, refSecs); 266 266 267 // Resolve receiver time of measurement (see RTCM 2.3, page 4-42, Message 18, Note 1)267 // Resolve receiver time of measurement (see RTCM 2.3, page 4-42, message 18, Note 1) 268 268 // ---------------------------------------------------------------------------------- 269 269 double hoursec_est = _msg2021.hoursec(); // estimated time of measurement
Note:
See TracChangeset
for help on using the changeset viewer.
