Changeset 3508 in ntrip
- Timestamp:
- Nov 20, 2011, 9:40:26 AM (13 years ago)
- Location:
- trunk/BNC
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/GPSS/hassDecoder.cpp
r3507 r3508 71 71 QString corrLine; 72 72 73 int messageType = -1;74 73 int updateInterval = 0; 74 int messageType = 0; 75 if (prn[0] == 'G') { 76 messageType = -COTYPE_GPSCOMBINED; 77 } 78 else if (prn[0] == 'R') { 79 messageType = -COTYPE_GLONASSCOMBINED; 80 } 75 81 76 82 corrLine.sprintf("%d %d %d %.1f %s" -
trunk/BNC/bncephuser.cpp
r3496 r3508 165 165 if (!relevantMessageType(messageType)) { 166 166 return failure; 167 } 168 169 if (messageType < 0) { 170 xyzCorr = true; // correction in xyz instead of rao 167 171 } 168 172 -
trunk/BNC/bncephuser.h
r3496 r3508 44 44 eph = 0; 45 45 hrClk = 0.0; 46 xyzCorr = false; 46 47 } 47 48 bool ready() {return raoSet && dClkSet;} 48 49 49 50 static bool relevantMessageType(int msgType) { 51 if (msgType < 0) { 52 msgType = -msgType; 53 } 50 54 return ( msgType == COTYPE_GPSCOMBINED || 51 55 msgType == COTYPE_GLONASSCOMBINED || … … 72 76 bool raoSet; 73 77 bool dClkSet; 78 bool xyzCorr; 74 79 const t_eph* eph; 75 80 }; -
trunk/BNC/bncpppclient.cpp
r3496 r3508 409 409 } 410 410 411 RSW_to_XYZ(xc.Rows(1,3), vv, raoHlp, dx); 411 if (cc->xyzCorr) { 412 dx = raoHlp; 413 } 414 else { 415 RSW_to_XYZ(xc.Rows(1,3), vv, raoHlp, dx); 416 } 412 417 413 418 xc[0] -= dx[0];
Note:
See TracChangeset
for help on using the changeset viewer.