No version for distro humble showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_behavior_path_planner package from autoware_universe repo

autoware_agnocast_wrapper autoware_auto_common autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_component_interface_tools autoware_component_interface_utils autoware_cuda_dependency_meta autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_path_distance_calculator autoware_polar_grid autoware_time_utils autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_control_evaluator autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples tier4_autoware_api_launch tier4_control_launch tier4_localization_launch tier4_map_launch tier4_perception_launch tier4_planning_launch tier4_sensing_launch tier4_simulator_launch tier4_system_launch tier4_vehicle_launch autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose2twist autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_range_splitter autoware_object_sorter autoware_object_velocity_splitter autoware_occupancy_grid_map_outlier_filter autoware_probabilistic_occupancy_grid_map autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_run_out_module autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_diagnostics autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_livox_tag_filter autoware_carla_interface autoware_dummy_perception_publisher autoware_fault_injection autoware_learning_based_vehicle_model autoware_simple_planning_simulator autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_bluetooth_monitor autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_monitor autoware_component_state_monitor autoware_adapi_visualizers autoware_automatic_pose_initializer autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_utils autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_duplicated_node_checker autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor reaction_analyzer autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_datetime_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_system_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Tags No category tags.
Version 0.47.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2025-08-16
Dev Status UNKNOWN
Released UNRELEASED
Tags planner ros calibration self-driving-car autonomous-driving autonomous-vehicles ros2 3d-map autoware
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The behavior_path_planner package

Additional Links

No additional links.

Maintainers

  • Zulfaqar Azmi
  • Fumiya Watanabe
  • Kyoichi Sugahara
  • Tomoya Kimura
  • Shumpei Wakabayashi
  • Tomohito Ando
  • Takamasa Horibe
  • Satoshi Ota
  • Kosuke Takeuchi
  • Kyoichi Sugahara
  • Takayuki Murooka
  • Go Sakayori
  • Mamoru Sobue

Authors

  • Takamasa Horibe
  • Satoshi Ota
  • Fumiya Watanabe
  • Zulfaqar Azmi
  • Kosuke Takeuchi
  • Takayuki Murooka
  • Ryohsuke Mitsudome

Behavior Path Planner

The Behavior Path Planner’s main objective is to significantly enhance the safety of autonomous vehicles by minimizing the risk of accidents. It improves driving efficiency through time conservation and underpins reliability with its rule-based approach. Additionally, it allows users to integrate their own custom behavior modules or use it with different types of vehicles, such as cars, buses, and delivery robots, as well as in various environments, from busy urban streets to open highways.

The module begins by thoroughly analyzing the ego vehicle’s current situation, including its position, speed, and surrounding environment. This analysis leads to essential driving decisions about lane changes or stopping and subsequently generates a path that is both safe and efficient. It considers road geometry, traffic rules, and dynamic conditions while also incorporating obstacle avoidance to respond to static and dynamic obstacles such as other vehicles, pedestrians, or unexpected roadblocks, ensuring safe navigation.

Moreover, the planner responds to the behavior of other traffic participants, predicting their actions and accordingly adjusting the vehicle’s path. This ensures not only the safety of the autonomous vehicle but also contributes to smooth traffic flow. Its adherence to traffic laws, including speed limits and compliance with traffic signals, further guarantees lawful and predictable driving behavior. The planner is also designed to minimize sudden or abrupt maneuvers, aiming for a comfortable and natural driving experience.

!!! note

The [Planning Component Design](https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-architecture/planning/) documentation outlines the foundational philosophy guiding the design and future development of the Behavior Path Planner module. We strongly encourage readers to consult this document to understand the rationale behind its current configuration and the direction of its ongoing development.

Purpose / Use Cases

Essentially, the module has three primary responsibilities:

  1. Creating a path based on the traffic situation.
  2. Generating drivable area, i.e. the area within which the vehicle can maneuver.
  3. Generating turn signal commands to be relayed to the vehicle interface.

Features

Supported Scene Modules

Behavior Path Planner has the following scene modules

Name Description Details
Lane Following This module generates a reference path from lanelet centerline. LINK
Static Obstacle Avoidance This module generates an avoidance path when there are objects that should be avoided. LINK
Dynamic Obstacle Avoidance WIP LINK
Avoidance By Lane Change This module generates a lane change path when there are objects that should be avoided. LINK
Lane Change This module is performed when it is necessary and a collision check with other vehicles is cleared. LINK
External Lane Change WIP LINK
Goal Planner This module is performed when the ego vehicle is in a driving lane and the goal is in the shoulder lane. The ego vehicle will stop at the goal. LINK
Start Planner This module is performed when the ego vehicle is stationary and the footprint of the ego vehicle is included in the shoulder lane. This module ends when the ego vehicle merges into the road. LINK
Side Shift This module shifts the path to the left or right based on external instructions, intended for remote control applications. LINK

!!! Note

Click on the following images to view videos of their execution

<div align="center">
    <table>
        <tr>
            <td><img src="./image/supported_module_lane_following.svg" alt="Lane Following Module" width="300"></td>
            <td><a href="https://www.youtube.com/watch?v=A_V9yvfKZ4E"><img src="./image/supported_module_avoidance.svg" alt="Avoidance Module" width="300"></a></td>
            <td><img src="./image/supported_module_avoidance_by_lane_change.svg" alt="Avoidance by Lane Change Module" width="300"></td>
        </tr>
        <tr>
            <td><a href="https://www.youtube.com/watch?v=0jRDGQ84cD4"><img src="./image/supported_module_lane_change.svg" alt="Lane Change Module" width="300"></a></td>
            <td><a href="https://www.youtube.com/watch?v=xOjnPqoHup4"><img src="./image/supported_module_start_planner.svg" alt="Start Planner Module" width="300"></a></td>
            <td><a href="https://www.youtube.com/watch?v=ornbzkWxRWU"><img src="./image/supported_module_goal_planner.svg" alt="Goal Planner Module" width="300"></a></td>
        </tr>
    </table>
</div>

!!! Note

