15 #ifndef TRAFFIC_SIMULATOR__LANELET_WRAPPER_LANE_CHANGE_HPP_
16 #define TRAFFIC_SIMULATOR__LANELET_WRAPPER_LANE_CHANGE_HPP_
23 namespace lanelet_wrapper
33 const lanelet::Id from_lanelet_id,
const lanelet::Id to_lanelet_id,
37 const lanelet::Id lanelet_id,
const Direction & direction,
39 -> std::optional<lanelet::Id>;
42 const lanelet::Id lanelet_id,
const Direction & direction,
const std::uint8_t shift,
44 -> std::optional<lanelet::Id>;
47 const lanelet::Id & from_lanelet_id,
const lanelet::Id & to_lanelet_id,
49 -> std::optional<std::pair<int, int>>;
58 -> std::optional<std::pair<Curve, double>>;
61 const Pose & from_pose,
const Parameter & lane_change_parameter,
62 const double maximum_curvature_threshold,
const double target_trajectory_length,
63 const double forward_distance_threshold) -> std::optional<std::pair<Curve, double>>;
TrajectoryShape
Definition: lane_change.hpp:31
Direction
Definition: lane_change.hpp:29
traffic_simulator::lane_change::Constraint Constraint
Definition: lane_change.hpp:29
auto laneChangeTrajectory(const Pose &from_pose, const LaneletPose &to_lanelet_pose, const TrajectoryShape &trajectory_shape, const double tangent_vector_size) -> Curve
Definition: lane_change.cpp:107
auto laneChangeableLaneletId(const lanelet::Id lanelet_id, const Direction &direction, const RoutingGraphType type=RoutingConfiguration().routing_graph_type) -> std::optional< lanelet::Id >
Definition: lane_change.cpp:40
auto canChangeLane(const lanelet::Id from_lanelet_id, const lanelet::Id to_lanelet_id, const RoutingGraphType type=RoutingConfiguration().routing_graph_type) -> bool
Definition: lane_change.cpp:31
traffic_simulator::lane_change::Parameter Parameter
Definition: lane_change.hpp:27
auto countLaneChanges(const lanelet::Id &from_lanelet_id, const lanelet::Id &to_lanelet_id, const RoutingConfiguration &routing_configuration=RoutingConfiguration()) -> std::optional< std::pair< int, int >>
Definition: lane_change.cpp:75
geometry_msgs::msg::Pose Pose
Definition: lanelet_wrapper.hpp:70
traffic_simulator_msgs::msg::LaneletPose LaneletPose
Definition: lanelet_wrapper.hpp:68
math::geometry::HermiteCurve Curve
Definition: lanelet_wrapper.hpp:66
RoutingGraphType
Definition: routing_graph_type.hpp:24
Definition: routing_configuration.hpp:24
Definition: lane_change.hpp:44
parameters for behavior plugin
Definition: lane_change.hpp:75