Beispiel #1
0
 /** 
  * set the SvMode for all SVs
  * \param mode #SvMode for the SVs
  * \return a reference to this object
  */
 ObsClockModel& setSvMode(const SvMode& mode) throw()
 {
    for(int prn = 1; prn <= gpstk::MAX_PRN; prn++)
    {
       SatID svid(prn, SatID::systemGPS);
       modes[svid] = mode;
    }
    return *this;
 }
Beispiel #2
0
   RinexObsData makeRinexObsData(const gpstk::MDPEpoch& mdp)
   {
      RinexObsData rod;

      rod.clockOffset=0;
      rod.numSvs = mdp.size();
      rod.epochFlag = 0;
      rod.time = mdp.begin()->second.time;

      for (MDPEpoch::const_iterator i=mdp.begin(); i!=mdp.end(); i++)
      {
         const MDPObsEpoch& moe = i->second;
         gpstk::SatID svid(moe.prn, gpstk::SatID::systemGPS);
         rod.obs[svid] = makeRinexObsTypeMap(moe);
      }
      return rod;
   }