Changeset 2473 in ntrip


Ignore:
Timestamp:
May 7, 2010, 4:20:41 PM (8 years ago)
Author:
weber
Message:

* empty log message *

Location:
trunk/BNC
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnchelp.html

    r2472 r2473  
    174174&nbsp; &nbsp; &nbsp; 3.11.2.3 <a href=#ppptropo>Estimate Tropo</a><br>
    175175&nbsp; &nbsp; &nbsp; 3.11.2.4 <a href=#pppglo>Use GLONASS</a><br>
    176 &nbsp; &nbsp; &nbsp; 3.11.3 <a href=#pppnmearef>Plot Origin</a><br>
    177 &nbsp; &nbsp; &nbsp; 3.11.4 <a href=#pppnmeaout>NMEA</a><br>
    178 &nbsp; &nbsp; &nbsp; 3.11.4.1 <a href=#pppnmeafile>File</a><br>
    179 &nbsp; &nbsp; &nbsp; 3.11.4.2 <a href=#pppnmeaport>Port</a><br><br>
     176&nbsp; &nbsp; &nbsp; 3.11.3 <a href=#pppsigma>Sigma Code</a><br>
     177&nbsp; &nbsp; &nbsp; 3.11.4 <a href=#pppnmearef>Plot Origin</a><br>
     178&nbsp; &nbsp; &nbsp; 3.11.5 <a href=#pppnmeaout>NMEA</a><br>
     179&nbsp; &nbsp; &nbsp; 3.11.5.1 <a href=#pppnmeafile>File</a><br>
     180&nbsp; &nbsp; &nbsp; 3.11.5.2 <a href=#pppnmeaport>Port</a><br><br>
    1801813.12. <a href=#streams>Streams</a><br>
    181182&nbsp; &nbsp; &nbsp; 3.12.1 <a href=#streamedit>Edit Streams</a><br>
     
    11111112</p>
    11121113
    1113 <p><a name="pppnmearef"><h4>3.11.3 Plot Origin - optional</h4></p>
     1114<p><a name="pppsigma"><h4>3.11.3 Sigma Code - mandatory if 'Use Phase Obs' is set</h4></p>
     1115<p>
     1116When 'Use phase obs' is set in BNC the PPP solution will be carried out using both code and phase observations. A sigma of 5.0 m for code observations and a sigma of 0.02 m for phase observations (defauls) is used to combine both types of observations.
     1117As the convergence characteristic of a PPP solution can be influenced by the relation between the sigmas for code and phase observations, you may like to introduce you own sigma for code observations which differs from the default of 5.0 m.
     1118<ul>
     1119<li>Introducing a smaller sigma (higher accuracy) for code observations leads to better results shortly after the program start. However, it may take more time till you finally get the best possible coordinates.</li>
     1120<li>Introducing a higher sigma (lower accuracy) for code observations may lead to a prolonged convergence time but more rapidly provide the final accurate coordinates.</li>
     1121</ul>
     1122</p>
     1123<p>
     1124Note that only values between 0.3 m and 50.0 m are accepted as code sigma.
     1125</p>
     1126
     1127<p><a name="pppnmearef"><h4>3.11.4 Plot Origin - optional</h4></p>
    11141128<p>
    11151129Select an origin for North/East/Up time series plots of derived coordinates in the 'PPP Plot' tab. Note that this makes only sense for a stationary receiver. Available options are
     
    11331147</p>
    11341148
    1135 <p><a name="pppnmeaout"><h4>3.11.4 NMEA</h4></p>
     1149<p><a name="pppnmeaout"><h4>3.11.5 NMEA</h4></p>
    11361150<p>
    11371151BNC allows to output results from Point Positioning in NMEA format. The NMEA messages generated are
     
    11421156</p>
    11431157
    1144 <p><a name="pppnmeafile"><h4>3.11.4.1 File - optional</h4></p>
     1158<p><a name="pppnmeafile"><h4>3.11.5.1 File - optional</h4></p>
    11451159<p>
    11461160Specify the full path to a file where Point Positioning results are saved as NMEA messages. The generated NMEA file begins with a single GPRMC message which carries only date and time information. The default value for 'File (full path)' is an empty option field, meaning that BNC will not saved NMEA messages into a file.
    11471161</p>
    11481162
    1149 <p><a name="pppnmeaport"><h4>3.11.4.2 Port - optional</h4></p>
     1163<p><a name="pppnmeaport"><h4>3.11.5.2 Port - optional</h4></p>
    11501164<p>
    11511165Specify the IP port number of a local port where Point Positioning results become available as NMEA messages. The default value for 'Port' is an empty option field, meaning that BNC does not provide NMEA messsages vi IP port. Note that the NMEA file output and the NMEA IP port output are the same.
  • trunk/BNC/bncmodel.cpp

    r2467 r2473  
    6666const double   sig_amb_0_GPS    =  100.0;
    6767const double   sig_amb_0_GLO    = 1000.0;
    68 const double   sig_P3           =    5.0; // was 20.0, GW
     68//const double   sig_P3           =    20.0;
    6969const double   sig_L3_GPS       =    0.02;
    7070const double   sig_L3_GLO       =    0.02;
     
    7979  index_old = 0;
    8080  xx        = 0.0;
     81
    8182}
    8283
     
    530531t_irc bncModel::update(t_epoData* epoData) {
    531532
     533  bncSettings settings;
     534  double sig_P3;
     535  sig_P3 = 5.0;
     536  if ( Qt::CheckState(settings.value("pppUsePhase").toInt()) == Qt::Checked ) {
     537    sig_P3 = settings.value("pppSigC").toDouble();
     538    if (sig_P3 < 0.3 || sig_P3 > 50.0) {
     539      sig_P3 = 5.0;
     540    }
     541  }
     542
    532543  _log.clear(); 
    533544
     
    730741  // NEU Output
    731742  // ----------
    732   bncSettings settings;
    733743  if (settings.value("pppOrigin").toString() == "X Y Z") {
    734744    double xyzRef[3];
  • trunk/BNC/bncsettings.cpp

    r2399 r2473  
    7979    setValue("pppMount",         "");
    8080    setValue("pppSPP",           "PPP");
     81    setValue("pppSigC",          "5.0");
    8182    setValue("pppStatic",        "");
    8283    setValue("pppUsePhase",      "");
  • trunk/BNC/bncwindow.cpp

    r2436 r2473  
    341341  _pppNMEALineEdit     = new QLineEdit(settings.value("nmeaFile").toString());
    342342  _pppNMEAPortLineEdit = new QLineEdit(settings.value("nmeaPort").toString());
     343  _pppSigCLineEdit  = new QLineEdit(settings.value("pppSigC").toString());
    343344  _pppRefCrdXLineEdit  = new QLineEdit(settings.value("pppRefCrdX").toString());
    344345  _pppRefCrdYLineEdit  = new QLineEdit(settings.value("pppRefCrdY").toString());
    345346  _pppRefCrdZLineEdit  = new QLineEdit(settings.value("pppRefCrdZ").toString());
     347
    346348  _pppOriginComboBox = new QComboBox();
    347349  _pppOriginComboBox->setEditable(false);
     
    351353    _pppOriginComboBox->setCurrentIndex(ij);
    352354  }
     355
    353356  _pppSPPComboBox = new QComboBox();
    354357  _pppSPPComboBox->setEditable(false);
     
    375378
    376379  connect(_pppOriginComboBox, SIGNAL(currentIndexChanged(const QString &)),
     380          this, SLOT(slotBncTextChanged()));
     381
     382  connect(_pppUsePhaseCheckBox, SIGNAL(stateChanged(int)),
    377383          this, SLOT(slotBncTextChanged()));
    378384
     
    462468  _pppNMEAPortLineEdit->setWhatsThis(tr("<p>Specify an IP port number to output PPP results as NMEA messages through an IP port.</p>"));
    463469  _pppOriginComboBox->setWhatsThis(tr("<p>Select an origin for North/East/Up time series plots in the 'PPP Plot' tab. This option makes only sense for a stationary receiver.</p>"));
     470  _pppSigCLineEdit->setWhatsThis(tr("<p>Enter a sigma for your code observations in meters.</p><p>5.0 (default) is likely to be an appropriate choice.</p>"));
    464471  _pppRefCrdXLineEdit->setWhatsThis(tr("<p>You may enter reference coordinates of the receiver position if known. The time series plots shown in the 'PPP Plot' tab will then be referred to these values.</p>"));
    465472  _pppRefCrdYLineEdit->setWhatsThis(tr("<p>You may enter reference coordinates of the receiver position if known. The time series plots shown in the 'PPP Plot' tab will then be referred to these values.</p>"));
     
    699706  // ----------
    700707  QGridLayout* pppLayout = new QGridLayout;
     708  _pppSigCLineEdit->setMaximumWidth(5*ww);
    701709  _pppRefCrdXLineEdit->setMaximumWidth(14*ww);
    702710  _pppRefCrdYLineEdit->setMaximumWidth(14*ww);
     
    718726  pppLayout->addWidget(_pppGLONASSCheckBox,                  1, 7);
    719727  pppLayout->addWidget(new QLabel("Use GLONASS"),            1, 8);
    720   pppLayout->addWidget(new QLabel("Plot origin"),            2, 0);
    721   pppLayout->addWidget(_pppOriginComboBox,                   2, 1, 1, 2);
    722   pppLayout->addWidget(new QLabel("  "),                     2, 3);
    723   pppLayout->addWidget(_pppRefCrdXLineEdit,                  2, 4);
    724   pppLayout->addWidget(new QLabel("  "),                     2, 5);
    725   pppLayout->addWidget(_pppRefCrdYLineEdit,                  2, 6);
    726   pppLayout->addWidget(new QLabel("  "),                     2, 7);
    727   pppLayout->addWidget(_pppRefCrdZLineEdit,                  2, 8);
    728   pppLayout->addWidget(new QLabel("NMEA File (full path)"),  3, 0);
    729   pppLayout->addWidget(_pppNMEALineEdit,                     3, 1, 1, 6);
    730   pppLayout->addWidget(new QLabel("Port"),                   3, 7);
    731   pppLayout->addWidget(_pppNMEAPortLineEdit,                 3, 8);
    732   pppLayout->addWidget(new QLabel("Coordinates from Precise Point Positioning (PPP)."),4, 0,1,15);
    733   pppLayout->addWidget(new QLabel("    "),                   5, 0);
     728  pppLayout->addWidget(new QLabel("Sigma code"),             2, 0);
     729  pppLayout->addWidget(_pppSigCLineEdit,                     2, 1);
     730  pppLayout->addWidget(new QLabel("Plot origin"),            3, 0);
     731  pppLayout->addWidget(_pppOriginComboBox,                   3, 1, 1, 2);
     732  pppLayout->addWidget(new QLabel("  "),                     3, 3);
     733  pppLayout->addWidget(_pppRefCrdXLineEdit,                  3, 4);
     734  pppLayout->addWidget(new QLabel("  "),                     3, 5);
     735  pppLayout->addWidget(_pppRefCrdYLineEdit,                  3, 6);
     736  pppLayout->addWidget(new QLabel("  "),                     3, 7);
     737  pppLayout->addWidget(_pppRefCrdZLineEdit,                  3, 8);
     738  pppLayout->addWidget(new QLabel("NMEA File (full path)"),  4, 0);
     739  pppLayout->addWidget(_pppNMEALineEdit,                     4, 1, 1, 6);
     740  pppLayout->addWidget(new QLabel("Port"),                   4, 7);
     741  pppLayout->addWidget(_pppNMEAPortLineEdit,                 4, 8);
     742
     743  pppLayout->addWidget(new QLabel("Coordinates from Precise Point Positioning (PPP)."),5, 0,1,15);
    734744  pppgroup->setLayout(pppLayout);
    735745
     
    10451055  settings.setValue("nmeaFile",    _pppNMEALineEdit->text());
    10461056  settings.setValue("nmeaPort",    _pppNMEAPortLineEdit->text());
     1057  settings.setValue("pppSigC",     _pppSigCLineEdit->text());
    10471058  settings.setValue("pppRefCrdX",  _pppRefCrdXLineEdit->text());
    10481059  settings.setValue("pppRefCrdY",  _pppRefCrdYLineEdit->text());
     
    13971408  QPalette palette_white(QColor(255, 255, 255));
    13981409  QPalette palette_gray(QColor(230, 230, 230));
     1410  bncSettings settings;
    13991411
    14001412  // Proxy
     
    15861598  // ----------
    15871599  if (sender() == 0 || sender() == _pppMountLineEdit
    1588      || sender() == _pppOriginComboBox) {
     1600     || sender() == _pppOriginComboBox || sender() == _pppUsePhaseCheckBox ) {
    15891601    if (!_pppMountLineEdit->text().isEmpty()) {
    15901602      _pppSPPComboBox->setPalette(palette_white);
     
    16261638        _pppRefCrdZLineEdit->setEnabled(false);
    16271639      }
     1640      if (_pppUsePhaseCheckBox->isChecked()
     1641         && !_pppMountLineEdit->text().isEmpty()) {
     1642        _pppSigCLineEdit->setPalette(palette_white);
     1643        _pppSigCLineEdit->setEnabled(true);
     1644      }
     1645      else {
     1646        _pppSigCLineEdit->setPalette(palette_gray);
     1647        _pppSigCLineEdit->setEnabled(false);
     1648      }
    16281649    } else {
    16291650      _pppSPPComboBox->setPalette(palette_gray);
     
    16381659      _pppGLONASSCheckBox->setPalette(palette_gray);
    16391660      _pppOriginComboBox->setPalette(palette_gray);
     1661      _pppSigCLineEdit->setPalette(palette_gray);
    16401662      _pppSPPComboBox->setEnabled(false);
    16411663      _pppNMEALineEdit->setEnabled(false);
     
    16491671      _pppGLONASSCheckBox->setEnabled(false);
    16501672      _pppOriginComboBox->setEnabled(false);
    1651     }
    1652   }
    1653 }
     1673      _pppSigCLineEdit->setEnabled(false);
     1674    }
     1675  }
     1676}
  • trunk/BNC/bncwindow.h

    r2386 r2473  
    116116    QLineEdit* _pppNMEALineEdit;
    117117    QLineEdit* _pppNMEAPortLineEdit;
     118    QLineEdit* _pppSigCLineEdit;
     119    QLineEdit* _pppSigPLineEdit;
    118120    QLineEdit* _pppRefCrdXLineEdit;
    119121    QLineEdit* _pppRefCrdYLineEdit;
Note: See TracChangeset for help on using the changeset viewer.