scenario_simulator_v2 C++ API
Namespaces | Functions
lanelet_map.cpp File Reference
#include <lanelet2_core/primitives/BasicRegulatoryElements.h>
#include <lanelet2_routing/RoutingGraphContainer.h>
#include <autoware_lanelet2_extension/utility/utilities.hpp>
#include <geometry/vector3/hypot.hpp>
#include <geometry/vector3/normalize.hpp>
#include <traffic_simulator/helper/helper.hpp>
#include <traffic_simulator/lanelet_wrapper/lanelet_map.hpp>
#include <traffic_simulator/lanelet_wrapper/pose.hpp>
Include dependency graph for lanelet_map.cpp:

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 >
 
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