TnEHProvider
Public Member Functions | List of all members
tn::ehp::MMFeedback Class Referenceabstract

map matching feedback to DR More...

#include <tn_mm_feedback.h>

Public Member Functions

virtual ~MMFeedback ()
 
virtual uint64_t getDrTimeStamp () const =0
 get the time stamp of the raw GPS data. this is CPU time stamp in milliseconds More...
 
virtual double getLatitude () const =0
 latitude of the location of map matching feedback in WGS84. More...
 
virtual double getLongtitude () const =0
 longtitude of the location of map matching feedback in WGS84. More...
 
virtual uint16_t getMMHeading () const =0
 get the heading of map matching feedback, in unit of degree, North is zero; clockwise; 0-359, UINT16_MAX as invalid More...
 
virtual float getMMSpeed () const =0
 get the speed of map matching feedback, in unit of m/s More...
 
virtual double getMMBestPosUnc () const =0
 get best axis position error uncertainty, 1 sigma m More...
 
virtual double getMMWorstPosUnc () const =0
 get Worst axis position error uncertainty, 1 sigma m More...
 
virtual double getMMAnglePosUnc () const =0
 get angle of best axis relative to north, radians More...
 
virtual double getMMHdgUnc () const =0
 get heading error uncertainty, 1 sigma radians More...
 
virtual bool IsRightHandTraffic () const =0
 Is right hand traffic. More...
 
virtual bool IsOneWayEdge () const =0
 Is one way edge. More...
 
virtual bool IsInServiceArea () const =0
 whether vehicle is on the roads inside service area More...
 
virtual bool IsInParkingLot () const =0
 whether vehicle is on the roads inside parking lot More...
 
virtual bool IsTunnel () const =0
 whether car in tunnel More...
 
virtual bool IsOffRoad () const =0
 whether car off road More...
 
virtual bool IsFerry () const =0
 whether car on ferry. More...
 
virtual float getAltitude () const =0
 get the altitude of the map matched position. less than -1000 meters will be considered as invalid, unit: meters More...
 
virtual uint16_t getMMConfidence () const =0
 get the MM confidence level. range: 0 to 6. 0 is the highest confidence, 6 is the lowest confidence. More...
 
virtual uint16_t getMMProbability () const =0
 get the MM probability level. range: 0 to 30. 30 is the highest probability, 0 is the lowest probability. More...
 
virtual uint16_t getRoadCandidates () const =0
 get the number of candidates More...
 
virtual int getNumberOfLanes () const =0
 get number of lanes in the traffic direction user is driving, 0 if unsure More...
 

Detailed Description

map matching feedback to DR

Definition at line 22 of file tn_mm_feedback.h.

Constructor & Destructor Documentation

◆ ~MMFeedback()

virtual tn::ehp::MMFeedback::~MMFeedback ( )
inlinevirtual

Definition at line 25 of file tn_mm_feedback.h.

Member Function Documentation

◆ getAltitude()

virtual float tn::ehp::MMFeedback::getAltitude ( ) const
pure virtual

get the altitude of the map matched position. less than -1000 meters will be considered as invalid, unit: meters

Parameters
N/A
Returns
altitude

◆ getDrTimeStamp()

virtual uint64_t tn::ehp::MMFeedback::getDrTimeStamp ( ) const
pure virtual

get the time stamp of the raw GPS data. this is CPU time stamp in milliseconds

Parameters
N/A
Returns
DR time stamp

◆ getLatitude()

virtual double tn::ehp::MMFeedback::getLatitude ( ) const
pure virtual

latitude of the location of map matching feedback in WGS84.

Note
(90.0) as default represents invalid.
Parameters
N/A
Returns
latitude in WGS84

◆ getLongtitude()

virtual double tn::ehp::MMFeedback::getLongtitude ( ) const
pure virtual

longtitude of the location of map matching feedback in WGS84.

Note
(180.0) as default represents invalid.
Parameters
N/A
Returns
longtitude in WGS84

◆ getMMAnglePosUnc()

virtual double tn::ehp::MMFeedback::getMMAnglePosUnc ( ) const
pure virtual

