scenario_simulator_v2 C++ API
Namespaces | Typedefs | Functions
lane_change.hpp File Reference
#include <traffic_simulator/data_type/lane_change.hpp>
#include <traffic_simulator/lanelet_wrapper/lanelet_wrapper.hpp>
Include dependency graph for lane_change.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::lane_change
 

Typedefs

using traffic_simulator::lanelet_wrapper::lane_change::Parameter = traffic_simulator::lane_change::Parameter
 
using traffic_simulator::lanelet_wrapper::lane_change::Direction = traffic_simulator::lane_change::Direction
 
using traffic_simulator::lanelet_wrapper::lane_change::Constraint = traffic_simulator::lane_change::Constraint
 
using traffic_simulator::lanelet_wrapper::lane_change::TrajectoryShape = traffic_simulator::lane_change::TrajectoryShape
 

Functions

auto traffic_simulator::lanelet_wrapper::lane_change::canChangeLane (const lanelet::Id from_lanelet_id, const lanelet::Id to_lanelet_id, const RoutingGraphType type=RoutingConfiguration().routing_graph_type) -> bool
 
auto traffic_simulator::lanelet_wrapper::lane_change::laneChangeableLaneletId (const lanelet::Id lanelet_id, const Direction &direction, const RoutingGraphType type=RoutingConfiguration().routing_graph_type) -> std::optional< lanelet::Id >
 
auto traffic_simulator::lanelet_wrapper::lane_change::laneChangeableLaneletId (const lanelet::Id lanelet_id, const Direction &direction, const std::uint8_t shift, const RoutingGraphType type=RoutingConfiguration().routing_graph_type) -> std::optional< lanelet::Id >
 
auto traffic_simulator::lanelet_wrapper::lane_change::countLaneChanges (const lanelet::Id &from_lanelet_id, const lanelet::Id &to_lanelet_id, const RoutingConfiguration &routing_configuration=RoutingConfiguration()) -> std::optional< std::pair< int, int >>
 
auto traffic_simulator::lanelet_wrapper::lane_change::laneChangeTrajectory (const Pose &from_pose, const LaneletPose &to_lanelet_pose, const TrajectoryShape &trajectory_shape, const double tangent_vector_size) -> Curve
 
auto traffic_simulator::lanelet_wrapper::lane_change::laneChangeTrajectory (const LaneletPose &from_lanelet_pose, const Parameter &lane_change_parameter) -> std::optional< std::pair< Curve, double >>
 
auto traffic_simulator::lanelet_wrapper::lane_change::laneChangeTrajectory (const Pose &from_pose, const Parameter &lane_change_parameter, const double maximum_curvature_threshold, const double target_trajectory_length, const double forward_distance_threshold) -> std::optional< std::pair< Curve, double >>