pilot.MapMatch¶
Class¶
MapMatch describes the current position in terms of the Road Map, when possible.
Inherits from pilot.Sample.
Fields¶
-
bool
is_valid¶ If a match was found or not.
-
float
distance¶ Shortest distance from platform center to matched node or segment in [meters].
-
MapNode *
node¶ The matched pilot.MapNode if near a node.
-
RoadSegment *
segment¶ The matched pilot.RoadSegment if on a segment, which is normally the case.
-
vector<MapArea *>
areas¶ Areas the platform is inside of.