Changeset 5748 in ntrip for trunk/BNC/src/PPP
- Timestamp:
- Aug 3, 2014, 10:13:50 AM (10 years ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/filter.cpp
r5747 r5748 4 4 #include <newmat.h> 5 5 #include <newmatio.h> 6 #include <newmatap.h> 6 7 7 8 #include "filter.h" … … 10 11 #include "station.h" 11 12 #include "pppClient.h" 13 #include "bncmodel.h" 12 14 13 15 using namespace BNC; … … 194 196 // Check number of observations, truncate matrices 195 197 // ----------------------------------------------- 196 if (iObs+1 < OPT-> minobs()) {198 if (iObs+1 < OPT->_minObs) { 197 199 return failure; 198 200 } … … 203 205 // Kalman update step 204 206 // ------------------ 205 kalman(_QFlt, _xFlt, AA, ll, Sl);207 bncModel::kalman(AA, ll, Sl, _QFlt, _xFlt); 206 208 207 209 // Check Residuals … … 214 216 const t_lc::type tLC = usedTypes[ii]; 215 217 double res = fabs(vv[ii]); 216 if (res > 217 (t_lc::includesCode(tLC) ? OPT->maxResCode() : OPT->maxResPhase())) { 218 if (res > OPT->maxRes(tLC)) { 218 219 if (res > fabs(maxOutlier)) { 219 220 maxOutlier = vv[ii]; … … 262 263 if (tLC == LCs[jj]) { 263 264 obs->setRes(tLC, vv[ii]); 264 if (OPT->logLevel() > 1) { 265 LOG << epoTimeStr << " RES " 266 << left << setw(3) << t_lc::toString(tLC) << right << ' ' 267 << obs->prn().toString() << ' ' 268 << setw(8) << setprecision(4) << vv[ii] << endl; 269 } 265 LOG << epoTimeStr << " RES " 266 << left << setw(3) << t_lc::toString(tLC) << right << ' ' 267 << obs->prn().toString() << ' ' 268 << setw(8) << setprecision(4) << vv[ii] << endl; 270 269 } 271 270 } -
trunk/BNC/src/PPP/options.h
r5742 r5748 16 16 bool useGlonass(); 17 17 bool xyzAprRoverSet(); 18 std::vector<t_lc::type> LCs(); 19 double maxRes(t_lc::type tLC); 18 20 19 21 bool _realTime;
Note:
See TracChangeset
for help on using the changeset viewer.