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

Last change on this file since 9512 was 9512, checked in by stuerze, 2 years ago

revert changes

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