32 if( _eType ==
FIX_NONE )
return "none";
35 if( _eType &
FIX_3D )
return "3D / DGPS";
36 if( _eType &
FIX_2D )
return "2D / DGPS";
38 if( _eType &
FIX_3D )
return "3D";
39 if( _eType &
FIX_2D )
return "2D";
64 , bCourseFromPosition( true )
(Geographical) Course data [bearing, horizontal/vertical speeds]
void setCourse(double _fdBearing, double _fdSpeed, double _fdSpeedVertical=UNDEFINED_SPEED)
Sets course values.
(Geographical) Position data [long,lat,elev]
void setPosition(double _fdLongitude, double _fdLatitude, double _fdElevation=UNDEFINED_ELEVATION)
Sets new coordinates.
void setTime(double _fdTime)
Sets the time, in seconds from Unix epoch.
Generic data validity management class.
Dilution-of-Precision (DOP) data.
void setDop(const CDeviceDataDop &_roDeviceDataDop)
Sets (copy) the Dilution-of-Precision (HDOP, VDOP, TDOP) values from other DOP data.
Fix data [source,time,position,course,DOPs,...].
QString getTypeString() const
Returns the fix type as a human-friendly string.
double fdErrorSpeedVertical
Vertical speed error, in meters per second.
CDeviceDataFix(const QString &_rqsSourceName, int _eType=FIX_UNDEFINED, double _fdTime=CDataValidity::UNDEFINED_VALUE)
double fdErrorTime
Time error, in seconds.
int iSourcesSeen
Seen sources count (most likely satellites)
double fdErrorBearing
Bearing error, in degrees.
QString qsText
Additional textual data string.
void setFix(const CDeviceDataFix &_roDeviceDataFix, bool _bCopyTime=true, bool _bCopyPosition=true, bool _bCopyCourse=true, bool _bCopyDop=true)
Sets (copy) the fix data from another instance.
bool bCourseFromPosition
Use position to compute course.
int iSourcesUsed
Used sources count (most likely satellites)
double fdErrorVertical
Vertical position error, in meters.
double fdErrorHorizontal
Horizontal position error, in meters.
double fdErrorSpeed
Horizontal speed error, in meters per second.
Data source details [name,type].