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 VehicleKinematicState
Definition: trajectory_spoofer.hpp:44
Front of the vehicle is facing away from the entrance.
autoware_auto_msgs::msg::TrajectoryPoint TrajectoryPoint
Definition: motion_testing_publisher.hpp:36
float float32_t
Definition: types.hpp:36
Definition: behavior_planner.hpp:67
constexpr const char ParkingSpot[]
Definition: behavior_planner.hpp:49
autoware_auto_msgs::msg::Trajectory Trajectory
Definition: motion_common.hpp:37
Rear of the vehicle is facing away from the entrance.
Definition: behavior_planner.launch.py:1
Class that contains core functions of the behavior planner.
Definition: behavior_planner.hpp:88
bool bool8_t
Definition: types.hpp:33
This file includes common type definition.
This file defines the behavior_planner class.
PlannerType
Definition: behavior_planner.hpp:65
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 Lane[]
Definition: behavior_planner.hpp:51
Definition: trajectory_manager.hpp:45
Definition: behavior_planner.hpp:68
constexpr const char DrivableArea[]
Definition: behavior_planner.hpp:50
Class that splits trajectory at gear changing points and publish them separately. ...
Definition: trajectory_manager.hpp:60
Route route
Definition: behavior_planner.hpp:82
autoware_auto_msgs::msg::VehicleKinematicState State
Definition: behavior_planner.hpp:58
autoware_auto_msgs::msg::Route Route
Definition: parking_planner_node.hpp:60
Definition: behavior_planner.hpp:80
PlannerType planner_type
Definition: behavior_planner.hpp:83
Definition: behavior_planner.hpp:69
unsigned char uchar8_t
Definition: types.hpp:35
This file defines the lanelet2_map_provider_node class.
Definition: quick_sort.hpp:24