Go to the documentation of this file.
19 #ifndef BEHAVIOR_PLANNER__BEHAVIOR_PLANNER_HPP_
20 #define BEHAVIOR_PLANNER__BEHAVIOR_PLANNER_HPP_
27 #include <autoware_auto_msgs/msg/route.hpp>
28 #include <autoware_auto_msgs/msg/trajectory.hpp>
29 #include <autoware_auto_msgs/msg/vehicle_state_command.hpp>
30 #include <autoware_auto_msgs/msg/vehicle_kinematic_state.hpp>
33 #include <lanelet2_core/LaneletMap.h>
47 namespace PrimitiveType
51 constexpr
const char Lane[] =
"lane";
56 using autoware_auto_msgs::msg::MapPrimitive;
59 using autoware_auto_msgs::msg::VehicleStateCommand;
93 void set_route(
const Route & route,
const lanelet::LaneletMapPtr & lanelet_map_ptr);
95 void set_next_subroute();
109 std::vector<RouteWithType> get_subroutes();
113 void set_trajectory(
const Trajectory & trajectory);
115 size_t get_remaining_length(
const State & state);
127 std::vector<RouteWithType> m_subroutes;
128 std::size_t m_current_subroute;
136 bool8_t m_is_trajectory_complete;
141 #endif // BEHAVIOR_PLANNER__BEHAVIOR_PLANNER_HPP_
autoware_auto_msgs::msg::VehicleKinematicState State
Definition: behavior_planner.hpp:58
PlannerType
Definition: behavior_planner.hpp:65
constexpr const char DrivableArea[]
Definition: behavior_planner.hpp:50
autoware_auto_msgs::msg::TrajectoryPoint TrajectoryPoint
Definition: motion_testing_publisher.hpp:36
autoware_auto_msgs::msg::VehicleKinematicState VehicleKinematicState
Definition: trajectory_spoofer.hpp:44
This file includes common type definition.
Definition: behavior_planner.launch.py:1
@ UNKNOWN
Definition: behavior_planner.hpp:69
PlannerType planner_type
Definition: behavior_planner.hpp:83
autoware_auto_msgs::msg::Route Route
Definition: parking_planner_node.hpp:60
@ HEAD_IN
Front of the vehicle is facing away from the entrance.
Class that splits trajectory at gear changing points and publish them separately.
Definition: trajectory_manager.hpp:60
bool bool8_t
Definition: types.hpp:33
This file defines the lanelet2_map_provider_node class.
Definition: quick_sort.hpp:24
Class that contains core functions of the behavior planner.
Definition: behavior_planner.hpp:88
unsigned char uchar8_t
Definition: types.hpp:35
Route route
Definition: behavior_planner.hpp:82
@ LANE
Definition: behavior_planner.hpp:67
Definition: trajectory_manager.hpp:45
This file defines the behavior_planner class.
ParkingDirection
Enum representing the direction that a vehicle will park in a parking spot relative to the spot's ent...
Definition: behavior_planner.hpp:74
constexpr const char ParkingSpot[]
Definition: behavior_planner.hpp:49
float float32_t
Definition: types.hpp:36
Definition: behavior_planner.hpp:80
@ PARKING
Definition: behavior_planner.hpp:68
@ TOE_IN
Rear of the vehicle is facing away from the entrance.
autoware_auto_msgs::msg::Trajectory Trajectory
Definition: motion_common.hpp:37
constexpr const char Lane[]
Definition: behavior_planner.hpp:51