Changeset 10805 in ntrip for trunk/BNC


Ignore:
Timestamp:
Feb 2, 2026, 11:13:04 AM (4 days ago)
Author:
stuerze
Message:

minor changes regarding ppp output

Location:
trunk/BNC/src
Files:
8 edited

Legend:

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

    r10791 r10805  
    307307        LOG << "\nPPP of Epoch ";
    308308        if (!_epoTimeRover.undef()) LOG << string(_epoTimeRover);
     309        LOG << " using " << _opt->_corrMount;
    309310        LOG << "\n---------------------------------------------------------------\n";
    310311        LOG << string(epoTime) << " BANCROFT: "
     
    369370    _output->_trp      = _filter->trp();
    370371    _output->_trpStdev = _filter->trpStdev();
     372
     373    _output->_fixRatio = _filter->fixRatio();
    371374
    372375    _output->_numSat   = _filter->numSat();
  • trunk/BNC/src/PPP/pppClient.h

    r10791 r10805  
    1818class t_pppStation;
    1919class t_pppFilter;
     20class t_tides;
    2021
    2122class t_pppClient : public interface_pppClient {
  • trunk/BNC/src/PPP/pppFilter.cpp

    r10791 r10805  
    112112  // ----------------------
    113113  cmpDOP(allObs);
    114  
     114
    115115  // Ambiguity Resolution
    116116  // --------------------
     
    120120    ColumnVector    xFix     = _xFlt;
    121121    SymmetricMatrix QFix     = _QFlt;
    122     double          fixRatio = 0.0;
    123     ambRes.run(_epoTime, _parlist->params(), QFix, xFix, fixRatio, msg);
     122    _fixRatio = 0.0;
     123    ambRes.run(_epoTime, _parlist->params(), QFix, xFix, _fixRatio, msg);
    124124    LOG << msg.str();
    125     _parlist->printResult(_epoTime, QFix, xFix, fixRatio);
     125    _parlist->printResult(_epoTime, QFix, xFix, _fixRatio);
    126126  }
    127127
  • trunk/BNC/src/PPP/pppFilter.h

    r10791 r10805  
    3030  double PDOP() const {return _dop.P;}
    3131  double GDOP() const {return _dop.G;}
     32  double fixRatio() const {return _fixRatio;}
    3233  double trp() const {
    3334    const std::vector<t_pppParam*>& par = _parlist->params();
     
    101102  bncTime         _firstEpoTime;
    102103  bncTime         _lastEpoTimeOK;
     104  double          _fixRatio;
    103105};
    104106
  • trunk/BNC/src/pppInclude.h

    r10791 r10805  
    1616
    1717const double ZEROVALUE = 1e-100;
    18  
     18
    1919class t_except {
    2020 public:
     
    4040  double       _hDop;
    4141  std::string  _log;
     42  double       _fixRatio;
    4243  bool         _error;
    4344};
     
    4849
    4950  t_lc() : _type(dummy), _frq1(t_frequency::dummy), _frq2(t_frequency::dummy) {}
    50  
     51
    5152  t_lc(type tt, t_frequency::type frq1, t_frequency::type frq2 = t_frequency::dummy)
    5253    : _type(tt), _frq1(frq1), _frq2(frq2) {
     
    8384    }
    8485  }
    85  
     86
    8687  bool includesPhase() const {
    8788    if (_type == phase || _type == phaseIF || _type == MW || _type == CL) {
     
    110111    }
    111112  }
    112  
     113
    113114  bool isGeometryFree() const {
    114115    if (_type == MW || _type == CL || _type == GIM) {
     
    119120    }
    120121  }
    121  
     122
    122123  t_frequency::type toFreq() const {
    123124    if (_frq2 != t_frequency::dummy) {
  • trunk/BNC/src/pppModel.cpp

    r10795 r10805  
    559559    ColumnVector sy = crossproduct(sz, xSun);
    560560    ColumnVector sx = crossproduct(sy, sz);
    561    
     561
    562562    if (useYaw) {
    563563      ColumnVector Omega(3);
     
    568568      vSatMod /= vSatMod.NormFrobenius();
    569569      //// beg test
    570       //// double yawDef = acos( DotProduct(sx, vSatMod));
    571       //// cout.setf(ios::fixed);
    572       //// cout << string(etime) << ' ' << prn.system() << ' ' << prn.number() << ' '
    573       ////      << ' ' << setw(7) << setprecision(3) << yaw    * 180.0 / M_PI
    574       ////      << ' ' << setw(7) << setprecision(3) << yawDef * 180.0 / M_PI << endl;
     570      double yawDef = acos( DotProduct(sx, vSatMod));
     571      LOG.setf(ios::fixed);
     572      if (etime.daysec())
     573      LOG << "yawAngle " << string(etime) << ' ' << prn.toString()
     574            << ' ' << setw(7) << setprecision(3) << yaw    * 180.0 / M_PI
     575            << ' ' << setw(7) << setprecision(3) << yawDef * 180.0 / M_PI
     576            << endl;
    575577      //// end test
    576578      sy = crossproduct(sz, vSatMod);
  • trunk/BNC/src/pppModel.h

    r10791 r10805  
    55#include <newmat.h>
    66#include <iostream>
     7#include <iomanip>
    78#include <string>
    89#include "bnctime.h"
     
    1011#include "satObs.h"
    1112#include "bncutils.h"
     13#include "pppClient.h"
    1214
    1315namespace BNC_PPP {
  • trunk/BNC/src/pppRun.cpp

    r10791 r10805  
    404404            << " TRP: " << showpos << setw(8) << setprecision(4) << output._trp0
    405405            << " "      << showpos << setw(8) << setprecision(4) << output._trp;
     406        if (output._fixRatio > 0.0) {
     407          log << " fix " <<  int(100*output._fixRatio) << " %";
     408        }
     409        else {
     410          log << " flt ";
     411        }
     412
    406413      }
    407414
Note: See TracChangeset for help on using the changeset viewer.