41 return std::hash<road::element::Waypoint>()(
_waypoint);
104 double distance,
bool stop_at_junction =
false)
const;
109 double distance, std::string filter_type,
bool stop_at_junction =
false)
const;
Inherit (privately) to suppress copy/move construction and assignment.
SharedPtr< Waypoint > GetLeft() const
std::vector< SharedPtr< Landmark > > GetLandmarksOfTypeInDistance(double distance, std::string filter_type, bool stop_at_junction=false) const
Returns a list of landmarks from the current position to a certain distance Filters by specified type...
auto GetSectionId() const
road::element::Waypoint _waypoint
SharedPtr< Waypoint > GetRight() const
std::optional< road::element::LaneMarking > GetLeftLaneMarking() const
SharedPtr< const Map > _parent
road::JuncId GetJunctionId() const
std::optional< road::element::LaneMarking > GetRightLaneMarking() const
bool IsPositiveDirection() const
geom::Transform _transform
double GetLaneWidth() const
SharedPtr< Lane > GetLane() const
The lane this waypoint samples.
std::vector< SharedPtr< Waypoint > > GetPrevious(double distance) const
const geom::Transform & GetTransform() const
road::element::LaneMarking::LaneChange GetLaneChange() const
std::vector< SharedPtr< Waypoint > > GetNext(double distance) const
SharedPtr< Junction > GetJunction() const
std::vector< SharedPtr< Waypoint > > GetNextUntilLaneEnd(double distance) const
Returns a list of waypoints separated by distance from the current waypoint to the end of the lane.
std::vector< SharedPtr< Landmark > > GetAllLandmarksInDistance(double distance, bool stop_at_junction=false) const
Returns a list of landmarks from the current position to a certain distance.
uint64_t GetId() const
Returns an unique Id identifying this waypoint.
std::vector< SharedPtr< Waypoint > > GetPreviousUntilLaneStart(double distance) const
Returns a list of waypoints separated by distance from the current waypoint to the start of the lane.
std::pair< const road::element::RoadInfoMarkRecord *, const road::element::RoadInfoMarkRecord * > _mark_record
SharedPtr< Road > GetRoad() const
The road this waypoint samples.
road::Lane::LaneType GetType() const
LaneType
Can be used as flags.
Each lane within a road cross section can be provided with several road markentries.
carla::SharedPtr< carla::client::Junction > Junction
This file contains definitions of common data structures used in traffic manager.
std::shared_ptr< T > SharedPtr
LaneChange
Can be used as flags.