scenario_simulator_v2 C++ API
Namespaces | Functions
route.cpp File Reference
#include <lanelet2_core/utility/Units.h>
#include <traffic_simulator/lanelet_wrapper/lanelet_map.hpp>
#include <traffic_simulator/lanelet_wrapper/lanelet_wrapper.hpp>
#include <traffic_simulator/lanelet_wrapper/route.hpp>
Include dependency graph for route.cpp:

Namespaces

 traffic_simulator
 
 traffic_simulator::lanelet_wrapper
 
 traffic_simulator::lanelet_wrapper::route
 

Functions

auto traffic_simulator::lanelet_wrapper::route::isInRoute (const lanelet::Id lanelet_id, const lanelet::Ids &route_lanelets_ids) -> bool
 
auto traffic_simulator::lanelet_wrapper::route::speedLimit (const lanelet::Ids &lanelet_ids, const RoutingGraphType type=RoutingConfiguration().routing_graph_type) -> double
 
auto traffic_simulator::lanelet_wrapper::route::routeFromGraph (const lanelet::Id from_lanelet_id, const lanelet::Id to_lanelet_id, const RoutingConfiguration &routing_configuration=RoutingConfiguration()) -> lanelet::Ids
 
auto traffic_simulator::lanelet_wrapper::route::followingLanelets (const lanelet::Id lanelet_id, const lanelet::Ids &candidate_lanelet_ids, const double distance=100, const bool include_self=true, const RoutingGraphType type=RoutingConfiguration().routing_graph_type) -> lanelet::Ids
 
auto traffic_simulator::lanelet_wrapper::route::followingLanelets (const lanelet::Id lanelet_id, const double distance=100, const bool include_self=true, const RoutingGraphType type=RoutingConfiguration().routing_graph_type) -> lanelet::Ids
 
auto traffic_simulator::lanelet_wrapper::route::previousLanelets (const lanelet::Id current_lanelet_id, const double backward_horizon=100, const RoutingGraphType type=RoutingConfiguration().routing_graph_type) -> lanelet::Ids