Changeset 3309 in ntrip
- Timestamp:
- Jun 21, 2011, 6:16:40 PM (14 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncmodel.cpp
r3308 r3309 477 477 // Prediction Step of the Filter 478 478 //////////////////////////////////////////////////////////////////////////// 479 void bncModel::predict(t_epoData* epoData) { 479 void bncModel::predict(int iPhase, t_epoData* epoData) { 480 480 481 481 bncSettings settings; … … 919 919 // Outlier Detection 920 920 //////////////////////////////////////////////////////////////////////////// 921 int bncModel::outlierDetection(int phase, const SymmetricMatrix& QQsav,921 int bncModel::outlierDetection(int iPhase, const SymmetricMatrix& QQsav, 922 922 const ColumnVector& vv, 923 923 QMap<QString, t_satData*>& satDataGPS, … … 935 935 int irc = 0; 936 936 937 if ( phase == 0) {937 if (iPhase == 0) { 938 938 939 939 // Check GPS Code … … 963 963 964 964 else { 965 965 966 // Check Glonass Phase 966 967 // ------------------- … … 1183 1184 // 1184 1185 /////////////////////////////////////////////////////////////////////////// 1185 void bncModel::addObs(int phase, unsigned& iObs, t_satData* satData,1186 void bncModel::addObs(int iPhase, unsigned& iObs, t_satData* satData, 1186 1187 Matrix& AA, ColumnVector& ll, DiagonalMatrix& PP) { 1187 1188 1188 1189 // Phase Observations 1189 1190 // ------------------ 1190 if ( phase == 1) {1191 if (iPhase == 1) { 1191 1192 ++iObs; 1192 1193 ll(iObs) = satData->L3 - cmpValue(satData, true); … … 1217 1218 // 1218 1219 /////////////////////////////////////////////////////////////////////////// 1219 void bncModel::printRes(int phase, const ColumnVector& vv,1220 void bncModel::printRes(int iPhase, const ColumnVector& vv, 1220 1221 ostringstream& str, t_satData* satData) { 1221 if ( phase) {1222 if (iPhase == 1) { 1222 1223 str << _time.timestr(1) 1223 1224 << " RES " << satData->prn.toAscii().data() << " L3 " … … 1270 1271 do { 1271 1272 1273 // Bancroft Solution 1274 // ----------------- 1272 1275 if (iPhase == 0) { 1273 1274 // Bancroft Solution1275 // -----------------1276 1276 if (cmpBancroft(epoData) != success) { 1277 1277 emit newMessage(_log, false); … … 1282 1282 // Status Prediction 1283 1283 // ----------------- 1284 predict(epoData); 1284 predict(iPhase, epoData); 1285 1285 1286 1286 // Create First-Design Matrix -
trunk/BNC/bncmodel.h
r3308 r3309 96 96 void cmpEle(t_satData* satData); 97 97 void addAmb(t_satData* satData); 98 void addObs(int phase, unsigned& iObs, t_satData* satData,98 void addObs(int iPhase, unsigned& iObs, t_satData* satData, 99 99 Matrix& AA, ColumnVector& ll, DiagonalMatrix& PP); 100 void printRes(int phase, const ColumnVector& vv,100 void printRes(int iPhase, const ColumnVector& vv, 101 101 std::ostringstream& str, t_satData* satData); 102 102 void findMaxRes(const ColumnVector& vv, … … 106 106 double cmpValue(t_satData* satData, bool phase); 107 107 double delay_saast(double Ele); 108 void predict(t_epoData* epoData); 108 void predict(int iPhase, t_epoData* epoData); 109 109 t_irc update_p(t_epoData* epoData, ColumnVector& dx); 110 int outlierDetection(int phase, const SymmetricMatrix& QQsav,110 int outlierDetection(int iPhase, const SymmetricMatrix& QQsav, 111 111 const ColumnVector& vv, 112 112 QMap<QString, t_satData*>& satDataGPS,
Note:
See TracChangeset
for help on using the changeset viewer.