- Timestamp:
- Apr 22, 2015, 4:27:21 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/src/ephemeris.cpp ¶
r6792 r6793 426 426 void t_ephGal::set(const galileoephemeris* ee) { 427 427 428 _SISA = -1.0; // set RINEX entry to invalid 429 428 430 _receptDateTime = currentDateAndTimeGPS(); 429 431 … … 458 460 _IDOT = ee->IDOT; 459 461 _TOEweek = ee->Week; 460 461 _SISA 462 463 _SISAI = ee->SISA; // index from RTCM 462 464 _E5aHS = ee->E5aHS; 463 465 _E5bHS = ee->E5bHS; … … 812 814 double datasource = 0.0; 813 815 int pos[4]; 816 _SISAI = -1; // set index from RTCM invalid 814 817 pos[0] = (rnxVersion <= 2.12) ? 3 : 4; 815 818 pos[1] = pos[0] + fieldLen; … … 1193 1196 .arg(0.0, 19, 'e', 12); 1194 1197 1195 double SISA = -1.0; 1196 if ((_SISA >= 0) && (_SISA <= 49)) { 1197 SISA = _SISA / 100.0; 1198 } 1199 if((_SISA >= 50) && (_SISA <= 74)) { 1200 SISA = (50 + (_SISA - 50.0) * 2.0) / 100.0; 1201 } 1202 if((_SISA >= 75) && (_SISA <= 99)) { 1203 SISA = 1.0 + (_SISA - 75.0) * 0.04; 1204 } 1205 if((_SISA >= 100) && (_SISA <= 125)) { 1206 SISA = 2.0 + (_SISA - 100.0) * 0.16; 1198 // RINEX file input 1199 double SISA = _SISA; // [m] 1200 // RTCM stream input 1201 if ((_SISAI >= 0) && (_SISAI <= 49)) { 1202 SISA = _SISAI / 100.0; 1203 } 1204 if((_SISAI >= 50) && (_SISAI <= 74)) { 1205 SISA = (50 + (_SISAI - 50.0) * 2.0) / 100.0; 1206 } 1207 if((_SISAI >= 75) && (_SISAI <= 99)) { 1208 SISA = 1.0 + (_SISAI - 75.0) * 0.04; 1209 } 1210 if((_SISAI >= 100) && (_SISAI <= 125)) { 1211 SISA = 2.0 + (_SISAI - 100.0) * 0.16; 1212 } 1213 if (_SISAI >= 126 ) { 1214 SISA = -1.0; 1207 1215 } 1208 1216 out << QString(fmt)
Note:
See TracChangeset
for help on using the changeset viewer.