Changeset 3734 in ntrip


Ignore:
Timestamp:
Mar 26, 2012, 2:21:59 PM (13 years ago)
Author:
stoecker
Message:

fix crash with Galileo ephemeris available, some other valgrind fixes as well

Location:
trunk/BNC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM3/ephemeris.cpp

    r3700 r3734  
    7575  _TOC  = ee->TOC;
    7676  _TOE  = ee->TOE;
    77   _IODE = ee->IODE;             
    78   _IODC = ee->IODC;             
    79 
    80   _clock_bias      = ee->clock_bias     ;
    81   _clock_drift     = ee->clock_drift    ;
     77  _IODE = ee->IODE;
     78  _IODC = ee->IODC;
     79
     80  _clock_bias      = ee->clock_bias;
     81  _clock_drift     = ee->clock_drift;
    8282  _clock_driftrate = ee->clock_driftrate;
    8383
     
    101101
    102102  _ok       = true;
     103
     104  /* FIXME: convert URAindex and flags! */
     105  _ura = 0;
     106  _L2Codes = 0;
     107  _L2PFlag = 0;
     108  _health = ee->SVhealth;
    103109}
    104110
     
    596602  _TOC    = ee->TOC;
    597603  _TOE    = ee->TOE;
    598   _IODnav = ee->IODnav;             
    599 
    600   _clock_bias      = ee->clock_bias     ;
    601   _clock_drift     = ee->clock_drift    ;
     604  _IODnav = ee->IODnav;
     605
     606  _clock_bias      = ee->clock_bias;
     607  _clock_drift     = ee->clock_drift;
    602608  _clock_driftrate = ee->clock_driftrate;
    603609
     
    617623  _OMEGADOT = ee->OMEGADOT;
    618624  _IDOT     = ee->IDOT;
     625  _SISA     = ee->SISA;
     626  _BGD_1_5A = ee->BGD_1_5A;
     627  _BGD_1_5B = ee->BGD_1_5B;
     628  _E5aHS    = ee->E5aHS;
    619629
    620630  _ok = true;
  • trunk/BNC/bncapp.cpp

    r3637 r3734  
    283283  printEphHeader();
    284284
    285   int galIndex = galileoeph->satellite - 51;
     285  int galIndex = galileoeph->satellite;
     286  /* GIOVE */
     287  if(galIndex == 51) galIndex = 1;
     288  else if(galIndex == 52) galIndex = 16;
    286289  if (galIndex < 0 || galIndex > PRN_GALILEO_END - PRN_GALILEO_START) {
    287290    emit( newMessage("Wrong Galileo Satellite Number", true) );
  • trunk/BNC/bncgetthread.cpp

    r3595 r3734  
    108108  if (!settings.value("rawOutFile").toString().isEmpty()) {
    109109    _rawOutput = true;
     110  } else {
     111    _rawOutput = false;
    110112  }
    111113
Note: See TracChangeset for help on using the changeset viewer.