Changeset 2017 in ntrip


Ignore:
Timestamp:
Nov 25, 2009, 3:17:20 PM (14 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bns.pro

    r2014 r2017  
    2828# Include Path
    2929# ------------
    30 INCLUDEPATH = . ./newmat ./RTCM
     30INCLUDEPATH = . ./newmat
    3131
    3232HEADERS =             bns.h   bnswindow.h   bnshlpdlg.h   bnshtml.h   \
  • trunk/BNS/bnseph.cpp

    r2015 r2017  
    2020#include "bnsutils.h"
    2121#include "bnssettings.h"
    22 extern "C" {
    23 #include "rtcm3torinex.h"
    24 }
    2522
    2623#define PI          3.1415926535898
     
    187184    return false;
    188185  }
    189 }
    190 
    191 // Constructor
    192 ////////////////////////////////////////////////////////////////////////////
    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;
    225186}
    226187
     
    515476
    516477  vv(3)  = sini    *doty  + yp*cosi      *doti;
    517 }
    518 
    519 // Constructor
    520 ////////////////////////////////////////////////////////////////////////////
    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 vector
    543   // ------------------------
    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;
    551478}
    552479
  • trunk/BNS/bnseph.h

    r2014 r2017  
    99#include <QtNetwork>
    1010
    11 struct glonassephemeris;
    12 struct gpsephemeris;
    1311
    1412class t_eph {
     
    3634    _xv.ReSize(6);
    3735  };
    38   t_ephGlo(const glonassephemeris& eph);
    39 
    4036  virtual ~t_ephGlo() {};
    4137  virtual void read(const QStringList& lines);
     
    7167 public:
    7268  t_ephGPS() {};
    73   t_ephGPS(const gpsephemeris& eph);
    7469  virtual ~t_ephGPS() {};
    7570  virtual void read(const QStringList& lines);
Note: See TracChangeset for help on using the changeset viewer.