Users can refer to [Planning component design](https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-architecture/planning/#supported-functions) for some additional behavior.

How to add or implement new module

All scene modules are implemented by inheriting the base class scene_module_interface.hpp.

!!! Warning

The remainder of this subsection is a work in progress (WIP).

Planner Manager

The Planner Manager’s responsibilities include:

  1. Activating the relevant scene module in response to the specific situation faced by the autonomous vehicle. For example, when a parked vehicle blocks the ego vehicle’s driving lane, the manager would engage the avoidance module.
  2. Managing the execution order when multiple modules are running simultaneously. For instance, if both the lane-changing and avoidance modules are operational, the manager decides which should take precedence.
  3. Merging paths from multiple modules when they are activated simultaneously and each generates its own path, thereby creating a single functional path.

!!! note

To check the scene module's transition – i.e., registered, approved and candidate modules – set `verbose: true` in the [Behavior Path Planner configuration file](https://github.com/autowarefoundation/autoware_launch/blob/0cd5d891a36ac34a32a417205905c109f2bafe7b/autoware_launch/config/planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/behavior_path_planner.param.yaml#L3).

![Scene module's transition table](./image/checking_module_transition.png)

!!! note

For more in-depth information, refer to the [Manager design](./docs/behavior_path_planner_manager_design.md) document.

Inputs / Outputs / API

Input

Name Required? Type Description
~/input/odometry nav_msgs::msg::Odometry For ego velocity
~/input/accel geometry_msgs::msg::AccelWithCovarianceStamped For ego acceleration
~/input/objects autoware_perception_msgs::msg::PredictedObjects Dynamic objects from the perception module
~/input/occupancy_grid_map nav_msgs::msg::OccupancyGrid Occupancy grid map from the perception module. This is used for only the Goal Planner module
~/input/traffic_signals autoware_perception_msgs::msg::TrafficLightGroupArray Traffic signal information from the perception module
~/input/vector_map autoware_map_msgs::msg::LaneletMapBin Vector map information
~/input/route autoware_planning_msgs::msg::LaneletRoute Current route from start to goal

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_behavior_path_planner

0.47.0 (2025-08-11)

  • fix(behavior_path_planner): resample the path before generating the drivable area (#10989)
  • Contributors: Maxime CLEMENT

0.46.0 (2025-06-20)

  • Merge remote-tracking branch 'upstream/main' into tmp/TaikiYamada/bump_version_base

  • chore(default_adapi): rename package (#10756)

  • feat(hazard_lights_selector): add a hazard lights selector package (#10692) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Mamoru Sobue <<hilo.soblin@gmail.com>>

  • fix(lane_change, behavior_path_planner): fix failure to do lane change (#10694)

    * chore(sync-files.yaml): not synchronize [github-release.yaml]{.title-ref} (#1776) not sync github-release

    • set initial state of LC module to waiting approval, update RTC status when no valid path
    • store deleted modules ptrs in vector
    • revert unnecessary changes

    * Revert "chore(sync-files.yaml): not synchronize [github-release.yaml]{.title-ref} (#1776)" This reverts commit 871a8540ade845c7c9a193029d407b411a4d685b.

    • fix format

    * Update planning/behavior_path_planner/autoware_behavior_path_planner/src/planner_manager.cpp ---------Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>> Co-authored-by: GitHub Action <<action@github.com>> Co-authored-by: Mamoru Sobue <<mamoru.sobue@tier4.jp>>

  • fix(planning): fix links in documentations (#10704)

    • fix(planning): fix links in documentations

    * fix pre-commit ---------

  • feat(autoware_behavior_path_bidirectional_traffic_module): add a functionality for bidirectional traffic (#10394)

    • add bidirectional traffic module
    • first version
    • add virtual wall
    • WIP
    • apply new message type
    • revert autoware_trajectory change
    • WIP
    • developping...
    • fix bug
    • update module
    • remove stopping in BackToNormalLane mode
    • fix bug maybe
    • tidy
    • add document
    • rename images
    • add test, tidy.
    • catch up with latest branch
    • fix
    • style(pre-commit): autofix
    • update
    • downsizing svg files
    • fix
    • fix
    • tidy

    * fix

    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • Contributors: Makoto Kurihara, TaikiYamada4, Takagi, Isamu, Yukinari Hisaki, Yuxuan Liu, mkquda

0.45.0 (2025-05-22)

  • Merge remote-tracking branch 'origin/main' into tmp/notbot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/behavior_path_planner.launch.xml
      • common_param_path
      • vehicle_param_file
      • nearest_search_param_path
      • behavior_path_planner_launch_modules
      • behavior_path_config_path
      • behavior_path_planner_common_param_path
      • behavior_path_planner_scene_module_manager_param_path
      • behavior_path_planner_side_shift_module_param_path
      • behavior_path_planner_avoidance_module_param_path
      • behavior_path_planner_avoidance_by_lc_module_param_path
      • behavior_path_planner_dynamic_avoidance_module_param_path
      • behavior_path_planner_lane_change_module_param_path
      • behavior_path_planner_goal_planner_module_param_path
      • behavior_path_planner_start_planner_module_param_path
      • behavior_path_planner_bidirectional_traffic_module_param_path
      • behavior_path_planner_sampling_planner_module_param_path
      • behavior_path_planner_drivable_area_expansion_param_path

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_behavior_path_planner at Robotics Stack Exchange

No version for distro jazzy showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_behavior_path_planner package from autoware_universe repo

autoware_agnocast_wrapper autoware_auto_common autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_component_interface_tools autoware_component_interface_utils autoware_cuda_dependency_meta autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_path_distance_calculator autoware_polar_grid autoware_time_utils autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_control_evaluator autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples tier4_autoware_api_launch tier4_control_launch tier4_localization_launch tier4_map_launch tier4_perception_launch tier4_planning_launch tier4_sensing_launch tier4_simulator_launch tier4_system_launch tier4_vehicle_launch autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose2twist autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_range_splitter autoware_object_sorter autoware_object_velocity_splitter autoware_occupancy_grid_map_outlier_filter autoware_probabilistic_occupancy_grid_map autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_run_out_module autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_diagnostics autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_livox_tag_filter autoware_carla_interface autoware_dummy_perception_publisher autoware_fault_injection autoware_learning_based_vehicle_model autoware_simple_planning_simulator autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_bluetooth_monitor autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_monitor autoware_component_state_monitor autoware_adapi_visualizers autoware_automatic_pose_initializer autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_utils autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_duplicated_node_checker autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor reaction_analyzer autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_datetime_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_system_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Tags No category tags.
Version 0.47.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2025-08-16
Dev Status UNKNOWN
Released UNRELEASED
Tags planner ros calibration self-driving-car autonomous-driving autonomous-vehicles ros2 3d-map autoware
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The behavior_path_planner package

Additional Links

No additional links.

Maintainers

  • Zulfaqar Azmi
  • Fumiya Watanabe
  • Kyoichi Sugahara
  • Tomoya Kimura
  • Shumpei Wakabayashi
  • Tomohito Ando
  • Takamasa Horibe
  • Satoshi Ota
  • Kosuke Takeuchi
  • Kyoichi Sugahara
  • Takayuki Murooka
  • Go Sakayori
  • Mamoru Sobue

Authors

  • Takamasa Horibe
  • Satoshi Ota
  • Fumiya Watanabe
  • Zulfaqar Azmi
  • Kosuke Takeuchi
  • Takayuki Murooka
  • Ryohsuke Mitsudome

Behavior Path Planner

The Behavior Path Planner’s main objective is to significantly enhance the safety of autonomous vehicles by minimizing the risk of accidents. It improves driving efficiency through time conservation and underpins reliability with its rule-based approach. Additionally, it allows users to integrate their own custom behavior modules or use it with different types of vehicles, such as cars, buses, and delivery robots, as well as in various environments, from busy urban streets to open highways.

The module begins by thoroughly analyzing the ego vehicle’s current situation, including its position, speed, and surrounding environment. This analysis leads to essential driving decisions about lane changes or stopping and subsequently generates a path that is both safe and efficient. It considers road geometry, traffic rules, and dynamic conditions while also incorporating obstacle avoidance to respond to static and dynamic obstacles such as other vehicles, pedestrians, or unexpected roadblocks, ensuring safe navigation.

Moreover, the planner responds to the behavior of other traffic participants, predicting their actions and accordingly adjusting the vehicle’s path. This ensures not only the safety of the autonomous vehicle but also contributes to smooth traffic flow. Its adherence to traffic laws, including speed limits and compliance with traffic signals, further guarantees lawful and predictable driving behavior. The planner is also designed to minimize sudden or abrupt maneuvers, aiming for a comfortable and natural driving experience.

!!! note

The [Planning Component Design](https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-architecture/planning/) documentation outlines the foundational philosophy guiding the design and future development of the Behavior Path Planner module. We strongly encourage readers to consult this document to understand the rationale behind its current configuration and the direction of its ongoing development.

Purpose / Use Cases

Essentially, the module has three primary responsibilities:

  1. Creating a path based on the traffic situation.
  2. Generating drivable area, i.e. the area within which the vehicle can maneuver.
  3. Generating turn signal commands to be relayed to the vehicle interface.

Features

Supported Scene Modules

Behavior Path Planner has the following scene modules

Name Description Details
Lane Following This module generates a reference path from lanelet centerline. LINK
Static Obstacle Avoidance This module generates an avoidance path when there are objects that should be avoided. LINK
Dynamic Obstacle Avoidance WIP LINK
Avoidance By Lane Change This module generates a lane change path when there are objects that should be avoided. LINK
Lane Change This module is performed when it is necessary and a collision check with other vehicles is cleared. LINK
External Lane Change WIP LINK
Goal Planner This module is performed when the ego vehicle is in a driving lane and the goal is in the shoulder lane. The ego vehicle will stop at the goal. LINK
Start Planner This module is performed when the ego vehicle is stationary and the footprint of the ego vehicle is included in the shoulder lane. This module ends when the ego vehicle merges into the road. LINK
Side Shift This module shifts the path to the left or right based on external instructions, intended for remote control applications. LINK

!!! Note

Click on the following images to view videos of their execution

<div align="center">
    <table>
        <tr>
            <td><img src="./image/supported_module_lane_following.svg" alt="Lane Following Module" width="300"></td>
            <td><a href="https://www.youtube.com/watch?v=A_V9yvfKZ4E"><img src="./image/supported_module_avoidance.svg" alt="Avoidance Module" width="300"></a></td>
            <td><img src="./image/supported_module_avoidance_by_lane_change.svg" alt="Avoidance by Lane Change Module" width="300"></td>
        </tr>
        <tr>
            <td><a href="https://www.youtube.com/watch?v=0jRDGQ84cD4"><img src="./image/supported_module_lane_change.svg" alt="Lane Change Module" width="300"></a></td>
            <td><a href="https://www.youtube.com/watch?v=xOjnPqoHup4"><img src="./image/supported_module_start_planner.svg" alt="Start Planner Module" width="300"></a></td>
            <td><a href="https://www.youtube.com/watch?v=ornbzkWxRWU"><img src="./image/supported_module_goal_planner.svg" alt="Goal Planner Module" width="300"></a></td>
        </tr>
    </table>
</div>

!!! Note

Users can refer to [Planning component design](https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-architecture/planning/#supported-functions) for some additional behavior.

How to add or implement new module

All scene modules are implemented by inheriting the base class scene_module_interface.hpp.

!!! Warning

The remainder of this subsection is a work in progress (WIP).

Planner Manager

The Planner Manager’s responsibilities include:

  1. Activating the relevant scene module in response to the specific situation faced by the autonomous vehicle. For example, when a parked vehicle blocks the ego vehicle’s driving lane, the manager would engage the avoidance module.
  2. Managing the execution order when multiple modules are running simultaneously. For instance, if both the lane-changing and avoidance modules are operational, the manager decides which should take precedence.
  3. Merging paths from multiple modules when they are activated simultaneously and each generates its own path, thereby creating a single functional path.

!!! note

To check the scene module's transition – i.e., registered, approved and candidate modules – set `verbose: true` in the [Behavior Path Planner configuration file](https://github.com/autowarefoundation/autoware_launch/blob/0cd5d891a36ac34a32a417205905c109f2bafe7b/autoware_launch/config/planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/behavior_path_planner.param.yaml#L3).

![Scene module's transition table](./image/checking_module_transition.png)

!!! note

For more in-depth information, refer to the [Manager design](./docs/behavior_path_planner_manager_design.md) document.

Inputs / Outputs / API

Input

Name Required? Type Description
~/input/odometry nav_msgs::msg::Odometry For ego velocity
~/input/accel geometry_msgs::msg::AccelWithCovarianceStamped For ego acceleration
~/input/objects autoware_perception_msgs::msg::PredictedObjects Dynamic objects from the perception module
~/input/occupancy_grid_map nav_msgs::msg::OccupancyGrid Occupancy grid map from the perception module. This is used for only the Goal Planner module
~/input/traffic_signals autoware_perception_msgs::msg::TrafficLightGroupArray Traffic signal information from the perception module
~/input/vector_map autoware_map_msgs::msg::LaneletMapBin Vector map information
~/input/route autoware_planning_msgs::msg::LaneletRoute Current route from start to goal

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_behavior_path_planner

0.47.0 (2025-08-11)

  • fix(behavior_path_planner): resample the path before generating the drivable area (#10989)
  • Contributors: Maxime CLEMENT

0.46.0 (2025-06-20)

  • Merge remote-tracking branch 'upstream/main' into tmp/TaikiYamada/bump_version_base

  • chore(default_adapi): rename package (#10756)

  • feat(hazard_lights_selector): add a hazard lights selector package (#10692) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Mamoru Sobue <<hilo.soblin@gmail.com>>

  • fix(lane_change, behavior_path_planner): fix failure to do lane change (#10694)

    * chore(sync-files.yaml): not synchronize [github-release.yaml]{.title-ref} (#1776) not sync github-release

    • set initial state of LC module to waiting approval, update RTC status when no valid path
    • store deleted modules ptrs in vector
    • revert unnecessary changes

    * Revert "chore(sync-files.yaml): not synchronize [github-release.yaml]{.title-ref} (#1776)" This reverts commit 871a8540ade845c7c9a193029d407b411a4d685b.

    • fix format

    * Update planning/behavior_path_planner/autoware_behavior_path_planner/src/planner_manager.cpp ---------Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>> Co-authored-by: GitHub Action <<action@github.com>> Co-authored-by: Mamoru Sobue <<mamoru.sobue@tier4.jp>>

  • fix(planning): fix links in documentations (#10704)

    • fix(planning): fix links in documentations

    * fix pre-commit ---------

  • feat(autoware_behavior_path_bidirectional_traffic_module): add a functionality for bidirectional traffic (#10394)

    • add bidirectional traffic module
    • first version
    • add virtual wall
    • WIP
    • apply new message type
    • revert autoware_trajectory change
    • WIP
    • developping...
    • fix bug
    • update module
    • remove stopping in BackToNormalLane mode
    • fix bug maybe
    • tidy
    • add document
    • rename images
    • add test, tidy.
    • catch up with latest branch
    • fix
    • style(pre-commit): autofix
    • update
    • downsizing svg files
    • fix
    • fix
    • tidy

    * fix

    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • Contributors: Makoto Kurihara, TaikiYamada4, Takagi, Isamu, Yukinari Hisaki, Yuxuan Liu, mkquda

0.45.0 (2025-05-22)

  • Merge remote-tracking branch 'origin/main' into tmp/notbot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/behavior_path_planner.launch.xml
      • common_param_path
      • vehicle_param_file
      • nearest_search_param_path
      • behavior_path_planner_launch_modules
      • behavior_path_config_path
      • behavior_path_planner_common_param_path
      • behavior_path_planner_scene_module_manager_param_path
      • behavior_path_planner_side_shift_module_param_path
      • behavior_path_planner_avoidance_module_param_path
      • behavior_path_planner_avoidance_by_lc_module_param_path
      • behavior_path_planner_dynamic_avoidance_module_param_path
      • behavior_path_planner_lane_change_module_param_path
      • behavior_path_planner_goal_planner_module_param_path
      • behavior_path_planner_start_planner_module_param_path
      • behavior_path_planner_bidirectional_traffic_module_param_path
      • behavior_path_planner_sampling_planner_module_param_path
      • behavior_path_planner_drivable_area_expansion_param_path

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_behavior_path_planner at Robotics Stack Exchange

No version for distro kilted showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_behavior_path_planner package from autoware_universe repo

autoware_agnocast_wrapper autoware_auto_common autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_component_interface_tools autoware_component_interface_utils autoware_cuda_dependency_meta autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_path_distance_calculator autoware_polar_grid autoware_time_utils autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_control_evaluator autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples tier4_autoware_api_launch tier4_control_launch tier4_localization_launch tier4_map_launch tier4_perception_launch tier4_planning_launch tier4_sensing_launch tier4_simulator_launch tier4_system_launch tier4_vehicle_launch autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose2twist autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_range_splitter autoware_object_sorter autoware_object_velocity_splitter autoware_occupancy_grid_map_outlier_filter autoware_probabilistic_occupancy_grid_map autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_run_out_module autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_diagnostics autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_livox_tag_filter autoware_carla_interface autoware_dummy_perception_publisher autoware_fault_injection autoware_learning_based_vehicle_model autoware_simple_planning_simulator autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_bluetooth_monitor autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_monitor autoware_component_state_monitor autoware_adapi_visualizers autoware_automatic_pose_initializer autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_utils autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_duplicated_node_checker autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor reaction_analyzer autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_datetime_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_system_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Tags No category tags.
Version 0.47.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2025-08-16
Dev Status UNKNOWN
Released UNRELEASED
Tags planner ros calibration self-driving-car autonomous-driving autonomous-vehicles ros2 3d-map autoware
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The behavior_path_planner package

Additional Links

No additional links.

Maintainers

  • Zulfaqar Azmi
  • Fumiya Watanabe
  • Kyoichi Sugahara
  • Tomoya Kimura
  • Shumpei Wakabayashi
  • Tomohito Ando
  • Takamasa Horibe
  • Satoshi Ota
  • Kosuke Takeuchi
  • Kyoichi Sugahara
  • Takayuki Murooka
  • Go Sakayori
  • Mamoru Sobue

Authors

  • Takamasa Horibe
  • Satoshi Ota
  • Fumiya Watanabe
  • Zulfaqar Azmi
  • Kosuke Takeuchi
  • Takayuki Murooka
  • Ryohsuke Mitsudome

Behavior Path Planner

The Behavior Path Planner’s main objective is to significantly enhance the safety of autonomous vehicles by minimizing the risk of accidents. It improves driving efficiency through time conservation and underpins reliability with its rule-based approach. Additionally, it allows users to integrate their own custom behavior modules or use it with different types of vehicles, such as cars, buses, and delivery robots, as well as in various environments, from busy urban streets to open highways.

The module begins by thoroughly analyzing the ego vehicle’s current situation, including its position, speed, and surrounding environment. This analysis leads to essential driving decisions about lane changes or stopping and subsequently generates a path that is both safe and efficient. It considers road geometry, traffic rules, and dynamic conditions while also incorporating obstacle avoidance to respond to static and dynamic obstacles such as other vehicles, pedestrians, or unexpected roadblocks, ensuring safe navigation.

Moreover, the planner responds to the behavior of other traffic participants, predicting their actions and accordingly adjusting the vehicle’s path. This ensures not only the safety of the autonomous vehicle but also contributes to smooth traffic flow. Its adherence to traffic laws, including speed limits and compliance with traffic signals, further guarantees lawful and predictable driving behavior. The planner is also designed to minimize sudden or abrupt maneuvers, aiming for a comfortable and natural driving experience.

!!! note

The [Planning Component Design](https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-architecture/planning/) documentation outlines the foundational philosophy guiding the design and future development of the Behavior Path Planner module. We strongly encourage readers to consult this document to understand the rationale behind its current configuration and the direction of its ongoing development.

Purpose / Use Cases

Essentially, the module has three primary responsibilities:

  1. Creating a path based on the traffic situation.
  2. Generating drivable area, i.e. the area within which the vehicle can maneuver.
  3. Generating turn signal commands to be relayed to the vehicle interface.

Features

Supported Scene Modules

Behavior Path Planner has the following scene modules

Name Description Details
Lane Following This module generates a reference path from lanelet centerline. LINK
Static Obstacle Avoidance This module generates an avoidance path when there are objects that should be avoided. LINK
Dynamic Obstacle Avoidance WIP LINK
Avoidance By Lane Change This module generates a lane change path when there are objects that should be avoided. LINK
Lane Change This module is performed when it is necessary and a collision check with other vehicles is cleared. LINK
External Lane Change WIP LINK
Goal Planner This module is performed when the ego vehicle is in a driving lane and the goal is in the shoulder lane. The ego vehicle will stop at the goal. LINK
Start Planner This module is performed when the ego vehicle is stationary and the footprint of the ego vehicle is included in the shoulder lane. This module ends when the ego vehicle merges into the road. LINK
Side Shift This module shifts the path to the left or right based on external instructions, intended for remote control applications. LINK

!!! Note

Click on the following images to view videos of their execution

<div align="center">
    <table>
        <tr>
            <td><img src="./image/supported_module_lane_following.svg" alt="Lane Following Module" width="300"></td>
            <td><a href="https://www.youtube.com/watch?v=A_V9yvfKZ4E"><img src="./image/supported_module_avoidance.svg" alt="Avoidance Module" width="300"></a></td>
            <td><img src="./image/supported_module_avoidance_by_lane_change.svg" alt="Avoidance by Lane Change Module" width="300"></td>
        </tr>
        <tr>
            <td><a href="https://www.youtube.com/watch?v=0jRDGQ84cD4"><img src="./image/supported_module_lane_change.svg" alt="Lane Change Module" width="300"></a></td>
            <td><a href="https://www.youtube.com/watch?v=xOjnPqoHup4"><img src="./image/supported_module_start_planner.svg" alt="Start Planner Module" width="300"></a></td>
            <td><a href="https://www.youtube.com/watch?v=ornbzkWxRWU"><img src="./image/supported_module_goal_planner.svg" alt="Goal Planner Module" width="300"></a></td>
        </tr>
    </table>
</div>

!!! Note

Users can refer to [Planning component design](https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-architecture/planning/#supported-functions) for some additional behavior.

How to add or implement new module

All scene modules are implemented by inheriting the base class scene_module_interface.hpp.

!!! Warning

The remainder of this subsection is a work in progress (WIP).

Planner Manager

The Planner Manager’s responsibilities include:

  1. Activating the relevant scene module in response to the specific situation faced by the autonomous vehicle. For example, when a parked vehicle blocks the ego vehicle’s driving lane, the manager would engage the avoidance module.
  2. Managing the execution order when multiple modules are running simultaneously. For instance, if both the lane-changing and avoidance modules are operational, the manager decides which should take precedence.
  3. Merging paths from multiple modules when they are activated simultaneously and each generates its own path, thereby creating a single functional path.

!!! note

To check the scene module's transition – i.e., registered, approved and candidate modules – set `verbose: true` in the [Behavior Path Planner configuration file](https://github.com/autowarefoundation/autoware_launch/blob/0cd5d891a36ac34a32a417205905c109f2bafe7b/autoware_launch/config/planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/behavior_path_planner.param.yaml#L3).

![Scene module's transition table](./image/checking_module_transition.png)

!!! note

For more in-depth information, refer to the [Manager design](./docs/behavior_path_planner_manager_design.md) document.

Inputs / Outputs / API

Input

Name Required? Type Description
~/input/odometry nav_msgs::msg::Odometry For ego velocity
~/input/accel geometry_msgs::msg::AccelWithCovarianceStamped For ego acceleration
~/input/objects autoware_perception_msgs::msg::PredictedObjects Dynamic objects from the perception module
~/input/occupancy_grid_map nav_msgs::msg::OccupancyGrid Occupancy grid map from the perception module. This is used for only the Goal Planner module
~/input/traffic_signals autoware_perception_msgs::msg::TrafficLightGroupArray Traffic signal information from the perception module
~/input/vector_map autoware_map_msgs::msg::LaneletMapBin Vector map information
~/input/route autoware_planning_msgs::msg::LaneletRoute Current route from start to goal

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_behavior_path_planner

0.47.0 (2025-08-11)

  • fix(behavior_path_planner): resample the path before generating the drivable area (#10989)
  • Contributors: Maxime CLEMENT

0.46.0 (2025-06-20)

  • Merge remote-tracking branch 'upstream/main' into tmp/TaikiYamada/bump_version_base

  • chore(default_adapi): rename package (#10756)

  • feat(hazard_lights_selector): add a hazard lights selector package (#10692) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Mamoru Sobue <<hilo.soblin@gmail.com>>

  • fix(lane_change, behavior_path_planner): fix failure to do lane change (#10694)

    * chore(sync-files.yaml): not synchronize [github-release.yaml]{.title-ref} (#1776) not sync github-release

    • set initial state of LC module to waiting approval, update RTC status when no valid path
    • store deleted modules ptrs in vector
    • revert unnecessary changes

    * Revert "chore(sync-files.yaml): not synchronize [github-release.yaml]{.title-ref} (#1776)" This reverts commit 871a8540ade845c7c9a193029d407b411a4d685b.

    • fix format

    * Update planning/behavior_path_planner/autoware_behavior_path_planner/src/planner_manager.cpp ---------Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>> Co-authored-by: GitHub Action <<action@github.com>> Co-authored-by: Mamoru Sobue <<mamoru.sobue@tier4.jp>>

  • fix(planning): fix links in documentations (#10704)

    • fix(planning): fix links in documentations

    * fix pre-commit ---------

  • feat(autoware_behavior_path_bidirectional_traffic_module): add a functionality for bidirectional traffic (#10394)

    • add bidirectional traffic module
    • first version
    • add virtual wall
    • WIP
    • apply new message type
    • revert autoware_trajectory change
    • WIP
    • developping...
    • fix bug
    • update module
    • remove stopping in BackToNormalLane mode
    • fix bug maybe
    • tidy
    • add document
    • rename images
    • add test, tidy.
    • catch up with latest branch
    • fix
    • style(pre-commit): autofix
    • update
    • downsizing svg files
    • fix
    • fix
    • tidy

    * fix

    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • Contributors: Makoto Kurihara, TaikiYamada4, Takagi, Isamu, Yukinari Hisaki, Yuxuan Liu, mkquda

0.45.0 (2025-05-22)

  • Merge remote-tracking branch 'origin/main' into tmp/notbot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/behavior_path_planner.launch.xml
      • common_param_path
      • vehicle_param_file
      • nearest_search_param_path
      • behavior_path_planner_launch_modules
      • behavior_path_config_path
      • behavior_path_planner_common_param_path
      • behavior_path_planner_scene_module_manager_param_path
      • behavior_path_planner_side_shift_module_param_path
      • behavior_path_planner_avoidance_module_param_path
      • behavior_path_planner_avoidance_by_lc_module_param_path
      • behavior_path_planner_dynamic_avoidance_module_param_path
      • behavior_path_planner_lane_change_module_param_path
      • behavior_path_planner_goal_planner_module_param_path
      • behavior_path_planner_start_planner_module_param_path
      • behavior_path_planner_bidirectional_traffic_module_param_path
      • behavior_path_planner_sampling_planner_module_param_path
      • behavior_path_planner_drivable_area_expansion_param_path

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_behavior_path_planner at Robotics Stack Exchange

No version for distro rolling showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_behavior_path_planner package from autoware_universe repo

autoware_agnocast_wrapper autoware_auto_common autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_component_interface_tools autoware_component_interface_utils autoware_cuda_dependency_meta autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_path_distance_calculator autoware_polar_grid autoware_time_utils autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_control_evaluator autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples tier4_autoware_api_launch tier4_control_launch tier4_localization_launch tier4_map_launch tier4_perception_launch tier4_planning_launch tier4_sensing_launch tier4_simulator_launch tier4_system_launch tier4_vehicle_launch autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose2twist autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_range_splitter autoware_object_sorter autoware_object_velocity_splitter autoware_occupancy_grid_map_outlier_filter autoware_probabilistic_occupancy_grid_map autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_run_out_module autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_diagnostics autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_livox_tag_filter autoware_carla_interface autoware_dummy_perception_publisher autoware_fault_injection autoware_learning_based_vehicle_model autoware_simple_planning_simulator autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_bluetooth_monitor autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_monitor autoware_component_state_monitor autoware_adapi_visualizers autoware_automatic_pose_initializer autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_utils autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_duplicated_node_checker autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor reaction_analyzer autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_datetime_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_system_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Tags No category tags.
Version 0.47.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2025-08-16
Dev Status UNKNOWN
Released UNRELEASED
Tags planner ros calibration self-driving-car autonomous-driving autonomous-vehicles ros2 3d-map autoware
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The behavior_path_planner package

Additional Links

No additional links.

Maintainers

  • Zulfaqar Azmi
  • Fumiya Watanabe
  • Kyoichi Sugahara
  • Tomoya Kimura
  • Shumpei Wakabayashi
  • Tomohito Ando
  • Takamasa Horibe
  • Satoshi Ota
  • Kosuke Takeuchi
  • Kyoichi Sugahara
  • Takayuki Murooka
  • Go Sakayori
  • Mamoru Sobue

Authors

  • Takamasa Horibe
  • Satoshi Ota
  • Fumiya Watanabe
  • Zulfaqar Azmi
  • Kosuke Takeuchi
  • Takayuki Murooka
  • Ryohsuke Mitsudome

Behavior Path Planner

The Behavior Path Planner’s main objective is to significantly enhance the safety of autonomous vehicles by minimizing the risk of accidents. It improves driving efficiency through time conservation and underpins reliability with its rule-based approach. Additionally, it allows users to integrate their own custom behavior modules or use it with different types of vehicles, such as cars, buses, and delivery robots, as well as in various environments, from busy urban streets to open highways.

The module begins by thoroughly analyzing the ego vehicle’s current situation, including its position, speed, and surrounding environment. This analysis leads to essential driving decisions about lane changes or stopping and subsequently generates a path that is both safe and efficient. It considers road geometry, traffic rules, and dynamic conditions while also incorporating obstacle avoidance to respond to static and dynamic obstacles such as other vehicles, pedestrians, or unexpected roadblocks, ensuring safe navigation.

Moreover, the planner responds to the behavior of other traffic participants, predicting their actions and accordingly adjusting the vehicle’s path. This ensures not only the safety of the autonomous vehicle but also contributes to smooth traffic flow. Its adherence to traffic laws, including speed limits and compliance with traffic signals, further guarantees lawful and predictable driving behavior. The planner is also designed to minimize sudden or abrupt maneuvers, aiming for a comfortable and natural driving experience.

!!! note

The [Planning Component Design](https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-architecture/planning/) documentation outlines the foundational philosophy guiding the design and future development of the Behavior Path Planner module. We strongly encourage readers to consult this document to understand the rationale behind its current configuration and the direction of its ongoing development.

Purpose / Use Cases

Essentially, the module has three primary responsibilities:

  1. Creating a path based on the traffic situation.
  2. Generating drivable area, i.e. the area within which the vehicle can maneuver.
  3. Generating turn signal commands to be relayed to the vehicle interface.

Features

Supported Scene Modules

Behavior Path Planner has the following scene modules

Name Description Details
Lane Following This module generates a reference path from lanelet centerline. LINK
Static Obstacle Avoidance This module generates an avoidance path when there are objects that should be avoided. LINK
Dynamic Obstacle Avoidance WIP LINK
Avoidance By Lane Change This module generates a lane change path when there are objects that should be avoided. LINK
Lane Change This module is performed when it is necessary and a collision check with other vehicles is cleared. LINK
External Lane Change WIP LINK
Goal Planner This module is performed when the ego vehicle is in a driving lane and the goal is in the shoulder lane. The ego vehicle will stop at the goal. LINK
Start Planner This module is performed when the ego vehicle is stationary and the footprint of the ego vehicle is included in the shoulder lane. This module ends when the ego vehicle merges into the road. LINK
Side Shift This module shifts the path to the left or right based on external instructions, intended for remote control applications. LINK

!!! Note

Click on the following images to view videos of their execution

<div align="center">
    <table>
        <tr>
            <td><img src="./image/supported_module_lane_following.svg" alt="Lane Following Module" width="300"></td>
            <td><a href="https://www.youtube.com/watch?v=A_V9yvfKZ4E"><img src="./image/supported_module_avoidance.svg" alt="Avoidance Module" width="300"></a></td>
            <td><img src="./image/supported_module_avoidance_by_lane_change.svg" alt="Avoidance by Lane Change Module" width="300"></td>
        </tr>
        <tr>
            <td><a href="https://www.youtube.com/watch?v=0jRDGQ84cD4"><img src="./image/supported_module_lane_change.svg" alt="Lane Change Module" width="300"></a></td>
            <td><a href="https://www.youtube.com/watch?v=xOjnPqoHup4"><img src="./image/supported_module_start_planner.svg" alt="Start Planner Module" width="300"></a></td>
            <td><a href="https://www.youtube.com/watch?v=ornbzkWxRWU"><img src="./image/supported_module_goal_planner.svg" alt="Goal Planner Module" width="300"></a></td>
        </tr>
    </table>
</div>

!!! Note

Users can refer to [Planning component design](https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-architecture/planning/#supported-functions) for some additional behavior.

How to add or implement new module

All scene modules are implemented by inheriting the base class scene_module_interface.hpp.

!!! Warning

The remainder of this subsection is a work in progress (WIP).

Planner Manager

The Planner Manager’s responsibilities include:

  1. Activating the relevant scene module in response to the specific situation faced by the autonomous vehicle. For example, when a parked vehicle blocks the ego vehicle’s driving lane, the manager would engage the avoidance module.
  2. Managing the execution order when multiple modules are running simultaneously. For instance, if both the lane-changing and avoidance modules are operational, the manager decides which should take precedence.
  3. Merging paths from multiple modules when they are activated simultaneously and each generates its own path, thereby creating a single functional path.

!!! note

To check the scene module's transition – i.e., registered, approved and candidate modules – set `verbose: true` in the [Behavior Path Planner configuration file](https://github.com/autowarefoundation/autoware_launch/blob/0cd5d891a36ac34a32a417205905c109f2bafe7b/autoware_launch/config/planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/behavior_path_planner.param.yaml#L3).

![Scene module's transition table](./image/checking_module_transition.png)

!!! note

For more in-depth information, refer to the [Manager design](./docs/behavior_path_planner_manager_design.md) document.

Inputs / Outputs / API

Input

Name Required? Type Description
~/input/odometry nav_msgs::msg::Odometry For ego velocity
~/input/accel geometry_msgs::msg::AccelWithCovarianceStamped For ego acceleration
~/input/objects autoware_perception_msgs::msg::PredictedObjects Dynamic objects from the perception module
~/input/occupancy_grid_map nav_msgs::msg::OccupancyGrid Occupancy grid map from the perception module. This is used for only the Goal Planner module
~/input/traffic_signals autoware_perception_msgs::msg::TrafficLightGroupArray Traffic signal information from the perception module
~/input/vector_map autoware_map_msgs::msg::LaneletMapBin Vector map information
~/input/route autoware_planning_msgs::msg::LaneletRoute Current route from start to goal

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_behavior_path_planner

0.47.0 (2025-08-11)

  • fix(behavior_path_planner): resample the path before generating the drivable area (#10989)
  • Contributors: Maxime CLEMENT

0.46.0 (2025-06-20)

  • Merge remote-tracking branch 'upstream/main' into tmp/TaikiYamada/bump_version_base

  • chore(default_adapi): rename package (#10756)

  • feat(hazard_lights_selector): add a hazard lights selector package (#10692) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Mamoru Sobue <<hilo.soblin@gmail.com>>

  • fix(lane_change, behavior_path_planner): fix failure to do lane change (#10694)

    * chore(sync-files.yaml): not synchronize [github-release.yaml]{.title-ref} (#1776) not sync github-release

    • set initial state of LC module to waiting approval, update RTC status when no valid path
    • store deleted modules ptrs in vector
    • revert unnecessary changes

    * Revert "chore(sync-files.yaml): not synchronize [github-release.yaml]{.title-ref} (#1776)" This reverts commit 871a8540ade845c7c9a193029d407b411a4d685b.

    • fix format

    * Update planning/behavior_path_planner/autoware_behavior_path_planner/src/planner_manager.cpp ---------Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>> Co-authored-by: GitHub Action <<action@github.com>> Co-authored-by: Mamoru Sobue <<mamoru.sobue@tier4.jp>>

  • fix(planning): fix links in documentations (#10704)

    • fix(planning): fix links in documentations

    * fix pre-commit ---------

  • feat(autoware_behavior_path_bidirectional_traffic_module): add a functionality for bidirectional traffic (#10394)

    • add bidirectional traffic module
    • first version
    • add virtual wall
    • WIP
    • apply new message type
    • revert autoware_trajectory change
    • WIP
    • developping...
    • fix bug
    • update module
    • remove stopping in BackToNormalLane mode
    • fix bug maybe
    • tidy
    • add document
    • rename images
    • add test, tidy.
    • catch up with latest branch
    • fix
    • style(pre-commit): autofix
    • update
    • downsizing svg files
    • fix
    • fix
    • tidy

    * fix

    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • Contributors: Makoto Kurihara, TaikiYamada4, Takagi, Isamu, Yukinari Hisaki, Yuxuan Liu, mkquda

0.45.0 (2025-05-22)

  • Merge remote-tracking branch 'origin/main' into tmp/notbot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/behavior_path_planner.launch.xml
      • common_param_path
      • vehicle_param_file
      • nearest_search_param_path
      • behavior_path_planner_launch_modules
      • behavior_path_config_path
      • behavior_path_planner_common_param_path
      • behavior_path_planner_scene_module_manager_param_path
      • behavior_path_planner_side_shift_module_param_path
      • behavior_path_planner_avoidance_module_param_path
      • behavior_path_planner_avoidance_by_lc_module_param_path
      • behavior_path_planner_dynamic_avoidance_module_param_path
      • behavior_path_planner_lane_change_module_param_path
      • behavior_path_planner_goal_planner_module_param_path
      • behavior_path_planner_start_planner_module_param_path
      • behavior_path_planner_bidirectional_traffic_module_param_path
      • behavior_path_planner_sampling_planner_module_param_path
      • behavior_path_planner_drivable_area_expansion_param_path

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_behavior_path_planner at Robotics Stack Exchange

Package symbol

autoware_behavior_path_planner package from autoware_universe repo

autoware_agnocast_wrapper autoware_auto_common autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_component_interface_tools autoware_component_interface_utils autoware_cuda_dependency_meta autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_path_distance_calculator autoware_polar_grid autoware_time_utils autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_control_evaluator autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples tier4_autoware_api_launch tier4_control_launch tier4_localization_launch tier4_map_launch tier4_perception_launch tier4_planning_launch tier4_sensing_launch tier4_simulator_launch tier4_system_launch tier4_vehicle_launch autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose2twist autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_range_splitter autoware_object_sorter autoware_object_velocity_splitter autoware_occupancy_grid_map_outlier_filter autoware_probabilistic_occupancy_grid_map autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_run_out_module autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_diagnostics autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_livox_tag_filter autoware_carla_interface autoware_dummy_perception_publisher autoware_fault_injection autoware_learning_based_vehicle_model autoware_simple_planning_simulator autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_bluetooth_monitor autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_monitor autoware_component_state_monitor autoware_adapi_visualizers autoware_automatic_pose_initializer autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_utils autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_duplicated_node_checker autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor reaction_analyzer autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_datetime_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_system_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Tags No category tags.
Version 0.47.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2025-08-16
Dev Status UNKNOWN
Released UNRELEASED
Tags planner ros calibration self-driving-car autonomous-driving autonomous-vehicles ros2 3d-map autoware
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The behavior_path_planner package

Additional Links

No additional links.

Maintainers

  • Zulfaqar Azmi
  • Fumiya Watanabe
  • Kyoichi Sugahara
  • Tomoya Kimura
  • Shumpei Wakabayashi
  • Tomohito Ando
  • Takamasa Horibe
  • Satoshi Ota
  • Kosuke Takeuchi
  • Kyoichi Sugahara
  • Takayuki Murooka
  • Go Sakayori
  • Mamoru Sobue

Authors

  • Takamasa Horibe
  • Satoshi Ota
  • Fumiya Watanabe
  • Zulfaqar Azmi
  • Kosuke Takeuchi
  • Takayuki Murooka
  • Ryohsuke Mitsudome

Behavior Path Planner

The Behavior Path Planner’s main objective is to significantly enhance the safety of autonomous vehicles by minimizing the risk of accidents. It improves driving efficiency through time conservation and underpins reliability with its rule-based approach. Additionally, it allows users to integrate their own custom behavior modules or use it with different types of vehicles, such as cars, buses, and delivery robots, as well as in various environments, from busy urban streets to open highways.

The module begins by thoroughly analyzing the ego vehicle’s current situation, including its position, speed, and surrounding environment. This analysis leads to essential driving decisions about lane changes or stopping and subsequently generates a path that is both safe and efficient. It considers road geometry, traffic rules, and dynamic conditions while also incorporating obstacle avoidance to respond to static and dynamic obstacles such as other vehicles, pedestrians, or unexpected roadblocks, ensuring safe navigation.

Moreover, the planner responds to the behavior of other traffic participants, predicting their actions and accordingly adjusting the vehicle’s path. This ensures not only the safety of the autonomous vehicle but also contributes to smooth traffic flow. Its adherence to traffic laws, including speed limits and compliance with traffic signals, further guarantees lawful and predictable driving behavior. The planner is also designed to minimize sudden or abrupt maneuvers, aiming for a comfortable and natural driving experience.

!!! note

The [Planning Component Design](https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-architecture/planning/) documentation outlines the foundational philosophy guiding the design and future development of the Behavior Path Planner module. We strongly encourage readers to consult this document to understand the rationale behind its current configuration and the direction of its ongoing development.

Purpose / Use Cases

Essentially, the module has three primary responsibilities:

  1. Creating a path based on the traffic situation.
  2. Generating drivable area, i.e. the area within which the vehicle can maneuver.
  3. Generating turn signal commands to be relayed to the vehicle interface.

Features

Supported Scene Modules

Behavior Path Planner has the following scene modules

Name Description Details
Lane Following This module generates a reference path from lanelet centerline. LINK
Static Obstacle Avoidance This module generates an avoidance path when there are objects that should be avoided. LINK
Dynamic Obstacle Avoidance WIP LINK
Avoidance By Lane Change This module generates a lane change path when there are objects that should be avoided. LINK
Lane Change This module is performed when it is necessary and a collision check with other vehicles is cleared. LINK
External Lane Change WIP LINK
Goal Planner This module is performed when the ego vehicle is in a driving lane and the goal is in the shoulder lane. The ego vehicle will stop at the goal. LINK
Start Planner This module is performed when the ego vehicle is stationary and the footprint of the ego vehicle is included in the shoulder lane. This module ends when the ego vehicle merges into the road. LINK
Side Shift This module shifts the path to the left or right based on external instructions, intended for remote control applications. LINK

!!! Note

Click on the following images to view videos of their execution

<div align="center">
    <table>
        <tr>
            <td><img src="./image/supported_module_lane_following.svg" alt="Lane Following Module" width="300"></td>
            <td><a href="https://www.youtube.com/watch?v=A_V9yvfKZ4E"><img src="./image/supported_module_avoidance.svg" alt="Avoidance Module" width="300"></a></td>
            <td><img src="./image/supported_module_avoidance_by_lane_change.svg" alt="Avoidance by Lane Change Module" width="300"></td>
        </tr>
        <tr>
            <td><a href="https://www.youtube.com/watch?v=0jRDGQ84cD4"><img src="./image/supported_module_lane_change.svg" alt="Lane Change Module" width="300"></a></td>
            <td><a href="https://www.youtube.com/watch?v=xOjnPqoHup4"><img src="./image/supported_module_start_planner.svg" alt="Start Planner Module" width="300"></a></td>
            <td><a href="https://www.youtube.com/watch?v=ornbzkWxRWU"><img src="./image/supported_module_goal_planner.svg" alt="Goal Planner Module" width="300"></a></td>
        </tr>
    </table>
</div>

!!! Note

Users can refer to [Planning component design](https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-architecture/planning/#supported-functions) for some additional behavior.

How to add or implement new module

All scene modules are implemented by inheriting the base class scene_module_interface.hpp.

!!! Warning

The remainder of this subsection is a work in progress (WIP).

Planner Manager

The Planner Manager’s responsibilities include:

  1. Activating the relevant scene module in response to the specific situation faced by the autonomous vehicle. For example, when a parked vehicle blocks the ego vehicle’s driving lane, the manager would engage the avoidance module.
  2. Managing the execution order when multiple modules are running simultaneously. For instance, if both the lane-changing and avoidance modules are operational, the manager decides which should take precedence.
  3. Merging paths from multiple modules when they are activated simultaneously and each generates its own path, thereby creating a single functional path.

!!! note

To check the scene module's transition – i.e., registered, approved and candidate modules – set `verbose: true` in the [Behavior Path Planner configuration file](https://github.com/autowarefoundation/autoware_launch/blob/0cd5d891a36ac34a32a417205905c109f2bafe7b/autoware_launch/config/planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/behavior_path_planner.param.yaml#L3).

![Scene module's transition table](./image/checking_module_transition.png)

!!! note

For more in-depth information, refer to the [Manager design](./docs/behavior_path_planner_manager_design.md) document.

Inputs / Outputs / API

Input

Name Required? Type Description
~/input/odometry nav_msgs::msg::Odometry For ego velocity
~/input/accel geometry_msgs::msg::AccelWithCovarianceStamped For ego acceleration
~/input/objects autoware_perception_msgs::msg::PredictedObjects Dynamic objects from the perception module
~/input/occupancy_grid_map nav_msgs::msg::OccupancyGrid Occupancy grid map from the perception module. This is used for only the Goal Planner module
~/input/traffic_signals autoware_perception_msgs::msg::TrafficLightGroupArray Traffic signal information from the perception module
~/input/vector_map autoware_map_msgs::msg::LaneletMapBin Vector map information
~/input/route autoware_planning_msgs::msg::LaneletRoute Current route from start to goal

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_behavior_path_planner

0.47.0 (2025-08-11)

  • fix(behavior_path_planner): resample the path before generating the drivable area (#10989)
  • Contributors: Maxime CLEMENT

0.46.0 (2025-06-20)

  • Merge remote-tracking branch 'upstream/main' into tmp/TaikiYamada/bump_version_base

  • chore(default_adapi): rename package (#10756)

  • feat(hazard_lights_selector): add a hazard lights selector package (#10692) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Mamoru Sobue <<hilo.soblin@gmail.com>>

  • fix(lane_change, behavior_path_planner): fix failure to do lane change (#10694)

    * chore(sync-files.yaml): not synchronize [github-release.yaml]{.title-ref} (#1776) not sync github-release

    • set initial state of LC module to waiting approval, update RTC status when no valid path
    • store deleted modules ptrs in vector
    • revert unnecessary changes

    * Revert "chore(sync-files.yaml): not synchronize [github-release.yaml]{.title-ref} (#1776)" This reverts commit 871a8540ade845c7c9a193029d407b411a4d685b.

    • fix format

    * Update planning/behavior_path_planner/autoware_behavior_path_planner/src/planner_manager.cpp ---------Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>> Co-authored-by: GitHub Action <<action@github.com>> Co-authored-by: Mamoru Sobue <<mamoru.sobue@tier4.jp>>

  • fix(planning): fix links in documentations (#10704)

    • fix(planning): fix links in documentations

    * fix pre-commit ---------

  • feat(autoware_behavior_path_bidirectional_traffic_module): add a functionality for bidirectional traffic (#10394)

    • add bidirectional traffic module
    • first version
    • add virtual wall
    • WIP
    • apply new message type
    • revert autoware_trajectory change
    • WIP
    • developping...
    • fix bug
    • update module
    • remove stopping in BackToNormalLane mode
    • fix bug maybe
    • tidy
    • add document
    • rename images
    • add test, tidy.
    • catch up with latest branch
    • fix
    • style(pre-commit): autofix
    • update
    • downsizing svg files
    • fix
    • fix
    • tidy

    * fix

    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • Contributors: Makoto Kurihara, TaikiYamada4, Takagi, Isamu, Yukinari Hisaki, Yuxuan Liu, mkquda

0.45.0 (2025-05-22)

  • Merge remote-tracking branch 'origin/main' into tmp/notbot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/behavior_path_planner.launch.xml
      • common_param_path
      • vehicle_param_file
      • nearest_search_param_path
      • behavior_path_planner_launch_modules
      • behavior_path_config_path
      • behavior_path_planner_common_param_path
      • behavior_path_planner_scene_module_manager_param_path
      • behavior_path_planner_side_shift_module_param_path
      • behavior_path_planner_avoidance_module_param_path
      • behavior_path_planner_avoidance_by_lc_module_param_path
      • behavior_path_planner_dynamic_avoidance_module_param_path
      • behavior_path_planner_lane_change_module_param_path
      • behavior_path_planner_goal_planner_module_param_path
      • behavior_path_planner_start_planner_module_param_path
      • behavior_path_planner_bidirectional_traffic_module_param_path
      • behavior_path_planner_sampling_planner_module_param_path
      • behavior_path_planner_drivable_area_expansion_param_path

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_behavior_path_planner at Robotics Stack Exchange

No version for distro galactic showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_behavior_path_planner package from autoware_universe repo

autoware_agnocast_wrapper autoware_auto_common autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_component_interface_tools autoware_component_interface_utils autoware_cuda_dependency_meta autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_path_distance_calculator autoware_polar_grid autoware_time_utils autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_control_evaluator autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples tier4_autoware_api_launch tier4_control_launch tier4_localization_launch tier4_map_launch tier4_perception_launch tier4_planning_launch tier4_sensing_launch tier4_simulator_launch tier4_system_launch tier4_vehicle_launch autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose2twist autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_range_splitter autoware_object_sorter autoware_object_velocity_splitter autoware_occupancy_grid_map_outlier_filter autoware_probabilistic_occupancy_grid_map autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_run_out_module autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_diagnostics autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_livox_tag_filter autoware_carla_interface autoware_dummy_perception_publisher autoware_fault_injection autoware_learning_based_vehicle_model autoware_simple_planning_simulator autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_bluetooth_monitor autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_monitor autoware_component_state_monitor autoware_adapi_visualizers autoware_automatic_pose_initializer autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_utils autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_duplicated_node_checker autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor reaction_analyzer autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_datetime_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_system_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Tags No category tags.
Version 0.47.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2025-08-16
Dev Status UNKNOWN
Released UNRELEASED
Tags planner ros calibration self-driving-car autonomous-driving autonomous-vehicles ros2 3d-map autoware
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The behavior_path_planner package

Additional Links

No additional links.

Maintainers

  • Zulfaqar Azmi
  • Fumiya Watanabe
  • Kyoichi Sugahara
  • Tomoya Kimura
  • Shumpei Wakabayashi
  • Tomohito Ando
  • Takamasa Horibe
  • Satoshi Ota
  • Kosuke Takeuchi
  • Kyoichi Sugahara
  • Takayuki Murooka
  • Go Sakayori
  • Mamoru Sobue

Authors

  • Takamasa Horibe
  • Satoshi Ota
  • Fumiya Watanabe
  • Zulfaqar Azmi
  • Kosuke Takeuchi
  • Takayuki Murooka
  • Ryohsuke Mitsudome

Behavior Path Planner

The Behavior Path Planner’s main objective is to significantly enhance the safety of autonomous vehicles by minimizing the risk of accidents. It improves driving efficiency through time conservation and underpins reliability with its rule-based approach. Additionally, it allows users to integrate their own custom behavior modules or use it with different types of vehicles, such as cars, buses, and delivery robots, as well as in various environments, from busy urban streets to open highways.

The module begins by thoroughly analyzing the ego vehicle’s current situation, including its position, speed, and surrounding environment. This analysis leads to essential driving decisions about lane changes or stopping and subsequently generates a path that is both safe and efficient. It considers road geometry, traffic rules, and dynamic conditions while also incorporating obstacle avoidance to respond to static and dynamic obstacles such as other vehicles, pedestrians, or unexpected roadblocks, ensuring safe navigation.

Moreover, the planner responds to the behavior of other traffic participants, predicting their actions and accordingly adjusting the vehicle’s path. This ensures not only the safety of the autonomous vehicle but also contributes to smooth traffic flow. Its adherence to traffic laws, including speed limits and compliance with traffic signals, further guarantees lawful and predictable driving behavior. The planner is also designed to minimize sudden or abrupt maneuvers, aiming for a comfortable and natural driving experience.

!!! note

The [Planning Component Design](https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-architecture/planning/) documentation outlines the foundational philosophy guiding the design and future development of the Behavior Path Planner module. We strongly encourage readers to consult this document to understand the rationale behind its current configuration and the direction of its ongoing development.

Purpose / Use Cases

Essentially, the module has three primary responsibilities:

  1. Creating a path based on the traffic situation.
  2. Generating drivable area, i.e. the area within which the vehicle can maneuver.
  3. Generating turn signal commands to be relayed to the vehicle interface.

Features

Supported Scene Modules

Behavior Path Planner has the following scene modules

Name Description Details
Lane Following This module generates a reference path from lanelet centerline. LINK
Static Obstacle Avoidance This module generates an avoidance path when there are objects that should be avoided. LINK
Dynamic Obstacle Avoidance WIP LINK
Avoidance By Lane Change This module generates a lane change path when there are objects that should be avoided. LINK
Lane Change This module is performed when it is necessary and a collision check with other vehicles is cleared. LINK
External Lane Change WIP LINK
Goal Planner This module is performed when the ego vehicle is in a driving lane and the goal is in the shoulder lane. The ego vehicle will stop at the goal. LINK
Start Planner This module is performed when the ego vehicle is stationary and the footprint of the ego vehicle is included in the shoulder lane. This module ends when the ego vehicle merges into the road. LINK
Side Shift This module shifts the path to the left or right based on external instructions, intended for remote control applications. LINK

!!! Note

Click on the following images to view videos of their execution

<div align="center">
    <table>
        <tr>
            <td><img src="./image/supported_module_lane_following.svg" alt="Lane Following Module" width="300"></td>
            <td><a href="https://www.youtube.com/watch?v=A_V9yvfKZ4E"><img src="./image/supported_module_avoidance.svg" alt="Avoidance Module" width="300"></a></td>
            <td><img src="./image/supported_module_avoidance_by_lane_change.svg" alt="Avoidance by Lane Change Module" width="300"></td>
        </tr>
        <tr>
            <td><a href="https://www.youtube.com/watch?v=0jRDGQ84cD4"><img src="./image/supported_module_lane_change.svg" alt="Lane Change Module" width="300"></a></td>
            <td><a href="https://www.youtube.com/watch?v=xOjnPqoHup4"><img src="./image/supported_module_start_planner.svg" alt="Start Planner Module" width="300"></a></td>
            <td><a href="https://www.youtube.com/watch?v=ornbzkWxRWU"><img src="./image/supported_module_goal_planner.svg" alt="Goal Planner Module" width="300"></a></td>
        </tr>
    </table>
</div>

!!! Note

Users can refer to [Planning component design](https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-architecture/planning/#supported-functions) for some additional behavior.

How to add or implement new module

All scene modules are implemented by inheriting the base class scene_module_interface.hpp.

!!! Warning

The remainder of this subsection is a work in progress (WIP).

Planner Manager

The Planner Manager’s responsibilities include:

  1. Activating the relevant scene module in response to the specific situation faced by the autonomous vehicle. For example, when a parked vehicle blocks the ego vehicle’s driving lane, the manager would engage the avoidance module.
  2. Managing the execution order when multiple modules are running simultaneously. For instance, if both the lane-changing and avoidance modules are operational, the manager decides which should take precedence.
  3. Merging paths from multiple modules when they are activated simultaneously and each generates its own path, thereby creating a single functional path.

!!! note

To check the scene module's transition – i.e., registered, approved and candidate modules – set `verbose: true` in the [Behavior Path Planner configuration file](https://github.com/autowarefoundation/autoware_launch/blob/0cd5d891a36ac34a32a417205905c109f2bafe7b/autoware_launch/config/planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/behavior_path_planner.param.yaml#L3).

![Scene module's transition table](./image/checking_module_transition.png)

!!! note

For more in-depth information, refer to the [Manager design](./docs/behavior_path_planner_manager_design.md) document.

Inputs / Outputs / API

Input

Name Required? Type Description
~/input/odometry nav_msgs::msg::Odometry For ego velocity
~/input/accel geometry_msgs::msg::AccelWithCovarianceStamped For ego acceleration
~/input/objects autoware_perception_msgs::msg::PredictedObjects Dynamic objects from the perception module
~/input/occupancy_grid_map nav_msgs::msg::OccupancyGrid Occupancy grid map from the perception module. This is used for only the Goal Planner module
~/input/traffic_signals autoware_perception_msgs::msg::TrafficLightGroupArray Traffic signal information from the perception module
~/input/vector_map autoware_map_msgs::msg::LaneletMapBin Vector map information
~/input/route autoware_planning_msgs::msg::LaneletRoute Current route from start to goal

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_behavior_path_planner

0.47.0 (2025-08-11)

  • fix(behavior_path_planner): resample the path before generating the drivable area (#10989)
  • Contributors: Maxime CLEMENT

0.46.0 (2025-06-20)

  • Merge remote-tracking branch 'upstream/main' into tmp/TaikiYamada/bump_version_base

  • chore(default_adapi): rename package (#10756)

  • feat(hazard_lights_selector): add a hazard lights selector package (#10692) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Mamoru Sobue <<hilo.soblin@gmail.com>>

  • fix(lane_change, behavior_path_planner): fix failure to do lane change (#10694)

    * chore(sync-files.yaml): not synchronize [github-release.yaml]{.title-ref} (#1776) not sync github-release

    • set initial state of LC module to waiting approval, update RTC status when no valid path
    • store deleted modules ptrs in vector
    • revert unnecessary changes

    * Revert "chore(sync-files.yaml): not synchronize [github-release.yaml]{.title-ref} (#1776)" This reverts commit 871a8540ade845c7c9a193029d407b411a4d685b.

    • fix format

    * Update planning/behavior_path_planner/autoware_behavior_path_planner/src/planner_manager.cpp ---------Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>> Co-authored-by: GitHub Action <<action@github.com>> Co-authored-by: Mamoru Sobue <<mamoru.sobue@tier4.jp>>

  • fix(planning): fix links in documentations (#10704)

    • fix(planning): fix links in documentations

    * fix pre-commit ---------

  • feat(autoware_behavior_path_bidirectional_traffic_module): add a functionality for bidirectional traffic (#10394)

    • add bidirectional traffic module
    • first version
    • add virtual wall
    • WIP
    • apply new message type
    • revert autoware_trajectory change
    • WIP
    • developping...
    • fix bug
    • update module
    • remove stopping in BackToNormalLane mode
    • fix bug maybe
    • tidy
    • add document
    • rename images
    • add test, tidy.
    • catch up with latest branch
    • fix
    • style(pre-commit): autofix
    • update
    • downsizing svg files
    • fix
    • fix
    • tidy

    * fix

    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • Contributors: Makoto Kurihara, TaikiYamada4, Takagi, Isamu, Yukinari Hisaki, Yuxuan Liu, mkquda

0.45.0 (2025-05-22)

  • Merge remote-tracking branch 'origin/main' into tmp/notbot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/behavior_path_planner.launch.xml
      • common_param_path
      • vehicle_param_file
      • nearest_search_param_path
      • behavior_path_planner_launch_modules
      • behavior_path_config_path
      • behavior_path_planner_common_param_path
      • behavior_path_planner_scene_module_manager_param_path
      • behavior_path_planner_side_shift_module_param_path
      • behavior_path_planner_avoidance_module_param_path
      • behavior_path_planner_avoidance_by_lc_module_param_path
      • behavior_path_planner_dynamic_avoidance_module_param_path
      • behavior_path_planner_lane_change_module_param_path
      • behavior_path_planner_goal_planner_module_param_path
      • behavior_path_planner_start_planner_module_param_path
      • behavior_path_planner_bidirectional_traffic_module_param_path
      • behavior_path_planner_sampling_planner_module_param_path
      • behavior_path_planner_drivable_area_expansion_param_path

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_behavior_path_planner at Robotics Stack Exchange

No version for distro iron showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_behavior_path_planner package from autoware_universe repo

autoware_agnocast_wrapper autoware_auto_common autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_component_interface_tools autoware_component_interface_utils autoware_cuda_dependency_meta autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_path_distance_calculator autoware_polar_grid autoware_time_utils autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_control_evaluator autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples tier4_autoware_api_launch tier4_control_launch tier4_localization_launch tier4_map_launch tier4_perception_launch tier4_planning_launch tier4_sensing_launch tier4_simulator_launch tier4_system_launch tier4_vehicle_launch autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose2twist autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_range_splitter autoware_object_sorter autoware_object_velocity_splitter autoware_occupancy_grid_map_outlier_filter autoware_probabilistic_occupancy_grid_map autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_run_out_module autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_diagnostics autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_livox_tag_filter autoware_carla_interface autoware_dummy_perception_publisher autoware_fault_injection autoware_learning_based_vehicle_model autoware_simple_planning_simulator autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_bluetooth_monitor autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_monitor autoware_component_state_monitor autoware_adapi_visualizers autoware_automatic_pose_initializer autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_utils autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_duplicated_node_checker autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor reaction_analyzer autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_datetime_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_system_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Tags No category tags.
Version 0.47.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2025-08-16
Dev Status UNKNOWN
Released UNRELEASED
Tags planner ros calibration self-driving-car autonomous-driving autonomous-vehicles ros2 3d-map autoware
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The behavior_path_planner package

Additional Links

No additional links.

Maintainers

  • Zulfaqar Azmi
  • Fumiya Watanabe
  • Kyoichi Sugahara
  • Tomoya Kimura
  • Shumpei Wakabayashi
  • Tomohito Ando
  • Takamasa Horibe
  • Satoshi Ota
  • Kosuke Takeuchi
  • Kyoichi Sugahara
  • Takayuki Murooka
  • Go Sakayori
  • Mamoru Sobue

Authors

  • Takamasa Horibe
  • Satoshi Ota
  • Fumiya Watanabe
  • Zulfaqar Azmi
  • Kosuke Takeuchi
  • Takayuki Murooka
  • Ryohsuke Mitsudome

Behavior Path Planner

The Behavior Path Planner’s main objective is to significantly enhance the safety of autonomous vehicles by minimizing the risk of accidents. It improves driving efficiency through time conservation and underpins reliability with its rule-based approach. Additionally, it allows users to integrate their own custom behavior modules or use it with different types of vehicles, such as cars, buses, and delivery robots, as well as in various environments, from busy urban streets to open highways.

The module begins by thoroughly analyzing the ego vehicle’s current situation, including its position, speed, and surrounding environment. This analysis leads to essential driving decisions about lane changes or stopping and subsequently generates a path that is both safe and efficient. It considers road geometry, traffic rules, and dynamic conditions while also incorporating obstacle avoidance to respond to static and dynamic obstacles such as other vehicles, pedestrians, or unexpected roadblocks, ensuring safe navigation.

Moreover, the planner responds to the behavior of other traffic participants, predicting their actions and accordingly adjusting the vehicle’s path. This ensures not only the safety of the autonomous vehicle but also contributes to smooth traffic flow. Its adherence to traffic laws, including speed limits and compliance with traffic signals, further guarantees lawful and predictable driving behavior. The planner is also designed to minimize sudden or abrupt maneuvers, aiming for a comfortable and natural driving experience.

!!! note

The [Planning Component Design](https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-architecture/planning/) documentation outlines the foundational philosophy guiding the design and future development of the Behavior Path Planner module. We strongly encourage readers to consult this document to understand the rationale behind its current configuration and the direction of its ongoing development.

Purpose / Use Cases

Essentially, the module has three primary responsibilities:

  1. Creating a path based on the traffic situation.
  2. Generating drivable area, i.e. the area within which the vehicle can maneuver.
  3. Generating turn signal commands to be relayed to the vehicle interface.

Features

Supported Scene Modules

Behavior Path Planner has the following scene modules

Name Description Details
Lane Following This module generates a reference path from lanelet centerline. LINK
Static Obstacle Avoidance This module generates an avoidance path when there are objects that should be avoided. LINK
Dynamic Obstacle Avoidance WIP LINK
Avoidance By Lane Change This module generates a lane change path when there are objects that should be avoided. LINK
Lane Change This module is performed when it is necessary and a collision check with other vehicles is cleared. LINK
External Lane Change WIP LINK
Goal Planner This module is performed when the ego vehicle is in a driving lane and the goal is in the shoulder lane. The ego vehicle will stop at the goal. LINK
Start Planner This module is performed when the ego vehicle is stationary and the footprint of the ego vehicle is included in the shoulder lane. This module ends when the ego vehicle merges into the road. LINK
Side Shift This module shifts the path to the left or right based on external instructions, intended for remote control applications. LINK

!!! Note

Click on the following images to view videos of their execution

<div align="center">
    <table>
        <tr>
            <td><img src="./image/supported_module_lane_following.svg" alt="Lane Following Module" width="300"></td>
            <td><a href="https://www.youtube.com/watch?v=A_V9yvfKZ4E"><img src="./image/supported_module_avoidance.svg" alt="Avoidance Module" width="300"></a></td>
            <td><img src="./image/supported_module_avoidance_by_lane_change.svg" alt="Avoidance by Lane Change Module" width="300"></td>
        </tr>
        <tr>
            <td><a href="https://www.youtube.com/watch?v=0jRDGQ84cD4"><img src="./image/supported_module_lane_change.svg" alt="Lane Change Module" width="300"></a></td>
            <td><a href="https://www.youtube.com/watch?v=xOjnPqoHup4"><img src="./image/supported_module_start_planner.svg" alt="Start Planner Module" width="300"></a></td>
            <td><a href="https://www.youtube.com/watch?v=ornbzkWxRWU"><img src="./image/supported_module_goal_planner.svg" alt="Goal Planner Module" width="300"></a></td>
        </tr>
    </table>
</div>

!!! Note

Users can refer to [Planning component design](https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-architecture/planning/#supported-functions) for some additional behavior.

How to add or implement new module

All scene modules are implemented by inheriting the base class scene_module_interface.hpp.

!!! Warning

The remainder of this subsection is a work in progress (WIP).

Planner Manager

The Planner Manager’s responsibilities include:

  1. Activating the relevant scene module in response to the specific situation faced by the autonomous vehicle. For example, when a parked vehicle blocks the ego vehicle’s driving lane, the manager would engage the avoidance module.
  2. Managing the execution order when multiple modules are running simultaneously. For instance, if both the lane-changing and avoidance modules are operational, the manager decides which should take precedence.
  3. Merging paths from multiple modules when they are activated simultaneously and each generates its own path, thereby creating a single functional path.

!!! note

To check the scene module's transition – i.e., registered, approved and candidate modules – set `verbose: true` in the [Behavior Path Planner configuration file](https://github.com/autowarefoundation/autoware_launch/blob/0cd5d891a36ac34a32a417205905c109f2bafe7b/autoware_launch/config/planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/behavior_path_planner.param.yaml#L3).

![Scene module's transition table](./image/checking_module_transition.png)

!!! note

For more in-depth information, refer to the [Manager design](./docs/behavior_path_planner_manager_design.md) document.

Inputs / Outputs / API

Input

Name Required? Type Description
~/input/odometry nav_msgs::msg::Odometry For ego velocity
~/input/accel geometry_msgs::msg::AccelWithCovarianceStamped For ego acceleration
~/input/objects autoware_perception_msgs::msg::PredictedObjects Dynamic objects from the perception module
~/input/occupancy_grid_map nav_msgs::msg::OccupancyGrid Occupancy grid map from the perception module. This is used for only the Goal Planner module
~/input/traffic_signals autoware_perception_msgs::msg::TrafficLightGroupArray Traffic signal information from the perception module
~/input/vector_map autoware_map_msgs::msg::LaneletMapBin Vector map information
~/input/route autoware_planning_msgs::msg::LaneletRoute Current route from start to goal

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_behavior_path_planner

0.47.0 (2025-08-11)

  • fix(behavior_path_planner): resample the path before generating the drivable area (#10989)
  • Contributors: Maxime CLEMENT

0.46.0 (2025-06-20)

  • Merge remote-tracking branch 'upstream/main' into tmp/TaikiYamada/bump_version_base

  • chore(default_adapi): rename package (#10756)

  • feat(hazard_lights_selector): add a hazard lights selector package (#10692) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Mamoru Sobue <<hilo.soblin@gmail.com>>

  • fix(lane_change, behavior_path_planner): fix failure to do lane change (#10694)

    * chore(sync-files.yaml): not synchronize [github-release.yaml]{.title-ref} (#1776) not sync github-release

    • set initial state of LC module to waiting approval, update RTC status when no valid path
    • store deleted modules ptrs in vector
    • revert unnecessary changes

    * Revert "chore(sync-files.yaml): not synchronize [github-release.yaml]{.title-ref} (#1776)" This reverts commit 871a8540ade845c7c9a193029d407b411a4d685b.

    • fix format

    * Update planning/behavior_path_planner/autoware_behavior_path_planner/src/planner_manager.cpp ---------Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>> Co-authored-by: GitHub Action <<action@github.com>> Co-authored-by: Mamoru Sobue <<mamoru.sobue@tier4.jp>>

  • fix(planning): fix links in documentations (#10704)

    • fix(planning): fix links in documentations

    * fix pre-commit ---------

  • feat(autoware_behavior_path_bidirectional_traffic_module): add a functionality for bidirectional traffic (#10394)

    • add bidirectional traffic module
    • first version
    • add virtual wall
    • WIP
    • apply new message type
    • revert autoware_trajectory change
    • WIP
    • developping...
    • fix bug
    • update module
    • remove stopping in BackToNormalLane mode
    • fix bug maybe
    • tidy
    • add document
    • rename images
    • add test, tidy.
    • catch up with latest branch
    • fix
    • style(pre-commit): autofix
    • update
    • downsizing svg files
    • fix
    • fix
    • tidy

    * fix

    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • Contributors: Makoto Kurihara, TaikiYamada4, Takagi, Isamu, Yukinari Hisaki, Yuxuan Liu, mkquda

0.45.0 (2025-05-22)

  • Merge remote-tracking branch 'origin/main' into tmp/notbot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/behavior_path_planner.launch.xml
      • common_param_path
      • vehicle_param_file
      • nearest_search_param_path
      • behavior_path_planner_launch_modules
      • behavior_path_config_path
      • behavior_path_planner_common_param_path
      • behavior_path_planner_scene_module_manager_param_path
      • behavior_path_planner_side_shift_module_param_path
      • behavior_path_planner_avoidance_module_param_path
      • behavior_path_planner_avoidance_by_lc_module_param_path
      • behavior_path_planner_dynamic_avoidance_module_param_path
      • behavior_path_planner_lane_change_module_param_path
      • behavior_path_planner_goal_planner_module_param_path
      • behavior_path_planner_start_planner_module_param_path
      • behavior_path_planner_bidirectional_traffic_module_param_path
      • behavior_path_planner_sampling_planner_module_param_path
      • behavior_path_planner_drivable_area_expansion_param_path

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_behavior_path_planner at Robotics Stack Exchange

No version for distro melodic showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_behavior_path_planner package from autoware_universe repo

autoware_agnocast_wrapper autoware_auto_common autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_component_interface_tools autoware_component_interface_utils autoware_cuda_dependency_meta autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_path_distance_calculator autoware_polar_grid autoware_time_utils autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_control_evaluator autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples tier4_autoware_api_launch tier4_control_launch tier4_localization_launch tier4_map_launch tier4_perception_launch tier4_planning_launch tier4_sensing_launch tier4_simulator_launch tier4_system_launch tier4_vehicle_launch autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose2twist autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_range_splitter autoware_object_sorter autoware_object_velocity_splitter autoware_occupancy_grid_map_outlier_filter autoware_probabilistic_occupancy_grid_map autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_run_out_module autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_diagnostics autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_livox_tag_filter autoware_carla_interface autoware_dummy_perception_publisher autoware_fault_injection autoware_learning_based_vehicle_model autoware_simple_planning_simulator autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_bluetooth_monitor autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_monitor autoware_component_state_monitor autoware_adapi_visualizers autoware_automatic_pose_initializer autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_utils autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_duplicated_node_checker autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor reaction_analyzer autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_datetime_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_system_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Tags No category tags.
Version 0.47.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2025-08-16
Dev Status UNKNOWN
Released UNRELEASED
Tags planner ros calibration self-driving-car autonomous-driving autonomous-vehicles ros2 3d-map autoware
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The behavior_path_planner package

Additional Links

No additional links.

Maintainers

  • Zulfaqar Azmi
  • Fumiya Watanabe
  • Kyoichi Sugahara
  • Tomoya Kimura
  • Shumpei Wakabayashi
  • Tomohito Ando
  • Takamasa Horibe
  • Satoshi Ota
  • Kosuke Takeuchi
  • Kyoichi Sugahara
  • Takayuki Murooka
  • Go Sakayori
  • Mamoru Sobue

Authors

  • Takamasa Horibe
  • Satoshi Ota
  • Fumiya Watanabe
  • Zulfaqar Azmi
  • Kosuke Takeuchi
  • Takayuki Murooka
  • Ryohsuke Mitsudome

Behavior Path Planner

The Behavior Path Planner’s main objective is to significantly enhance the safety of autonomous vehicles by minimizing the risk of accidents. It improves driving efficiency through time conservation and underpins reliability with its rule-based approach. Additionally, it allows users to integrate their own custom behavior modules or use it with different types of vehicles, such as cars, buses, and delivery robots, as well as in various environments, from busy urban streets to open highways.

The module begins by thoroughly analyzing the ego vehicle’s current situation, including its position, speed, and surrounding environment. This analysis leads to essential driving decisions about lane changes or stopping and subsequently generates a path that is both safe and efficient. It considers road geometry, traffic rules, and dynamic conditions while also incorporating obstacle avoidance to respond to static and dynamic obstacles such as other vehicles, pedestrians, or unexpected roadblocks, ensuring safe navigation.

Moreover, the planner responds to the behavior of other traffic participants, predicting their actions and accordingly adjusting the vehicle’s path. This ensures not only the safety of the autonomous vehicle but also contributes to smooth traffic flow. Its adherence to traffic laws, including speed limits and compliance with traffic signals, further guarantees lawful and predictable driving behavior. The planner is also designed to minimize sudden or abrupt maneuvers, aiming for a comfortable and natural driving experience.

!!! note

The [Planning Component Design](https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-architecture/planning/) documentation outlines the foundational philosophy guiding the design and future development of the Behavior Path Planner module. We strongly encourage readers to consult this document to understand the rationale behind its current configuration and the direction of its ongoing development.

Purpose / Use Cases

Essentially, the module has three primary responsibilities:

  1. Creating a path based on the traffic situation.
  2. Generating drivable area, i.e. the area within which the vehicle can maneuver.
  3. Generating turn signal commands to be relayed to the vehicle interface.

Features

Supported Scene Modules

Behavior Path Planner has the following scene modules

Name Description Details
Lane Following This module generates a reference path from lanelet centerline. LINK
Static Obstacle Avoidance This module generates an avoidance path when there are objects that should be avoided. LINK
Dynamic Obstacle Avoidance WIP LINK
Avoidance By Lane Change This module generates a lane change path when there are objects that should be avoided. LINK
Lane Change This module is performed when it is necessary and a collision check with other vehicles is cleared. LINK
External Lane Change WIP LINK
Goal Planner This module is performed when the ego vehicle is in a driving lane and the goal is in the shoulder lane. The ego vehicle will stop at the goal. LINK
Start Planner This module is performed when the ego vehicle is stationary and the footprint of the ego vehicle is included in the shoulder lane. This module ends when the ego vehicle merges into the road. LINK
Side Shift This module shifts the path to the left or right based on external instructions, intended for remote control applications. LINK

!!! Note

Click on the following images to view videos of their execution

<div align="center">
    <table>
        <tr>
            <td><img src="./image/supported_module_lane_following.svg" alt="Lane Following Module" width="300"></td>
            <td><a href="https://www.youtube.com/watch?v=A_V9yvfKZ4E"><img src="./image/supported_module_avoidance.svg" alt="Avoidance Module" width="300"></a></td>
            <td><img src="./image/supported_module_avoidance_by_lane_change.svg" alt="Avoidance by Lane Change Module" width="300"></td>
        </tr>
        <tr>
            <td><a href="https://www.youtube.com/watch?v=0jRDGQ84cD4"><img src="./image/supported_module_lane_change.svg" alt="Lane Change Module" width="300"></a></td>
            <td><a href="https://www.youtube.com/watch?v=xOjnPqoHup4"><img src="./image/supported_module_start_planner.svg" alt="Start Planner Module" width="300"></a></td>
            <td><a href="https://www.youtube.com/watch?v=ornbzkWxRWU"><img src="./image/supported_module_goal_planner.svg" alt="Goal Planner Module" width="300"></a></td>
        </tr>
    </table>
</div>

!!! Note

Users can refer to [Planning component design](https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-architecture/planning/#supported-functions) for some additional behavior.

How to add or implement new module

All scene modules are implemented by inheriting the base class scene_module_interface.hpp.

!!! Warning

The remainder of this subsection is a work in progress (WIP).

Planner Manager

The Planner Manager’s responsibilities include:

  1. Activating the relevant scene module in response to the specific situation faced by the autonomous vehicle. For example, when a parked vehicle blocks the ego vehicle’s driving lane, the manager would engage the avoidance module.
  2. Managing the execution order when multiple modules are running simultaneously. For instance, if both the lane-changing and avoidance modules are operational, the manager decides which should take precedence.
  3. Merging paths from multiple modules when they are activated simultaneously and each generates its own path, thereby creating a single functional path.

!!! note

To check the scene module's transition – i.e., registered, approved and candidate modules – set `verbose: true` in the [Behavior Path Planner configuration file](https://github.com/autowarefoundation/autoware_launch/blob/0cd5d891a36ac34a32a417205905c109f2bafe7b/autoware_launch/config/planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/behavior_path_planner.param.yaml#L3).

![Scene module's transition table](./image/checking_module_transition.png)

!!! note

For more in-depth information, refer to the [Manager design](./docs/behavior_path_planner_manager_design.md) document.

Inputs / Outputs / API

Input

Name Required? Type Description
~/input/odometry nav_msgs::msg::Odometry For ego velocity
~/input/accel geometry_msgs::msg::AccelWithCovarianceStamped For ego acceleration
~/input/objects autoware_perception_msgs::msg::PredictedObjects Dynamic objects from the perception module
~/input/occupancy_grid_map nav_msgs::msg::OccupancyGrid Occupancy grid map from the perception module. This is used for only the Goal Planner module
~/input/traffic_signals autoware_perception_msgs::msg::TrafficLightGroupArray Traffic signal information from the perception module
~/input/vector_map autoware_map_msgs::msg::LaneletMapBin Vector map information
~/input/route autoware_planning_msgs::msg::LaneletRoute Current route from start to goal

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_behavior_path_planner

0.47.0 (2025-08-11)

  • fix(behavior_path_planner): resample the path before generating the drivable area (#10989)
  • Contributors: Maxime CLEMENT

0.46.0 (2025-06-20)

  • Merge remote-tracking branch 'upstream/main' into tmp/TaikiYamada/bump_version_base

  • chore(default_adapi): rename package (#10756)

  • feat(hazard_lights_selector): add a hazard lights selector package (#10692) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Mamoru Sobue <<hilo.soblin@gmail.com>>

  • fix(lane_change, behavior_path_planner): fix failure to do lane change (#10694)

    * chore(sync-files.yaml): not synchronize [github-release.yaml]{.title-ref} (#1776) not sync github-release

    • set initial state of LC module to waiting approval, update RTC status when no valid path
    • store deleted modules ptrs in vector
    • revert unnecessary changes

    * Revert "chore(sync-files.yaml): not synchronize [github-release.yaml]{.title-ref} (#1776)" This reverts commit 871a8540ade845c7c9a193029d407b411a4d685b.

    • fix format

    * Update planning/behavior_path_planner/autoware_behavior_path_planner/src/planner_manager.cpp ---------Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>> Co-authored-by: GitHub Action <<action@github.com>> Co-authored-by: Mamoru Sobue <<mamoru.sobue@tier4.jp>>

  • fix(planning): fix links in documentations (#10704)

    • fix(planning): fix links in documentations

    * fix pre-commit ---------

  • feat(autoware_behavior_path_bidirectional_traffic_module): add a functionality for bidirectional traffic (#10394)

    • add bidirectional traffic module
    • first version
    • add virtual wall
    • WIP
    • apply new message type
    • revert autoware_trajectory change
    • WIP
    • developping...
    • fix bug
    • update module
    • remove stopping in BackToNormalLane mode
    • fix bug maybe
    • tidy
    • add document
    • rename images
    • add test, tidy.
    • catch up with latest branch
    • fix
    • style(pre-commit): autofix
    • update
    • downsizing svg files
    • fix
    • fix
    • tidy

    * fix

    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • Contributors: Makoto Kurihara, TaikiYamada4, Takagi, Isamu, Yukinari Hisaki, Yuxuan Liu, mkquda

0.45.0 (2025-05-22)

  • Merge remote-tracking branch 'origin/main' into tmp/notbot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/behavior_path_planner.launch.xml
      • common_param_path
      • vehicle_param_file
      • nearest_search_param_path
      • behavior_path_planner_launch_modules
      • behavior_path_config_path
      • behavior_path_planner_common_param_path
      • behavior_path_planner_scene_module_manager_param_path
      • behavior_path_planner_side_shift_module_param_path
      • behavior_path_planner_avoidance_module_param_path
      • behavior_path_planner_avoidance_by_lc_module_param_path
      • behavior_path_planner_dynamic_avoidance_module_param_path
      • behavior_path_planner_lane_change_module_param_path
      • behavior_path_planner_goal_planner_module_param_path
      • behavior_path_planner_start_planner_module_param_path
      • behavior_path_planner_bidirectional_traffic_module_param_path
      • behavior_path_planner_sampling_planner_module_param_path
      • behavior_path_planner_drivable_area_expansion_param_path

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_behavior_path_planner at Robotics Stack Exchange

No version for distro noetic showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_behavior_path_planner package from autoware_universe repo

autoware_agnocast_wrapper autoware_auto_common autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_component_interface_tools autoware_component_interface_utils autoware_cuda_dependency_meta autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_path_distance_calculator autoware_polar_grid autoware_time_utils autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_control_evaluator autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples tier4_autoware_api_launch tier4_control_launch tier4_localization_launch tier4_map_launch tier4_perception_launch tier4_planning_launch tier4_sensing_launch tier4_simulator_launch tier4_system_launch tier4_vehicle_launch autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose2twist autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_range_splitter autoware_object_sorter autoware_object_velocity_splitter autoware_occupancy_grid_map_outlier_filter autoware_probabilistic_occupancy_grid_map autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_run_out_module autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_diagnostics autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_livox_tag_filter autoware_carla_interface autoware_dummy_perception_publisher autoware_fault_injection autoware_learning_based_vehicle_model autoware_simple_planning_simulator autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_bluetooth_monitor autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_monitor autoware_component_state_monitor autoware_adapi_visualizers autoware_automatic_pose_initializer autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_utils autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_duplicated_node_checker autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor reaction_analyzer autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_datetime_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_system_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Tags No category tags.
Version 0.47.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2025-08-16
Dev Status UNKNOWN
Released UNRELEASED
Tags planner ros calibration self-driving-car autonomous-driving autonomous-vehicles ros2 3d-map autoware
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The behavior_path_planner package

Additional Links

No additional links.

Maintainers

  • Zulfaqar Azmi
  • Fumiya Watanabe
  • Kyoichi Sugahara
  • Tomoya Kimura
  • Shumpei Wakabayashi
  • Tomohito Ando
  • Takamasa Horibe
  • Satoshi Ota
  • Kosuke Takeuchi
  • Kyoichi Sugahara
  • Takayuki Murooka
  • Go Sakayori
  • Mamoru Sobue

Authors

  • Takamasa Horibe
  • Satoshi Ota
  • Fumiya Watanabe
  • Zulfaqar Azmi
  • Kosuke Takeuchi
  • Takayuki Murooka
  • Ryohsuke Mitsudome

Behavior Path Planner

The Behavior Path Planner’s main objective is to significantly enhance the safety of autonomous vehicles by minimizing the risk of accidents. It improves driving efficiency through time conservation and underpins reliability with its rule-based approach. Additionally, it allows users to integrate their own custom behavior modules or use it with different types of vehicles, such as cars, buses, and delivery robots, as well as in various environments, from busy urban streets to open highways.

The module begins by thoroughly analyzing the ego vehicle’s current situation, including its position, speed, and surrounding environment. This analysis leads to essential driving decisions about lane changes or stopping and subsequently generates a path that is both safe and efficient. It considers road geometry, traffic rules, and dynamic conditions while also incorporating obstacle avoidance to respond to static and dynamic obstacles such as other vehicles, pedestrians, or unexpected roadblocks, ensuring safe navigation.

Moreover, the planner responds to the behavior of other traffic participants, predicting their actions and accordingly adjusting the vehicle’s path. This ensures not only the safety of the autonomous vehicle but also contributes to smooth traffic flow. Its adherence to traffic laws, including speed limits and compliance with traffic signals, further guarantees lawful and predictable driving behavior. The planner is also designed to minimize sudden or abrupt maneuvers, aiming for a comfortable and natural driving experience.

!!! note

The [Planning Component Design](https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-architecture/planning/) documentation outlines the foundational philosophy guiding the design and future development of the Behavior Path Planner module. We strongly encourage readers to consult this document to understand the rationale behind its current configuration and the direction of its ongoing development.

Purpose / Use Cases

Essentially, the module has three primary responsibilities:

  1. Creating a path based on the traffic situation.
  2. Generating drivable area, i.e. the area within which the vehicle can maneuver.
  3. Generating turn signal commands to be relayed to the vehicle interface.

Features

Supported Scene Modules

Behavior Path Planner has the following scene modules

Name Description Details
Lane Following This module generates a reference path from lanelet centerline. LINK
Static Obstacle Avoidance This module generates an avoidance path when there are objects that should be avoided. LINK
Dynamic Obstacle Avoidance WIP LINK
Avoidance By Lane Change This module generates a lane change path when there are objects that should be avoided. LINK
Lane Change This module is performed when it is necessary and a collision check with other vehicles is cleared. LINK
External Lane Change WIP LINK
Goal Planner This module is performed when the ego vehicle is in a driving lane and the goal is in the shoulder lane. The ego vehicle will stop at the goal. LINK
Start Planner This module is performed when the ego vehicle is stationary and the footprint of the ego vehicle is included in the shoulder lane. This module ends when the ego vehicle merges into the road. LINK
Side Shift This module shifts the path to the left or right based on external instructions, intended for remote control applications. LINK

!!! Note

Click on the following images to view videos of their execution

<div align="center">
    <table>
        <tr>
            <td><img src="./image/supported_module_lane_following.svg" alt="Lane Following Module" width="300"></td>
            <td><a href="https://www.youtube.com/watch?v=A_V9yvfKZ4E"><img src="./image/supported_module_avoidance.svg" alt="Avoidance Module" width="300"></a></td>
            <td><img src="./image/supported_module_avoidance_by_lane_change.svg" alt="Avoidance by Lane Change Module" width="300"></td>
        </tr>
        <tr>
            <td><a href="https://www.youtube.com/watch?v=0jRDGQ84cD4"><img src="./image/supported_module_lane_change.svg" alt="Lane Change Module" width="300"></a></td>
            <td><a href="https://www.youtube.com/watch?v=xOjnPqoHup4"><img src="./image/supported_module_start_planner.svg" alt="Start Planner Module" width="300"></a></td>
            <td><a href="https://www.youtube.com/watch?v=ornbzkWxRWU"><img src="./image/supported_module_goal_planner.svg" alt="Goal Planner Module" width="300"></a></td>
        </tr>
    </table>
</div>

!!! Note

Users can refer to [Planning component design](https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-architecture/planning/#supported-functions) for some additional behavior.

How to add or implement new module

All scene modules are implemented by inheriting the base class scene_module_interface.hpp.

!!! Warning

The remainder of this subsection is a work in progress (WIP).

Planner Manager

The Planner Manager’s responsibilities include:

  1. Activating the relevant scene module in response to the specific situation faced by the autonomous vehicle. For example, when a parked vehicle blocks the ego vehicle’s driving lane, the manager would engage the avoidance module.
  2. Managing the execution order when multiple modules are running simultaneously. For instance, if both the lane-changing and avoidance modules are operational, the manager decides which should take precedence.
  3. Merging paths from multiple modules when they are activated simultaneously and each generates its own path, thereby creating a single functional path.

!!! note

To check the scene module's transition – i.e., registered, approved and candidate modules – set `verbose: true` in the [Behavior Path Planner configuration file](https://github.com/autowarefoundation/autoware_launch/blob/0cd5d891a36ac34a32a417205905c109f2bafe7b/autoware_launch/config/planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/behavior_path_planner.param.yaml#L3).

![Scene module's transition table](./image/checking_module_transition.png)

!!! note

For more in-depth information, refer to the [Manager design](./docs/behavior_path_planner_manager_design.md) document.

Inputs / Outputs / API

Input

Name Required? Type Description
~/input/odometry nav_msgs::msg::Odometry For ego velocity
~/input/accel geometry_msgs::msg::AccelWithCovarianceStamped For ego acceleration
~/input/objects autoware_perception_msgs::msg::PredictedObjects Dynamic objects from the perception module
~/input/occupancy_grid_map nav_msgs::msg::OccupancyGrid Occupancy grid map from the perception module. This is used for only the Goal Planner module
~/input/traffic_signals autoware_perception_msgs::msg::TrafficLightGroupArray Traffic signal information from the perception module
~/input/vector_map autoware_map_msgs::msg::LaneletMapBin Vector map information
~/input/route autoware_planning_msgs::msg::LaneletRoute Current route from start to goal

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_behavior_path_planner

0.47.0 (2025-08-11)

  • fix(behavior_path_planner): resample the path before generating the drivable area (#10989)
  • Contributors: Maxime CLEMENT

0.46.0 (2025-06-20)

  • Merge remote-tracking branch 'upstream/main' into tmp/TaikiYamada/bump_version_base

  • chore(default_adapi): rename package (#10756)

  • feat(hazard_lights_selector): add a hazard lights selector package (#10692) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Mamoru Sobue <<hilo.soblin@gmail.com>>

  • fix(lane_change, behavior_path_planner): fix failure to do lane change (#10694)

    * chore(sync-files.yaml): not synchronize [github-release.yaml]{.title-ref} (#1776) not sync github-release

    • set initial state of LC module to waiting approval, update RTC status when no valid path
    • store deleted modules ptrs in vector
    • revert unnecessary changes

    * Revert "chore(sync-files.yaml): not synchronize [github-release.yaml]{.title-ref} (#1776)" This reverts commit 871a8540ade845c7c9a193029d407b411a4d685b.

    • fix format

    * Update planning/behavior_path_planner/autoware_behavior_path_planner/src/planner_manager.cpp ---------Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>> Co-authored-by: GitHub Action <<action@github.com>> Co-authored-by: Mamoru Sobue <<mamoru.sobue@tier4.jp>>

  • fix(planning): fix links in documentations (#10704)

    • fix(planning): fix links in documentations

    * fix pre-commit ---------

  • feat(autoware_behavior_path_bidirectional_traffic_module): add a functionality for bidirectional traffic (#10394)

    • add bidirectional traffic module
    • first version
    • add virtual wall
    • WIP
    • apply new message type
    • revert autoware_trajectory change
    • WIP
    • developping...
    • fix bug
    • update module
    • remove stopping in BackToNormalLane mode
    • fix bug maybe
    • tidy
    • add document
    • rename images
    • add test, tidy.
    • catch up with latest branch
    • fix
    • style(pre-commit): autofix
    • update
    • downsizing svg files
    • fix
    • fix
    • tidy

    * fix

    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • Contributors: Makoto Kurihara, TaikiYamada4, Takagi, Isamu, Yukinari Hisaki, Yuxuan Liu, mkquda

0.45.0 (2025-05-22)

  • Merge remote-tracking branch 'origin/main' into tmp/notbot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/behavior_path_planner.launch.xml
      • common_param_path
      • vehicle_param_file
      • nearest_search_param_path
      • behavior_path_planner_launch_modules
      • behavior_path_config_path
      • behavior_path_planner_common_param_path
      • behavior_path_planner_scene_module_manager_param_path
      • behavior_path_planner_side_shift_module_param_path
      • behavior_path_planner_avoidance_module_param_path
      • behavior_path_planner_avoidance_by_lc_module_param_path
      • behavior_path_planner_dynamic_avoidance_module_param_path
      • behavior_path_planner_lane_change_module_param_path
      • behavior_path_planner_goal_planner_module_param_path
      • behavior_path_planner_start_planner_module_param_path
      • behavior_path_planner_bidirectional_traffic_module_param_path
      • behavior_path_planner_sampling_planner_module_param_path
      • behavior_path_planner_drivable_area_expansion_param_path

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_behavior_path_planner at Robotics Stack Exchange