Changeset 5757 in ntrip


Ignore:
Timestamp:
Aug 3, 2014, 12:35:20 PM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/PPP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/options.cpp

    r5736 r5757  
    5656}
    5757
     58//
     59//////////////////////////////////////////////////////////////////////////////
     60bool t_options::dualFreqRequired() const {
     61  return true;
     62}
     63
     64//
     65//////////////////////////////////////////////////////////////////////////////
     66bool t_options::biasRequired() const {
     67  return false;
     68}
     69
     70//
     71//////////////////////////////////////////////////////////////////////////////
     72bool t_options::useGlonass() const  {
     73  return (_lcGLONASS.size() > 0);
     74}
     75
     76//
     77//////////////////////////////////////////////////////////////////////////////
     78bool t_options::xyzAprRoverSet() const {
     79  return (_xyzAprRover[0] != 0.0 || _xyzAprRover[1] != 0.0 || _xyzAprRover[2] != 0.0);
     80}
     81
     82//
     83//////////////////////////////////////////////////////////////////////////////
     84bool t_options::estTropo() const  {
     85  return (_sigTropo > 0.0 || _noiseTropo > 0.0);
     86}
     87
     88//
     89//////////////////////////////////////////////////////////////////////////////
     90vector<t_lc::type> t_options::LCs() const {
     91  vector<t_lc::type> allLCs;
     92  for (unsigned ii = 0; ii < _lcGPS.size(); ii++) {
     93    allLCs.push_back(_lcGPS[ii]);
     94  }
     95  for (unsigned ii = 0; ii < _lcGLONASS.size(); ii++) {
     96    allLCs.push_back(_lcGLONASS[ii]);
     97  }
     98  for (unsigned ii = 0; ii < _lcGalileo.size(); ii++) {
     99    allLCs.push_back(_lcGalileo[ii]);
     100  }
     101  return allLCs; 
     102}
     103
     104//
     105//////////////////////////////////////////////////////////////////////////////
     106double t_options::maxRes(t_lc::type /* tLC */) const {
     107  return _maxResC1;
     108}
  • trunk/BNC/src/PPP/options.h

    r5752 r5757  
    2020  t_options();
    2121  ~t_options();
    22   bool dualFreqRequired();
    23   bool biasRequired();
    24   bool useGlonass();
    25   bool xyzAprRoverSet();
    26   bool estTropo();
    27   std::vector<t_lc::type> LCs();
    28   double maxRes(t_lc::type tLC);
     22  bool dualFreqRequired() const;
     23  bool biasRequired() const;
     24  bool useGlonass() const ;
     25  bool xyzAprRoverSet() const;
     26  bool estTropo() const ;
     27  std::vector<t_lc::type> LCs() const;
     28  double maxRes(t_lc::type tLC) const;
    2929
    3030  bool         _realTime;
Note: See TracChangeset for help on using the changeset viewer.