source: ntrip/trunk/BNC/src/upload/bncrtnetuploadcaster.h@ 8904

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

minor changes to consider a satellite clock drift that is introduced via RTNET format

File size: 2.6 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,
[8275]22 const QString& ntripVersion,
23 const QString& userName,const QString& password,
[8017]24 const QString& crdTrafo, bool CoM,
[3222]25 const QString& sp3FileName,
26 const QString& rnxFileName,
[4111]27 int PID, int SID, int IOD, int iRow);
[3226]28 void decodeRtnetStream(char* buffer, int bufLen);
[3222]29 protected:
[3224]30 virtual ~bncRtnetUploadCaster();
[3222]31 private:
[8542]32 t_irc processSatellite(const t_eph* eph, int GPSweek,
[8017]33 double GPSweeks, const QString& prn,
[4991]34 const ColumnVector& rtnAPC,
[8483]35 double ura,
36 const ColumnVector& rtnClk,
[4991]37 const ColumnVector& rtnVel,
38 const ColumnVector& rtnCoM,
[8483]39 const ColumnVector& rtnClkSig,
[3222]40 struct ClockOrbit::SatData* sd,
41 QString& outLine);
[4803]42 void crdTrafo(int GPSWeek, ColumnVector& xyz, double& dc);
[3222]43
[6557]44 int determineUpdateInd(double samplingRate);
45
[5130]46 QString _casterID;
[3222]47 bncEphUser* _ephUser;
48 QString _rtnetStreamBuffer;
49 QString _crdTrafo;
50 bool _CoM;
[4111]51 int _PID;
52 int _SID;
53 int _IOD;
[6557]54 int _samplRtcmClkCorr;
[4174]55 double _samplRtcmEphCorr;
[3222]56 double _dx;
57 double _dy;
58 double _dz;
59 double _dxr;
60 double _dyr;
61 double _dzr;
62 double _ox;
63 double _oy;
64 double _oz;
65 double _oxr;
66 double _oyr;
67 double _ozr;
68 double _sc;
69 double _scr;
70 double _t0;
71 bncClockRinex* _rnx;
72 bncSP3* _sp3;
[6442]73 QMap<QString, const t_eph*>* _usedEph;
[3222]74};
75
[6850]76struct phaseBiasesSat {
[7257]77 phaseBiasesSat() {
[8017]78 yawAngle = 0.0;
79 yawRate = 0.0;
[7257]80 }
[8017]81 double yawAngle;
82 double yawRate;
[6850]83};
84
85struct phaseBiasSignal {
[7257]86 phaseBiasSignal() {
87 bias = 0.0;
[8017]88 integerIndicator = 0;
89 wlIndicator = 0;
90 discontinuityCounter = 0;
[7257]91 }
[6850]92 QString type;
93 double bias;
[8017]94 unsigned int integerIndicator;
95 unsigned int wlIndicator;
96 unsigned int discontinuityCounter;
[6850]97};
98
[3222]99#endif
Note: See TracBrowser for help on using the repository browser.