get angle of best axis relative to north, radians

Parameters
N/A
Returns
Radians.

◆ getMMBestPosUnc()

virtual double tn::ehp::MMFeedback::getMMBestPosUnc ( ) const
pure virtual

get best axis position error uncertainty, 1 sigma m

Parameters
N/A
Returns
Meters.

◆ getMMConfidence()

virtual uint16_t tn::ehp::MMFeedback::getMMConfidence ( ) const
pure virtual

get the MM confidence level. range: 0 to 6. 0 is the highest confidence, 6 is the lowest confidence.

Parameters
N/A
Returns
confidence level

◆ getMMHdgUnc()

virtual double tn::ehp::MMFeedback::getMMHdgUnc ( ) const
pure virtual

get heading error uncertainty, 1 sigma radians

Parameters
N/A
Returns
Radians.

◆ getMMHeading()

virtual uint16_t tn::ehp::MMFeedback::getMMHeading ( ) const
pure virtual

get the heading of map matching feedback, in unit of degree, North is zero; clockwise; 0-359, UINT16_MAX as invalid

Parameters
N/A
Returns
map matching feedback heading

◆ getMMProbability()

virtual uint16_t tn::ehp::MMFeedback::getMMProbability ( ) const
pure virtual

get the MM probability level. range: 0 to 30. 30 is the highest probability, 0 is the lowest probability.

Parameters
N/A
Returns
probality level

◆ getMMSpeed()

virtual float tn::ehp::MMFeedback::getMMSpeed ( ) const
pure virtual

get the speed of map matching feedback, in unit of m/s

Parameters
N/A
Returns
map matching feedback speed

◆ getMMWorstPosUnc()

virtual double tn::ehp::MMFeedback::getMMWorstPosUnc ( ) const
pure virtual

get Worst axis position error uncertainty, 1 sigma m

Parameters
N/A
Returns
Meters.

◆ getNumberOfLanes()

virtual int tn::ehp::MMFeedback::getNumberOfLanes ( ) const
pure virtual

get number of lanes in the traffic direction user is driving, 0 if unsure

Parameters
N/A
Returns
count

◆ getRoadCandidates()

virtual uint16_t tn::ehp::MMFeedback::getRoadCandidates ( ) const
pure virtual

get the number of candidates

Parameters
N/A
Returns
the number of candidates

◆ IsFerry()

virtual bool tn::ehp::MMFeedback::IsFerry ( ) const
pure virtual

whether car on ferry.

Parameters
N/A
Returns
Boolean. True if vehicle may be on a ferry.

◆ IsInParkingLot()

virtual bool tn::ehp::MMFeedback::IsInParkingLot ( ) const
pure virtual

whether vehicle is on the roads inside parking lot

Parameters
N/A
Returns
Boolean. True if vehicle is on the roads inside parking lot

◆ IsInServiceArea()

virtual bool tn::ehp::MMFeedback::IsInServiceArea ( ) const
pure virtual

whether vehicle is on the roads inside service area

Parameters
N/A
Returns
Boolean. True if vehicle is on the roads inside service area

◆ IsOffRoad()

virtual bool tn::ehp::MMFeedback::IsOffRoad ( ) const
pure virtual

whether car off road

Parameters
N/A
Returns
Boolean. TRUE = map indicates may be offroad

◆ IsOneWayEdge()

virtual bool tn::ehp::MMFeedback::IsOneWayEdge ( ) const
pure virtual

Is one way edge.

Parameters
N/A
Returns
Boolean. TRUE = one-way road center; FALSE = two-way road center[YES]

◆ IsRightHandTraffic()

virtual bool tn::ehp::MMFeedback::IsRightHandTraffic ( ) const
pure virtual

Is right hand traffic.

Parameters
N/A
Returns
Boolean. TRUE = (Americas, Europe); FALSE = (Japan, UK, India, Australia)

◆ IsTunnel()

virtual bool tn::ehp::MMFeedback::IsTunnel ( ) const
pure virtual

whether car in tunnel

Parameters
N/A
Returns
Boolean. TRUE = map is currently in tunnel

The documentation for this class was generated from the following file: