- Timestamp:
- Jul 22, 2015, 4:18:09 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP_SSR_I/pppFilter.cpp
r7050 r7142 531 531 // ---------- 532 532 else if (pp->type == t_pppParam::BDS_OFFSET) { 533 _QQ(iPar,iPar) += 0.1 * 0.1; //TODO: TEST533 _QQ(iPar,iPar) = 1000.0 * 1000.0; //TODO: TEST 534 534 } 535 535 } … … 848 848 void t_pppFilter::addAmb(t_satData* satData) { 849 849 Tracer tracer("t_pppFilter::addAmb"); 850 if (!OPT->ambLCs(satData->system()).size()){ 851 return; 852 } 850 853 bool found = false; 851 854 for (int iPar = 1; iPar <= _params.size(); iPar++) { … … 909 912 else { 910 913 double sigP3 = 2.98 * OPT->_sigmaC1; 914 if (satData->system() == 'C') { 915 sigP3 *= BDS_WEIGHT_FACTOR; 916 } 911 917 ll(iObs) = satData->P3 - cmpValue(satData, false); 912 918 PP(iObs,iObs) = 1.0 / (sigP3 * sigP3) / (ellWgtCoef * ellWgtCoef); … … 926 932 ostringstream str; 927 933 str.setf(ios::fixed); 934 bool useObs; 928 935 929 936 QMapIterator<QString, t_satData*> it(satDataMap); … … 931 938 it.next(); 932 939 t_satData* satData = it.value(); 933 if (satData->obsIndex != 0) { 940 (iPhase == 0) ? useObs = OPT->codeLCs(satData->system()).size() : 941 useObs = OPT->ambLCs(satData->system()).size(); 942 if (satData->obsIndex != 0 && useObs) { 934 943 str << _time.timestr(1) 935 944 << " RES " << satData->prn.mid(0,3).toAscii().data() … … 1018 1027 nObs = epoData->sizeAll(); 1019 1028 bool useObs = false; 1020 char additionalSys[] ={'R', 'E', 'C'};1021 for (unsigned ii = 0; ii < sizeof( additionalSys); ii++) {1022 const char s = additionalSys[ii];1029 char sys[] ={'G', 'R', 'E', 'C'}; 1030 for (unsigned ii = 0; ii < sizeof(sys); ii++) { 1031 const char s = sys[ii]; 1023 1032 (iPhase == 0) ? useObs = OPT->codeLCs(s).size() : useObs = OPT->ambLCs(s).size(); 1024 1033 if (!useObs) { … … 1039 1048 t_satData* satData = it.value(); 1040 1049 QString prn = satData->prn; 1041 char sys = satData->system();1042 (iPhase == 0) ? useObs = OPT->codeLCs(sys).size() : useObs = OPT->ambLCs(sys).size();1043 if ( sys == 'G' ||useObs) {1050 (iPhase == 0) ? useObs = OPT->codeLCs(satData->system()).size() : 1051 useObs = OPT->ambLCs(satData->system()).size(); 1052 if (useObs) { 1044 1053 addObs(iPhase, iObs, satData, AA, ll, PP); 1045 1054 } … … 1054 1063 // Print Residuals 1055 1064 // --------------- 1056 if (iPhase == 0) {1065 if (iPhase == 0) { 1057 1066 strResCode = printRes(iPhase, vv, epoData->satData); 1058 1067 }
Note:
See TracChangeset
for help on using the changeset viewer.