Changeset 2143 in ntrip


Ignore:
Timestamp:
Dec 31, 2009, 10:46:56 AM (14 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r2134 r2143  
    431431  _log = "Precise Point Positioning";
    432432
     433  _time = epoData->tt;
     434
    433435  SymmetricMatrix QQsav;
    434436  ColumnVector    dx;
  • trunk/BNC/bncmodel.h

    r2130 r2143  
    3030
    3131#include "bncconst.h"
     32#include "bnctime.h"
    3233
    3334class t_epoData;
     
    5758  t_irc cmpBancroft(t_epoData* epoData);
    5859  t_irc update(t_epoData* epoData);
     60  bncTime time() const {return _time;}
    5961  double x()   const {return _params[0]->xx;}
    6062  double y()   const {return _params[1]->xx;}
     
    7577  void writeNMEAstr(const QString& nmStr);
    7678
     79  bncTime            _time;
    7780  QByteArray         _staID;
    7881  QVector<bncParam*> _params;
  • trunk/BNC/bncpppclient.cpp

    r2123 r2143  
    333333  // Filter Solution
    334334  // ---------------
    335   if (_model->update(_epoData) != success) {
    336     return;
    337   }
    338 }
    339 
     335  if (_model->update(_epoData) == success) {
     336    double xyz[3];
     337    xyz[0] = _model->x();
     338    xyz[1] = _model->y();
     339    xyz[2] = _model->z();
     340    emit newPosition(_model->time(), xyz);   
     341  }
     342}
     343
Note: See TracChangeset for help on using the changeset viewer.