Go to the documentation of this file.
13 class LaneChangeLaneletsCollector;
56 std::unique_ptr<RoutingGraphGraph>
graph_;
PointsLaneletMap::iterator PointsLaneletMapIt
void addPointsToSearchIndex(const ConstLanelet &ll)
Adds the first and last points of a lanelet to the search index.
void assignLaneChangeCosts(ConstLanelets froms, ConstLanelets tos, const RelationType &relation)
Optional< double > participantHeight() const
Helper function to read the participant height from the configuration.
RoutingGraphBuilder(const traffic_rules::TrafficRules &trafficRules, const RoutingCostPtrs &routingCosts, const RoutingGraph::Configuration &config)
std::vector< RoutingCostPtr > RoutingCostPtrs
void addSidewayEdge(LaneChangeLaneletsCollector &laneChangeLanelets, const ConstLanelet &ll, const ConstLineString3d &bound, const RelationType &relation)
void addEdges(const ConstLanelets &lanelets, const LaneletLayer &passableLanelets)
static ConstLanelets getPassableLanelets(const LaneletLayer &lanelets, const traffic_rules::TrafficRules &trafficRules)
void addFollowingEdges(const ConstLanelet &ll)
PointsLaneletMap pointsToLanelets_
A map of tuples (first or last left and right boundary points) to lanelets.
void addConflictingEdge(const ConstLanelet &ll, const LaneletLayer &passableLanelets)
bool hasEdge(const ConstLanelet &from, const ConstLanelet &to)
static ConstAreas getPassableAreas(const AreaLayer &areas, const traffic_rules::TrafficRules &trafficRules)
std::pair< PointsLaneletMapIt, PointsLaneletMapIt > PointsLaneletMapResult
RoutingGraphUPtr build(const LaneletMapLayers &laneletMapLayers)
void addLaneChangeEdges(LaneChangeLaneletsCollector &laneChanges, const RelationType &relation)
boost::optional< T > Optional
void addAreaEdge(const ConstArea &area, const LaneletLayer &passableLanelets)
This class collects lane changable lanelets and combines them to a sequence of adjacent lanechangable...
void appendBidirectionalLanelets(ConstLanelets &llts)
const RoutingGraph::Configuration & config_
std::unique_ptr< RoutingGraph > RoutingGraphUPtr
void addLaneletsToGraph(ConstLanelets &llts)
std::multimap< IdPair, ConstLanelet > PointsLaneletMap
const traffic_rules::TrafficRules & trafficRules_
const RoutingCostPtrs & routingCosts_
void assignCosts(const ConstLaneletOrArea &from, const ConstLaneletOrArea &to, const RelationType &relation)
Assigns routing costs of each routing cost module to a relation between two lanelets.
std::unique_ptr< RoutingGraphGraph > graph_
std::set< Id > bothWaysLaneletIds_
void addAreasToGraph(ConstAreas &areas)
std::map< std::string, Attribute > Configuration
std::vector< ConstArea > ConstAreas
std::vector< ConstLanelet > ConstLanelets
lanelet2_routing
Author(s): Matthias Mayr
autogenerated on Sun Oct 27 2024 02:27:49