Class LaneletPath

Class Documentation

class LaneletPath

A lanelet path represents a set of lanelets that can be reached in order by either driving straight or doing lane changes.

Public Types

using iterator = ConstLanelets::iterator
using const_iterator = ConstLanelets::const_iterator

Public Functions

inline explicit LaneletPath(ConstLanelets lanelets = {})
inline iterator begin()
inline const_iterator begin() const
inline iterator end()
inline const_iterator end() const
inline size_t size() const
inline bool empty() const
inline const ConstLanelet &front() const
inline const ConstLanelet &back() const
inline const ConstLanelet &operator[](size_t idx) const
inline bool operator!=(const LaneletPath &other) const
inline bool operator==(const LaneletPath &other) const
LaneletSequence getRemainingLane(const_iterator laneletPosition) const

Returns all succeeding lanelets from the current position that can be reached without changing lanes.

inline LaneletSequence getRemainingLane(const ConstLanelet &llt) const