scenario_simulator_v2 C++ API
Namespaces | Functions
lane_change.cpp File Reference
#include <geometry/quaternion/quaternion_to_euler.hpp>
#include <geometry/transform.hpp>
#include <geometry/vector3/hypot.hpp>
#include <traffic_simulator/helper/helper.hpp>
#include <traffic_simulator/lanelet_wrapper/lane_change.hpp>
#include <traffic_simulator/lanelet_wrapper/lanelet_map.hpp>
#include <traffic_simulator/lanelet_wrapper/lanelet_wrapper.hpp>
#include <traffic_simulator/lanelet_wrapper/pose.hpp>
#include <traffic_simulator/lanelet_wrapper/route.hpp>
Include dependency graph for lane_change.cpp:

Namespaces

 traffic_simulator
 
 traffic_simulator::lanelet_wrapper
 
 traffic_simulator::lanelet_wrapper::lane_change
 

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