source: ntrip/branches/BNC_2.12/src/upload/bncrtnetuploadcaster.h@ 8484

Last change on this file since 8484 was 8484, checked in by stuerze, 6 years ago

SSR parameter clock rate, clock drift and URA are added within RTNET format

File size: 2.5 KB
RevLine 
[3224]1#ifndef BNCRTNETUPLOADCASTER_H
2#define BNCRTNETUPLOADCASTER_H
[3222]3
[3224]4#include <newmat.h>
5#include "bncuploadcaster.h"
[3222]6#include "bnctime.h"
[3225]7#include "ephemeris.h"
8extern "C" {
[3224]9#include "clock_orbit_rtcm.h"
[3225]10}
[3222]11
[3224]12class bncEphUser;
[3222]13class bncoutf;
14class bncClockRinex;
15class bncSP3;
16
[3224]17class bncRtnetUploadCaster : public bncUploadCaster {
[3222]18 Q_OBJECT
19 public:
[3224]20 bncRtnetUploadCaster(const QString& mountpoint,
[3222]21 const QString& outHost, int outPort,
[8415]22 const QString& password,
23 const QString& crdTrafo, bool CoM,
[3222]24 const QString& sp3FileName,
25 const QString& rnxFileName,
[4111]26 int PID, int SID, int IOD, int iRow);
[3226]27 void decodeRtnetStream(char* buffer, int bufLen);
[3222]28 protected:
[3224]29 virtual ~bncRtnetUploadCaster();
[3222]30 private:
[8415]31 void processSatellite(const t_eph* eph, int GPSweek,
32 double GPSweeks, const QString& prn,
[4991]33 const ColumnVector& rtnAPC,
[8484]34 double ura,
35 const ColumnVector& rtnClk,
[4991]36 const ColumnVector& rtnVel,
37 const ColumnVector& rtnCoM,
[8484]38 const ColumnVector& rtnClkSig,
[3222]39 struct ClockOrbit::SatData* sd,
40 QString& outLine);
[4803]41 void crdTrafo(int GPSWeek, ColumnVector& xyz, double& dc);
[3222]42
[6557]43 int determineUpdateInd(double samplingRate);
44
[5130]45 QString _casterID;
[3222]46 bncEphUser* _ephUser;
47 QString _rtnetStreamBuffer;
48 QString _crdTrafo;
49 bool _CoM;
[4111]50 int _PID;
51 int _SID;
52 int _IOD;
[6557]53 int _samplRtcmClkCorr;
[4174]54 double _samplRtcmEphCorr;
[3222]55 double _dx;
56 double _dy;
57 double _dz;
58 double _dxr;
59 double _dyr;
60 double _dzr;
61 double _ox;
62 double _oy;
63 double _oz;
64 double _oxr;
65 double _oyr;
66 double _ozr;
67 double _sc;
68 double _scr;
69 double _t0;
70 bncClockRinex* _rnx;
71 bncSP3* _sp3;
[6442]72 QMap<QString, const t_eph*>* _usedEph;
[3222]73};
74
[6850]75struct phaseBiasesSat {
[7257]76 phaseBiasesSat() {
[8018]77 yawAngle = 0.0;
78 yawRate = 0.0;
[7257]79 }
[8018]80 double yawAngle;
81 double yawRate;
[6850]82};
83
84struct phaseBiasSignal {
[7257]85 phaseBiasSignal() {
86 bias = 0.0;
[8018]87 integerIndicator = 0;
88 wlIndicator = 0;
89 discontinuityCounter = 0;
[7257]90 }
[6850]91 QString type;
92 double bias;
[8018]93 unsigned int integerIndicator;
94 unsigned int wlIndicator;
95 unsigned int discontinuityCounter;
[6850]96};
97
[3222]98#endif
Note: See TracBrowser for help on using the repository browser.