scenario_simulator_v2 C++ API
Namespaces | Functions
lanelet_map.hpp File Reference
#include <lanelet2_core/geometry/Lanelet.h>
#include <lanelet2_core/primitives/LaneletSequence.h>
#include <traffic_simulator/lanelet_wrapper/lanelet_wrapper.hpp>
Include dependency graph for lanelet_map.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 traffic_simulator
 
 traffic_simulator::lanelet_wrapper
 
 traffic_simulator::lanelet_wrapper::lanelet_map
 

Functions

auto traffic_simulator::lanelet_wrapper::lanelet_map::isInLanelet (const lanelet::Id lanelet_id, const double lanelet_pose_s) -> bool
 
auto traffic_simulator::lanelet_wrapper::lanelet_map::isInLanelet (const lanelet::Id lanelet_id, const Point point) -> bool
 
auto traffic_simulator::lanelet_wrapper::lanelet_map::laneletLength (const lanelet::Id lanelet_id) -> double
 
auto traffic_simulator::lanelet_wrapper::lanelet_map::laneletAltitude (const lanelet::Id &lanelet_id, const geometry_msgs::msg::Pose &pose, const double matching_distance) -> std::optional< double >
 
template<typename Lanelet >
auto traffic_simulator::lanelet_wrapper::lanelet_map::laneletIds (const std::vector< Lanelet > &lanelets) -> lanelet::Ids
 
auto traffic_simulator::lanelet_wrapper::lanelet_map::laneletIds () -> lanelet::Ids
 
auto traffic_simulator::lanelet_wrapper::lanelet_map::nearbyLaneletIds (const Point &point, const double distance_threshold, const bool include_crosswalk, const std::size_t search_count) -> lanelet::Ids
 
auto traffic_simulator::lanelet_wrapper::lanelet_map::centerPoints (const lanelet::Ids &lanelet_ids) -> std::vector< Point >
 
auto traffic_simulator::lanelet_wrapper::lanelet_map::centerPoints (const lanelet::Id lanelet_id) -> std::vector< Point >
 
auto traffic_simulator::lanelet_wrapper::lanelet_map::centerPointsSpline (const lanelet::Id lanelet_id) -> std::shared_ptr< Spline >
 
auto traffic_simulator::lanelet_wrapper::lanelet_map::nextLaneletIds (const lanelet::Id lanelet_id, const RoutingGraphType type=RoutingConfiguration().routing_graph_type) -> lanelet::Ids
 
auto traffic_simulator::lanelet_wrapper::lanelet_map::nextLaneletIds (const lanelet::Ids &lanelet_ids, const RoutingGraphType type=RoutingConfiguration().routing_graph_type) -> lanelet::Ids
 
auto traffic_simulator::lanelet_wrapper::lanelet_map::nextLaneletIds (const lanelet::Id lanelet_id, std::string_view turn_direction, const RoutingGraphType type=RoutingConfiguration().routing_graph_type) -> lanelet::Ids
 
auto traffic_simulator::lanelet_wrapper::lanelet_map::nextLaneletIds (const lanelet::Ids &lanelet_ids, std::string_view turn_direction, const RoutingGraphType type=RoutingConfiguration().routing_graph_type) -> lanelet::Ids
 
auto traffic_simulator::lanelet_wrapper::lanelet_map::previousLaneletIds (const lanelet::Id lanelet_id, const RoutingGraphType type=RoutingConfiguration().routing_graph_type) -> lanelet::Ids
 
auto traffic_simulator::lanelet_wrapper::lanelet_map::previousLaneletIds (const lanelet::Ids &lanelet_ids, const RoutingGraphType type=RoutingConfiguration().routing_graph_type) -> lanelet::Ids
 
auto traffic_simulator::lanelet_wrapper::lanelet_map::previousLaneletIds (const lanelet::Id lanelet_id, std::string_view turn_direction, const RoutingGraphType type=RoutingConfiguration().routing_graph_type) -> lanelet::Ids
 
auto traffic_simulator::lanelet_wrapper::lanelet_map::previousLaneletIds (const lanelet::Ids &lanelet_ids, std::string_view turn_direction, const RoutingGraphType type=RoutingConfiguration().routing_graph_type) -> lanelet::Ids