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

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

minor changes

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