Last change
on this file since 7226 was 7203, checked in by stuerze, 9 years ago |
some renaming regarding PPP
|
-
Property svn:keywords
set to
Author Date Id Rev URL;svn:eol-style=native
-
Property svn:mime-type
set to
text/plain
|
File size:
1.5 KB
|
Rev | Line | |
---|
[7203] | 1 | /* -------------------------------------------------------------------------
|
---|
| 2 | * BKG NTRIP Client
|
---|
| 3 | * -------------------------------------------------------------------------
|
---|
| 4 | *
|
---|
| 5 | * Class: t_pppStation
|
---|
| 6 | *
|
---|
| 7 | * Purpose: Processed station
|
---|
| 8 | *
|
---|
| 9 | * Author: L. Mervart
|
---|
| 10 | *
|
---|
| 11 | * Created: 29-Jul-2014
|
---|
| 12 | *
|
---|
| 13 | * Changes:
|
---|
| 14 | *
|
---|
| 15 | * -----------------------------------------------------------------------*/
|
---|
| 16 |
|
---|
| 17 | #include "pppStation.h"
|
---|
| 18 | #include "bncutils.h"
|
---|
| 19 | #include "pppModel.h"
|
---|
| 20 |
|
---|
| 21 | using namespace BNC_PPP;
|
---|
| 22 | using namespace std;
|
---|
| 23 |
|
---|
| 24 | // Constructor
|
---|
| 25 | //////////////////////////////////////////////////////////////////////////////
|
---|
| 26 | t_pppStation::t_pppStation() {
|
---|
| 27 | _windUp = new t_windUp();
|
---|
| 28 | }
|
---|
| 29 |
|
---|
| 30 | // Destructor
|
---|
| 31 | //////////////////////////////////////////////////////////////////////////////
|
---|
| 32 | t_pppStation::~t_pppStation() {
|
---|
| 33 | delete _windUp;
|
---|
| 34 | }
|
---|
| 35 |
|
---|
| 36 | //
|
---|
| 37 | //////////////////////////////////////////////////////////////////////////////
|
---|
| 38 | void t_pppStation::setXyzApr(const ColumnVector& xyzApr) {
|
---|
| 39 | _xyzApr = xyzApr;
|
---|
| 40 | _ellApr.ReSize(3);
|
---|
| 41 | xyz2ell(_xyzApr.data(), _ellApr.data());
|
---|
| 42 | }
|
---|
| 43 |
|
---|
| 44 | //
|
---|
| 45 | //////////////////////////////////////////////////////////////////////////////
|
---|
| 46 | void t_pppStation::setNeuEcc(const ColumnVector& neuEcc) {
|
---|
| 47 | _neuEcc = neuEcc;
|
---|
| 48 | _xyzEcc.ReSize(3);
|
---|
| 49 | neu2xyz(_ellApr.data(), _neuEcc.data(), _xyzEcc.data());
|
---|
| 50 | }
|
---|
| 51 |
|
---|
| 52 | //
|
---|
| 53 | //////////////////////////////////////////////////////////////////////////////
|
---|
| 54 | double t_pppStation::windUp(const bncTime& time, t_prn prn,
|
---|
| 55 | const ColumnVector& rSat) const {
|
---|
| 56 | return _windUp->value(time, _xyzApr, prn, rSat);
|
---|
| 57 | }
|
---|
| 58 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.