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

Last change on this file since 9128 was 9128, checked in by stuerze, 4 years ago

minor changes

File size: 2.8 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"
[8969]8#include "../RTCM3/clock_and_orbit/clock_orbit_rtcm.h"
9#include "../RTCM3/clock_and_orbit/clock_orbit_igs.h"
[3222]10
[3224]11class bncEphUser;
[3222]12class bncoutf;
13class bncClockRinex;
14class bncSP3;
15
[3224]16class bncRtnetUploadCaster : public bncUploadCaster {
[3222]17 Q_OBJECT
18 public:
[3224]19 bncRtnetUploadCaster(const QString& mountpoint,
[3222]20 const QString& outHost, int outPort,
[9032]21 const QString& ntripVersion, const QString& userName,
22 const QString& password,
[9025]23 const QString& crdTrafo, const QString& ssrFormat,
[9032]24 bool CoM,
25 const QString& sp3FileName,
[3222]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,
[9025]40 struct SsrCorr::ClockOrbit::SatData* sd,
[3222]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;
[9025]50 SsrCorr* _ssrCorr;
51 QString _ssrFormat;
[3222]52 bool _CoM;
[9128]53 bool _phaseBiasInformationDecoded;
[4111]54 int _PID;
55 int _SID;
56 int _IOD;
[6557]57 int _samplRtcmClkCorr;
[4174]58 double _samplRtcmEphCorr;
[3222]59 double _dx;
60 double _dy;
61 double _dz;
62 double _dxr;
63 double _dyr;
64 double _dzr;
65 double _ox;
66 double _oy;
67 double _oz;
68 double _oxr;
69 double _oyr;
70 double _ozr;
71 double _sc;
72 double _scr;
73 double _t0;
74 bncClockRinex* _rnx;
75 bncSP3* _sp3;
[6442]76 QMap<QString, const t_eph*>* _usedEph;
[3222]77};
78
[6850]79struct phaseBiasesSat {
[7257]80 phaseBiasesSat() {
[8017]81 yawAngle = 0.0;
82 yawRate = 0.0;
[7257]83 }
[8017]84 double yawAngle;
85 double yawRate;
[6850]86};
87
88struct phaseBiasSignal {
[7257]89 phaseBiasSignal() {
90 bias = 0.0;
[8017]91 integerIndicator = 0;
92 wlIndicator = 0;
93 discontinuityCounter = 0;
[7257]94 }
[6850]95 QString type;
96 double bias;
[8017]97 unsigned int integerIndicator;
98 unsigned int wlIndicator;
99 unsigned int discontinuityCounter;
[6850]100};
101
[3222]102#endif
Note: See TracBrowser for help on using the repository browser.