Changeset 180 in flair-src for trunk/lib/FlairCore/src/GpsData.h


Ignore:
Timestamp:
05/31/17 15:53:32 (7 years ago)
Author:
Sanahuja Guillaume
Message:

modifs gps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairCore/src/GpsData.h

    r167 r180  
    4141      size += UInt8Type.GetSize(); // FixQuality_t
    4242      size += 5*floatType.GetSize();//e,n,u,ve,vn
     43      size += 3*floatType.GetSize();//pdop,hdop,vdop
    4344      return size;
    4445    }
     
    6263    EastVelocity /*! east velocity*/,
    6364    NorthVelocity /*! north velocity*/,
     65    Pdop /* dilution of precision*/,
     66    Hdop /* horizontal dilution of precision*/,
     67    Vdop /* vertical dilution of precision*/,
    6468  } PlotableData_t;
    6569
     
    214218  */
    215219  void SetFixQuality(FixQuality_t fixQuality);
     220 
     221  /*!
     222  * \brief Get dilution of precision
     223  *
     224  * This method is mutex protected.
     225  *
     226  * \param pDop dilution of precision
     227  * \param hDop horizontal dilution of precision
     228  * \param vDop vertical dilution of precision
     229  *
     230  */
     231  void GetDop(float &pDop, float &hDop,float &vDop) const;
     232
     233  /*!
     234  * \brief Set dilution of precision
     235  *
     236  * This method is mutex protected.
     237  *
     238  * \param pDop dilution of precision
     239  * \param hDop horizontal dilution of precision
     240  * \param vDop vertical dilution of precision
     241  *
     242  */
     243  void SetDop(float pDop, float hDop,float vDop);
    216244
    217245  Type const &GetDataType() const { return dataType; }
     
    234262  uint8_t numberOfSatellites;
    235263  FixQuality_t fixQuality;
    236   float east,north,up,eastVelocity,northVelocity;
     264  float east,north,up,eastVelocity,northVelocity,pDop,hDop,vDop;
    237265};
    238266
Note: See TracChangeset for help on using the changeset viewer.