Changeset 1268 in ntrip for trunk/BNC/RTCM


Ignore:
Timestamp:
Dec 2, 2008, 10:31:46 PM (15 years ago)
Author:
zdenek
Message:

* empty log message *

Location:
trunk/BNC/RTCM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM/GPSDecoder.h

    r1239 r1268  
    136136  }
    137137
    138   QList<p_obs> _obsList;
    139   QList<int> _typeList; // RTCMv3 message types
    140   QList<int> _epochList; // Broadcast corrections
    141   QStringList _antType; // RTCMv3 antenna descriptor
    142   QList<double> _antList5; // RTCMv3 antenna XYZ
    143   QList<double> _antList6; // RTCMv3 antenna XYZ & H
     138  struct t_antInfo {
     139    enum t_type { ARP, APC };
     140
     141    t_antInfo() {
     142      xx = yy = zz = height = 0.0;
     143      type = ARP;
     144      height_f = false;
     145      message  = 0;
     146    };
     147
     148    double xx;
     149    double yy;
     150    double zz;
     151    t_type type;
     152    double height;
     153    bool   height_f;
     154    int    message;
     155  };
     156
     157  QList<p_obs>     _obsList;
     158  QList<int>       _typeList;  // RTCM   message types
     159  QList<int>       _epochList; // Broadcast corrections
     160  QStringList      _antType;   // RTCMv3 antenna descriptor
     161  QList<t_antInfo> _antList;   // RTCM   antenna XYZ
    144162};
    145163
  • trunk/BNC/RTCM/RTCM2Decoder.cpp

    r1218 r1268  
    124124      }
    125125    }
     126   
     127    // Store message number
     128    _typeList.push_back(_PP.ID());
    126129
    127130    if ( _PP.ID()==18 || _PP.ID()==19 ) {   
     
    178181    else if ( _PP.ID() == 22 ) {
    179182      _msg22.extract(_PP);
     183    }
     184
     185    // Output for RTCM scan
     186    if ( _PP.ID() == 3 ) {
     187      _antList.push_back(t_antInfo());
     188
     189      this->getStaCrd(_antList.back().xx, _antList.back().yy, _antList.back().zz);
     190
     191      _antList.back().type     = t_antInfo::APC;
     192      _antList.back().message  = _PP.ID();
    180193    }
    181194  }
Note: See TracChangeset for help on using the changeset viewer.