Changeset 2017 in ntrip
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bns.pro
r2014 r2017 28 28 # Include Path 29 29 # ------------ 30 INCLUDEPATH = . ./newmat ./RTCM30 INCLUDEPATH = . ./newmat 31 31 32 32 HEADERS = bns.h bnswindow.h bnshlpdlg.h bnshtml.h \ -
trunk/BNS/bnseph.cpp
r2015 r2017 20 20 #include "bnsutils.h" 21 21 #include "bnssettings.h" 22 extern "C" {23 #include "rtcm3torinex.h"24 }25 22 26 23 #define PI 3.1415926535898 … … 187 184 return false; 188 185 } 189 }190 191 // Constructor192 ////////////////////////////////////////////////////////////////////////////193 t_ephGPS::t_ephGPS(const gpsephemeris& eph) {194 _prn = QString("G%1").arg(eph.satellite, 2, 10, QChar('0'));195 _GPSweek = eph.GPSweek;196 _GPSweeks = eph.TOC;197 _TOW = eph.TOW;198 _TOC = eph.TOC;199 _TOE = eph.TOE;200 _IODE = eph.IODE;201 _IODC = eph.IODC;202 _clock_bias = eph.clock_bias;203 _clock_drift = eph.clock_drift;204 _clock_driftrate = eph.clock_driftrate;205 _Crs = eph.Crs;206 _Delta_n = eph.Delta_n;207 _M0 = eph.M0;208 _Cuc = eph.Cuc;209 _e = eph.e;210 _Cus = eph.Cus;211 _sqrt_A = eph.sqrt_A;212 _Cic = eph.Cic;213 _OMEGA0 = eph.OMEGA0;214 _Cis = eph.Cis;215 _i0 = eph.i0;216 _Crc = eph.Crc;217 _omega = eph.omega;218 _OMEGADOT = eph.OMEGADOT;219 _IDOT = eph.IDOT;220 _TGD = eph.TGD;221 _health = eph.SVhealth;222 _ura = 0.0;223 _L2PFlag = 0.0;224 _L2Codes = 0.0;225 186 } 226 187 … … 515 476 516 477 vv(3) = sini *doty + yp*cosi *doti; 517 }518 519 // Constructor520 ////////////////////////////////////////////////////////////////////////////521 t_ephGlo::t_ephGlo(const glonassephemeris& eph) {522 _prn = QString("R%1").arg(eph.almanac_number, 2, 10, QChar('0'));523 _GPSweek = eph.GPSWeek;524 _GPSweeks = eph.GPSTOW;525 _gps_utc = 0;526 _E = eph.E;527 _tau = eph.tau;528 _gamma = eph.gamma;529 _x_pos = eph.x_pos;530 _x_velocity = eph.x_velocity;531 _x_acceleration = eph.x_acceleration;532 _y_pos = eph.y_pos;533 _y_velocity = eph.y_velocity;534 _y_acceleration = eph.y_acceleration;535 _z_pos = eph.z_pos;536 _z_velocity = eph.z_velocity;537 _z_acceleration = eph.z_acceleration;538 _health = 0;539 _frequency_number = eph.frequency_number;540 _tki = eph.tk;541 542 // Initialize status vector543 // ------------------------544 _tt = _GPSweeks;545 _xv(1) = _x_pos * 1.e3;546 _xv(2) = _y_pos * 1.e3;547 _xv(3) = _z_pos * 1.e3;548 _xv(4) = _x_velocity * 1.e3;549 _xv(5) = _y_velocity * 1.e3;550 _xv(6) = _z_velocity * 1.e3;551 478 } 552 479 -
trunk/BNS/bnseph.h
r2014 r2017 9 9 #include <QtNetwork> 10 10 11 struct glonassephemeris;12 struct gpsephemeris;13 11 14 12 class t_eph { … … 36 34 _xv.ReSize(6); 37 35 }; 38 t_ephGlo(const glonassephemeris& eph);39 40 36 virtual ~t_ephGlo() {}; 41 37 virtual void read(const QStringList& lines); … … 71 67 public: 72 68 t_ephGPS() {}; 73 t_ephGPS(const gpsephemeris& eph);74 69 virtual ~t_ephGPS() {}; 75 70 virtual void read(const QStringList& lines);
Note:
See TracChangeset
for help on using the changeset viewer.