Changeset 9807 in ntrip


Ignore:
Timestamp:
Aug 23, 2022, 2:08:11 PM (2 years ago)
Author:
stuerze
Message:

minor changes

Location:
trunk/BNC
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/Example_Configs/12_PPPOsm.bnc

    r9791 r9807  
    2929ephVersion=4
    3030font=
    31 logFile=Output/PPP_OSM.log
     31logFile=Output/PPPOsm.log
    3232miscIntr=
    3333miscMount=
     
    106106sp3CompOutLogFile=
    107107sslCaCertPath=
     108sslClientCertPath=
    108109sslIgnoreErrors=2
    109110startTab=14
  • trunk/BNC/src/PPP/pppSatObs.cpp

    r9669 r9807  
    471471      if (OPT->_isAPC && found) {
    472472        // the PCOs as given in the satellite antenna correction for all frequencies
    473         // have to be reduced by the PCO of the reference frequency
     473        // have to be reduced by the PCO of the respective reference frequency
    474474        if      (_prn.system() == 'G') {
    475475          _model._antPCO[ii] -= PPP_CLIENT->antex()->satCorr(prn, t_frequency::G1, _model._elTx, _model._azTx, found);
  • trunk/BNC/src/map/bncmapwin.cpp

    r9802 r9807  
    4747bncMapWin::bncMapWin(QWidget* parent) : QDialog(parent) {
    4848
     49  _initMap = false;
     50
    4951  const int ww = QFontMetrics(font()).width('w');
    5052
     
    8486
    8587  show();
     88
    8689}
    8790
     
    114117    return;
    115118  }
     119  _initMap = true;
     120
    116121  bncSettings settings;
    117122  int mapWinDotSize = settings.value("PPP/mapWinDotSize").toInt();
     
    127132////////////////////////////////////////////////////////////////////////////
    128133void bncMapWin::gotoLocation(double lat, double lon) {
     134  if (!lat && !lon) {
     135    return;
     136  }
    129137  _currLat = lat;
    130138  _currLon = lon;
    131 
    132   if (!_webView->page()) {
    133     return;
    134   }
    135139
    136140  int    latDeg, latMin;
     
    157161    return;
    158162  }
    159 
     163  if (!_initMap) {
     164    return;
     165  }
    160166  double ell[3];
    161   xyz2ell(xx.data(), ell);
     167  if (xyz2ell(xx.data(), ell) == failure) {
     168    return;
     169  }
    162170  gotoLocation(ell[0]*180.0/M_PI, ell[1]*180.0/M_PI);
    163171}
  • trunk/BNC/src/map/bncmapwin.h

    r8909 r9807  
    6262  double           _currLon;
    6363  QByteArray       _staID;
     64  bool             _initMap;
    6465};
    6566
Note: See TracChangeset for help on using the changeset viewer.