Changeset 2070 in ntrip


Ignore:
Timestamp:
Dec 1, 2009, 4:26:11 PM (14 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r2067 r2070  
    4949
    5050using namespace std;
     51
     52const unsigned MINOBS =    4;
     53const double   MINELE = 10.0 * M_PI / 180.0;
    5154
    5255// Constructor
     
    98101////////////////////////////////////////////////////////////////////////////
    99102t_irc bncModel::cmpBancroft(t_epoData* epoData) {
    100 
    101   const unsigned MINOBS = 4;
    102103
    103104  if (epoData->size() < MINOBS) {
     
    164165    }
    165166    satData->azSat  = atan2(neu[1], neu[0]);
     167
     168    if (satData->eleSat < MINELE) {
     169      delete satData;
     170      it2.remove();
     171    }
    166172  }
    167173
     
    224230////////////////////////////////////////////////////////////////////////////
    225231t_irc bncModel::update(t_epoData* epoData) {
     232
     233  if (epoData->size() < MINOBS) {
     234    return failure;
     235  }
    226236
    227237  unsigned nPar = _params.size();
     
    261271  // -----------------
    262272  ColumnVector vv = _AA * _dx - _ll;
     273
     274  cout << setprecision(3) << _dx.t()
     275       << setprecision(3) << vv.t() << endl;
     276  cout.flush();
    263277
    264278  // Set Solution Vector
Note: See TracChangeset for help on using the changeset viewer.