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

autoware_planning_validator_intersection_collision_checker 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 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.46.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-07-31
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 autoware_planning_validator_intersection_collision_checker package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Alqudah Mohammad
  • Maxime Clement
  • Kyoichi Sugahara

Authors

  • Alqudah Mohammad

Intersection Collision Checker

The intersection_collision_checker is a plugin module of autoware_planning_validator node. It is responsible for validating the planning trajectory at intersections by verifying that it does NOT lead to a collision with other road vehicles.

The check is executed only when:

  • Ego is approaching a turn_direction lane
  • Ego trajectory intersects with lanes other than route_lanelets

Inner Workings

The intersection_collision_checker checks for collisions using pointcloud data and route information. It identifies target lanes at intersections and extracts pcd objects withing target lanes, and performs simplistic tracking and velocity estimation of pcd objects for each target lane. Times to arrival are computed for Ego and pcd objects, and the difference in the arrival time is used to judge if a collision is imminent.

Flowchart

The following diagram illustrates the overall flow of module implementation:

@startuml

start

#LightBlue:Update ego trajectory info;
#LightBlue:Update lanelet info;
if (Is turning right/left?) then (yes)
  if (Is target lanelets available?) then (yes)
    #LightBlue:Filter & transform objects pcd;
    :Start checking target lanelets;
    repeat
      #LightBlue:Get nearest pcd object within target lane;
      #LightBlue:Update tracking info of target lane object;
      #LightBlue:Check collision status with target lane object;
      #LightBlue:Update safety status if collision is detected;
      repeat while (Finished checking all target lanes) is (FALSE)
    if (Is collision detected?) then (yes)
      if (Duration since last safe > on_time_buffer ?) then (yes)
        #LightPink:Publish error diagnostic;
      else (no)
        #Yellow:Display warning;
      endif
    else (no)
      if (Duration since last unsafe > off_time_buffer ?) then (yes)
        #LightGreen:Safe;
      else (no)
        #LightPink:Publish error diagnostic;
      endif
    endif
  else (no)
    #Orange:Reset module data;
  endif
else (no)
  #Orange:Reset module data;
endif
stop

@enduml

Ego Trajectory

The intersection_collision_checker module utilizes the ego trajectory subscribed to by planning_validator node, it uses the resampled trajectory to avoid clustered trajectory points in low velocity areas. The for each trajectory point the time_from_start is computed with respect to the ego’s front pose and the ego’s back pose. This information is later used to estimate the ego’s entry and exit times for each target lanelet.

Target Lanelets

The module applies slightly different logic for acquiring target lanes for right and left turn intersections. In case of right turn intersection, the aim is to check all lanes crossing/overlapping with the egos intended trajectory. In case of left turn, the aim is check no vehicles are coming along the destination lane (lane ago turning into).

!!! warning

Target lane selection logic applies only for Left-hand traffic (LHT). The module should be improved to be driving side agnostic.

Right Turn

To get the target lanelets for right turn intersection:

  • Use ego turn-direction lane to define search space (bounding box enclosing turn-direction lane).
  • Get all lanelets withing bounding box as candidate lanelets
  • Filter out following lanelets:
    • Lanelets that are route_lanelets
    • Lanelets with a “time to reach” exceeding the time horizon
    • Lanelets that have turn_direction attribute and are not STRAIGHT. (If parameter right_turn.check_turning_lanes is FALSE)
    • Lanelets that are determined to be crossing lanes. (If parameter right_turn.check_crossing_lanes is FALSE)
  • remaining lanelets are then processed to:
    • Compute overlap point between ego trajectory and target lanelet
    • Compute ego’s time to arrive and leave overlap point

The image below shows the target lanelets at a right turn intersection. (right_turn.check_turning_lanes set to FALSE)

right-turn-target-lanes

Left Turn

To get the target lanelets for left turn intersection:

  • Use ego’s turn-direction lanelet(s) to get next lanelet “destination_lanelet” following the turn.
  • We then get all lanelets preceding the “destination_lanelet” and filter out:
    • Lanelets that are route_lanelets
    • Lanelets with a “time to reach” exceeding the time horizon
    • Lanelets that have turn_direction attribute and are not STRAIGHT. (If parameter left_turn.check_turning_lanes is FALSE)
  • remaining lanelets are then processed to:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_planning_validator_intersection_collision_checker

0.46.0 (2025-06-20)

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

  • feat(planning_validator): implement redundant collision prevention feature when ego makes a turn at intersection (#10750)

    • create planning latency validator plugin module

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

    • create planning trajectory validator plugin module

    * Update planning/planning_validator/autoware_planning_validator/src/manager.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/node.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • minor fix
    • refactor implementation
    • uncomment lines for adding pose markers
    • fix CMakeLists
    • add comment
    • update planning launch xml

    * Update planning/planning_validator/autoware_planning_latency_validator/include/autoware/planning_latency_validator/latency_validator.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/plugin_interface.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/types.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/src/node.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_latency_validator/src/latency_validator.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • apply pre-commit checks
    • rename plugins for consistency
    • rename directories and files to match package names
    • refactor planning validator tests
    • add packages maintainer
    • separate trajectory check parameters
    • add missing package dependencies
    • move trajectory diagnostics test to trajectory checker module
    • remove blank line
    • add new planning validator plugin collision_checker
    • add launch args for validator modules
    • logic for setting route handler
    • add poincloud filtering function
    • check for turn direction lane
    • compute target lanelets for collision check
    • fix format
    • refactor lanelets filtering
    • update launch files
    • move lanelet selection functions to utils file
    • check for collisions
    • check observation time of tracked object
    • add more config params, fix pcd object function
    • extend target lanes
    • add off timeout after collision is detected
    • define const value
    • improve overlap time estimation

    * Update planning/planning_validator/autoware_planning_validator_collision_checker/src/collision_checker.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • rename planning_validator collision_checker module
    • move pointcloud filtering to just before collision check
    • use proper name for module param
    • fix logic for extending target lanelets

    * change logging level ---------Co-authored-by: GitHub

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_planning_validator_intersection_collision_checker at Robotics Stack Exchange

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

autoware_planning_validator_intersection_collision_checker 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 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.46.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-07-31
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 autoware_planning_validator_intersection_collision_checker package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Alqudah Mohammad
  • Maxime Clement
  • Kyoichi Sugahara

Authors

  • Alqudah Mohammad

Intersection Collision Checker

The intersection_collision_checker is a plugin module of autoware_planning_validator node. It is responsible for validating the planning trajectory at intersections by verifying that it does NOT lead to a collision with other road vehicles.

The check is executed only when:

  • Ego is approaching a turn_direction lane
  • Ego trajectory intersects with lanes other than route_lanelets

Inner Workings

The intersection_collision_checker checks for collisions using pointcloud data and route information. It identifies target lanes at intersections and extracts pcd objects withing target lanes, and performs simplistic tracking and velocity estimation of pcd objects for each target lane. Times to arrival are computed for Ego and pcd objects, and the difference in the arrival time is used to judge if a collision is imminent.

Flowchart

The following diagram illustrates the overall flow of module implementation:

@startuml

start

#LightBlue:Update ego trajectory info;
#LightBlue:Update lanelet info;
if (Is turning right/left?) then (yes)
  if (Is target lanelets available?) then (yes)
    #LightBlue:Filter & transform objects pcd;
    :Start checking target lanelets;
    repeat
      #LightBlue:Get nearest pcd object within target lane;
      #LightBlue:Update tracking info of target lane object;
      #LightBlue:Check collision status with target lane object;
      #LightBlue:Update safety status if collision is detected;
      repeat while (Finished checking all target lanes) is (FALSE)
    if (Is collision detected?) then (yes)
      if (Duration since last safe > on_time_buffer ?) then (yes)
        #LightPink:Publish error diagnostic;
      else (no)
        #Yellow:Display warning;
      endif
    else (no)
      if (Duration since last unsafe > off_time_buffer ?) then (yes)
        #LightGreen:Safe;
      else (no)
        #LightPink:Publish error diagnostic;
      endif
    endif
  else (no)
    #Orange:Reset module data;
  endif
else (no)
  #Orange:Reset module data;
endif
stop

@enduml

Ego Trajectory

The intersection_collision_checker module utilizes the ego trajectory subscribed to by planning_validator node, it uses the resampled trajectory to avoid clustered trajectory points in low velocity areas. The for each trajectory point the time_from_start is computed with respect to the ego’s front pose and the ego’s back pose. This information is later used to estimate the ego’s entry and exit times for each target lanelet.

Target Lanelets

The module applies slightly different logic for acquiring target lanes for right and left turn intersections. In case of right turn intersection, the aim is to check all lanes crossing/overlapping with the egos intended trajectory. In case of left turn, the aim is check no vehicles are coming along the destination lane (lane ago turning into).

!!! warning

Target lane selection logic applies only for Left-hand traffic (LHT). The module should be improved to be driving side agnostic.

Right Turn

To get the target lanelets for right turn intersection:

  • Use ego turn-direction lane to define search space (bounding box enclosing turn-direction lane).
  • Get all lanelets withing bounding box as candidate lanelets
  • Filter out following lanelets:
    • Lanelets that are route_lanelets
    • Lanelets with a “time to reach” exceeding the time horizon
    • Lanelets that have turn_direction attribute and are not STRAIGHT. (If parameter right_turn.check_turning_lanes is FALSE)
    • Lanelets that are determined to be crossing lanes. (If parameter right_turn.check_crossing_lanes is FALSE)
  • remaining lanelets are then processed to:
    • Compute overlap point between ego trajectory and target lanelet
    • Compute ego’s time to arrive and leave overlap point

The image below shows the target lanelets at a right turn intersection. (right_turn.check_turning_lanes set to FALSE)

right-turn-target-lanes

Left Turn

To get the target lanelets for left turn intersection:

  • Use ego’s turn-direction lanelet(s) to get next lanelet “destination_lanelet” following the turn.
  • We then get all lanelets preceding the “destination_lanelet” and filter out:
    • Lanelets that are route_lanelets
    • Lanelets with a “time to reach” exceeding the time horizon
    • Lanelets that have turn_direction attribute and are not STRAIGHT. (If parameter left_turn.check_turning_lanes is FALSE)
  • remaining lanelets are then processed to:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_planning_validator_intersection_collision_checker

0.46.0 (2025-06-20)

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

  • feat(planning_validator): implement redundant collision prevention feature when ego makes a turn at intersection (#10750)

    • create planning latency validator plugin module

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

    • create planning trajectory validator plugin module

    * Update planning/planning_validator/autoware_planning_validator/src/manager.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/node.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • minor fix
    • refactor implementation
    • uncomment lines for adding pose markers
    • fix CMakeLists
    • add comment
    • update planning launch xml

    * Update planning/planning_validator/autoware_planning_latency_validator/include/autoware/planning_latency_validator/latency_validator.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/plugin_interface.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/types.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/src/node.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_latency_validator/src/latency_validator.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • apply pre-commit checks
    • rename plugins for consistency
    • rename directories and files to match package names
    • refactor planning validator tests
    • add packages maintainer
    • separate trajectory check parameters
    • add missing package dependencies
    • move trajectory diagnostics test to trajectory checker module
    • remove blank line
    • add new planning validator plugin collision_checker
    • add launch args for validator modules
    • logic for setting route handler
    • add poincloud filtering function
    • check for turn direction lane
    • compute target lanelets for collision check
    • fix format
    • refactor lanelets filtering
    • update launch files
    • move lanelet selection functions to utils file
    • check for collisions
    • check observation time of tracked object
    • add more config params, fix pcd object function
    • extend target lanes
    • add off timeout after collision is detected
    • define const value
    • improve overlap time estimation

    * Update planning/planning_validator/autoware_planning_validator_collision_checker/src/collision_checker.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • rename planning_validator collision_checker module
    • move pointcloud filtering to just before collision check
    • use proper name for module param
    • fix logic for extending target lanelets

    * change logging level ---------Co-authored-by: GitHub

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_planning_validator_intersection_collision_checker at Robotics Stack Exchange

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

autoware_planning_validator_intersection_collision_checker 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 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.46.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-07-31
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 autoware_planning_validator_intersection_collision_checker package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Alqudah Mohammad
  • Maxime Clement
  • Kyoichi Sugahara

Authors

  • Alqudah Mohammad

Intersection Collision Checker

The intersection_collision_checker is a plugin module of autoware_planning_validator node. It is responsible for validating the planning trajectory at intersections by verifying that it does NOT lead to a collision with other road vehicles.

The check is executed only when:

  • Ego is approaching a turn_direction lane
  • Ego trajectory intersects with lanes other than route_lanelets

Inner Workings

The intersection_collision_checker checks for collisions using pointcloud data and route information. It identifies target lanes at intersections and extracts pcd objects withing target lanes, and performs simplistic tracking and velocity estimation of pcd objects for each target lane. Times to arrival are computed for Ego and pcd objects, and the difference in the arrival time is used to judge if a collision is imminent.

Flowchart

The following diagram illustrates the overall flow of module implementation:

@startuml

start

#LightBlue:Update ego trajectory info;
#LightBlue:Update lanelet info;
if (Is turning right/left?) then (yes)
  if (Is target lanelets available?) then (yes)
    #LightBlue:Filter & transform objects pcd;
    :Start checking target lanelets;
    repeat
      #LightBlue:Get nearest pcd object within target lane;
      #LightBlue:Update tracking info of target lane object;
      #LightBlue:Check collision status with target lane object;
      #LightBlue:Update safety status if collision is detected;
      repeat while (Finished checking all target lanes) is (FALSE)
    if (Is collision detected?) then (yes)
      if (Duration since last safe > on_time_buffer ?) then (yes)
        #LightPink:Publish error diagnostic;
      else (no)
        #Yellow:Display warning;
      endif
    else (no)
      if (Duration since last unsafe > off_time_buffer ?) then (yes)
        #LightGreen:Safe;
      else (no)
        #LightPink:Publish error diagnostic;
      endif
    endif
  else (no)
    #Orange:Reset module data;
  endif
else (no)
  #Orange:Reset module data;
endif
stop

@enduml

Ego Trajectory

The intersection_collision_checker module utilizes the ego trajectory subscribed to by planning_validator node, it uses the resampled trajectory to avoid clustered trajectory points in low velocity areas. The for each trajectory point the time_from_start is computed with respect to the ego’s front pose and the ego’s back pose. This information is later used to estimate the ego’s entry and exit times for each target lanelet.

Target Lanelets

The module applies slightly different logic for acquiring target lanes for right and left turn intersections. In case of right turn intersection, the aim is to check all lanes crossing/overlapping with the egos intended trajectory. In case of left turn, the aim is check no vehicles are coming along the destination lane (lane ago turning into).

!!! warning

Target lane selection logic applies only for Left-hand traffic (LHT). The module should be improved to be driving side agnostic.

Right Turn

To get the target lanelets for right turn intersection:

  • Use ego turn-direction lane to define search space (bounding box enclosing turn-direction lane).
  • Get all lanelets withing bounding box as candidate lanelets
  • Filter out following lanelets:
    • Lanelets that are route_lanelets
    • Lanelets with a “time to reach” exceeding the time horizon
    • Lanelets that have turn_direction attribute and are not STRAIGHT. (If parameter right_turn.check_turning_lanes is FALSE)
    • Lanelets that are determined to be crossing lanes. (If parameter right_turn.check_crossing_lanes is FALSE)
  • remaining lanelets are then processed to:
    • Compute overlap point between ego trajectory and target lanelet
    • Compute ego’s time to arrive and leave overlap point

The image below shows the target lanelets at a right turn intersection. (right_turn.check_turning_lanes set to FALSE)

right-turn-target-lanes

Left Turn

To get the target lanelets for left turn intersection:

  • Use ego’s turn-direction lanelet(s) to get next lanelet “destination_lanelet” following the turn.
  • We then get all lanelets preceding the “destination_lanelet” and filter out:
    • Lanelets that are route_lanelets
    • Lanelets with a “time to reach” exceeding the time horizon
    • Lanelets that have turn_direction attribute and are not STRAIGHT. (If parameter left_turn.check_turning_lanes is FALSE)
  • remaining lanelets are then processed to:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_planning_validator_intersection_collision_checker

0.46.0 (2025-06-20)

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

  • feat(planning_validator): implement redundant collision prevention feature when ego makes a turn at intersection (#10750)

    • create planning latency validator plugin module

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

    • create planning trajectory validator plugin module

    * Update planning/planning_validator/autoware_planning_validator/src/manager.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/node.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • minor fix
    • refactor implementation
    • uncomment lines for adding pose markers
    • fix CMakeLists
    • add comment
    • update planning launch xml

    * Update planning/planning_validator/autoware_planning_latency_validator/include/autoware/planning_latency_validator/latency_validator.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/plugin_interface.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/types.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/src/node.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_latency_validator/src/latency_validator.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • apply pre-commit checks
    • rename plugins for consistency
    • rename directories and files to match package names
    • refactor planning validator tests
    • add packages maintainer
    • separate trajectory check parameters
    • add missing package dependencies
    • move trajectory diagnostics test to trajectory checker module
    • remove blank line
    • add new planning validator plugin collision_checker
    • add launch args for validator modules
    • logic for setting route handler
    • add poincloud filtering function
    • check for turn direction lane
    • compute target lanelets for collision check
    • fix format
    • refactor lanelets filtering
    • update launch files
    • move lanelet selection functions to utils file
    • check for collisions
    • check observation time of tracked object
    • add more config params, fix pcd object function
    • extend target lanes
    • add off timeout after collision is detected
    • define const value
    • improve overlap time estimation

    * Update planning/planning_validator/autoware_planning_validator_collision_checker/src/collision_checker.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • rename planning_validator collision_checker module
    • move pointcloud filtering to just before collision check
    • use proper name for module param
    • fix logic for extending target lanelets

    * change logging level ---------Co-authored-by: GitHub

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_planning_validator_intersection_collision_checker at Robotics Stack Exchange

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

autoware_planning_validator_intersection_collision_checker 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 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.46.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-07-31
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 autoware_planning_validator_intersection_collision_checker package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Alqudah Mohammad
  • Maxime Clement
  • Kyoichi Sugahara

Authors

  • Alqudah Mohammad

Intersection Collision Checker

The intersection_collision_checker is a plugin module of autoware_planning_validator node. It is responsible for validating the planning trajectory at intersections by verifying that it does NOT lead to a collision with other road vehicles.

The check is executed only when:

  • Ego is approaching a turn_direction lane
  • Ego trajectory intersects with lanes other than route_lanelets

Inner Workings

The intersection_collision_checker checks for collisions using pointcloud data and route information. It identifies target lanes at intersections and extracts pcd objects withing target lanes, and performs simplistic tracking and velocity estimation of pcd objects for each target lane. Times to arrival are computed for Ego and pcd objects, and the difference in the arrival time is used to judge if a collision is imminent.

Flowchart

The following diagram illustrates the overall flow of module implementation:

@startuml

start

#LightBlue:Update ego trajectory info;
#LightBlue:Update lanelet info;
if (Is turning right/left?) then (yes)
  if (Is target lanelets available?) then (yes)
    #LightBlue:Filter & transform objects pcd;
    :Start checking target lanelets;
    repeat
      #LightBlue:Get nearest pcd object within target lane;
      #LightBlue:Update tracking info of target lane object;
      #LightBlue:Check collision status with target lane object;
      #LightBlue:Update safety status if collision is detected;
      repeat while (Finished checking all target lanes) is (FALSE)
    if (Is collision detected?) then (yes)
      if (Duration since last safe > on_time_buffer ?) then (yes)
        #LightPink:Publish error diagnostic;
      else (no)
        #Yellow:Display warning;
      endif
    else (no)
      if (Duration since last unsafe > off_time_buffer ?) then (yes)
        #LightGreen:Safe;
      else (no)
        #LightPink:Publish error diagnostic;
      endif
    endif
  else (no)
    #Orange:Reset module data;
  endif
else (no)
  #Orange:Reset module data;
endif
stop

@enduml

Ego Trajectory

The intersection_collision_checker module utilizes the ego trajectory subscribed to by planning_validator node, it uses the resampled trajectory to avoid clustered trajectory points in low velocity areas. The for each trajectory point the time_from_start is computed with respect to the ego’s front pose and the ego’s back pose. This information is later used to estimate the ego’s entry and exit times for each target lanelet.

Target Lanelets

The module applies slightly different logic for acquiring target lanes for right and left turn intersections. In case of right turn intersection, the aim is to check all lanes crossing/overlapping with the egos intended trajectory. In case of left turn, the aim is check no vehicles are coming along the destination lane (lane ago turning into).

!!! warning

Target lane selection logic applies only for Left-hand traffic (LHT). The module should be improved to be driving side agnostic.

Right Turn

To get the target lanelets for right turn intersection:

  • Use ego turn-direction lane to define search space (bounding box enclosing turn-direction lane).
  • Get all lanelets withing bounding box as candidate lanelets
  • Filter out following lanelets:
    • Lanelets that are route_lanelets
    • Lanelets with a “time to reach” exceeding the time horizon
    • Lanelets that have turn_direction attribute and are not STRAIGHT. (If parameter right_turn.check_turning_lanes is FALSE)
    • Lanelets that are determined to be crossing lanes. (If parameter right_turn.check_crossing_lanes is FALSE)
  • remaining lanelets are then processed to:
    • Compute overlap point between ego trajectory and target lanelet
    • Compute ego’s time to arrive and leave overlap point

The image below shows the target lanelets at a right turn intersection. (right_turn.check_turning_lanes set to FALSE)

right-turn-target-lanes

Left Turn

To get the target lanelets for left turn intersection:

  • Use ego’s turn-direction lanelet(s) to get next lanelet “destination_lanelet” following the turn.
  • We then get all lanelets preceding the “destination_lanelet” and filter out:
    • Lanelets that are route_lanelets
    • Lanelets with a “time to reach” exceeding the time horizon
    • Lanelets that have turn_direction attribute and are not STRAIGHT. (If parameter left_turn.check_turning_lanes is FALSE)
  • remaining lanelets are then processed to:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_planning_validator_intersection_collision_checker

0.46.0 (2025-06-20)

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

  • feat(planning_validator): implement redundant collision prevention feature when ego makes a turn at intersection (#10750)

    • create planning latency validator plugin module

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

    • create planning trajectory validator plugin module

    * Update planning/planning_validator/autoware_planning_validator/src/manager.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/node.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • minor fix
    • refactor implementation
    • uncomment lines for adding pose markers
    • fix CMakeLists
    • add comment
    • update planning launch xml

    * Update planning/planning_validator/autoware_planning_latency_validator/include/autoware/planning_latency_validator/latency_validator.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/plugin_interface.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/types.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/src/node.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_latency_validator/src/latency_validator.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • apply pre-commit checks
    • rename plugins for consistency
    • rename directories and files to match package names
    • refactor planning validator tests
    • add packages maintainer
    • separate trajectory check parameters
    • add missing package dependencies
    • move trajectory diagnostics test to trajectory checker module
    • remove blank line
    • add new planning validator plugin collision_checker
    • add launch args for validator modules
    • logic for setting route handler
    • add poincloud filtering function
    • check for turn direction lane
    • compute target lanelets for collision check
    • fix format
    • refactor lanelets filtering
    • update launch files
    • move lanelet selection functions to utils file
    • check for collisions
    • check observation time of tracked object
    • add more config params, fix pcd object function
    • extend target lanes
    • add off timeout after collision is detected
    • define const value
    • improve overlap time estimation

    * Update planning/planning_validator/autoware_planning_validator_collision_checker/src/collision_checker.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • rename planning_validator collision_checker module
    • move pointcloud filtering to just before collision check
    • use proper name for module param
    • fix logic for extending target lanelets

    * change logging level ---------Co-authored-by: GitHub

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_planning_validator_intersection_collision_checker at Robotics Stack Exchange

Package symbol

autoware_planning_validator_intersection_collision_checker 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 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.46.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-07-31
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 autoware_planning_validator_intersection_collision_checker package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Alqudah Mohammad
  • Maxime Clement
  • Kyoichi Sugahara

Authors

  • Alqudah Mohammad

Intersection Collision Checker

The intersection_collision_checker is a plugin module of autoware_planning_validator node. It is responsible for validating the planning trajectory at intersections by verifying that it does NOT lead to a collision with other road vehicles.

The check is executed only when:

  • Ego is approaching a turn_direction lane
  • Ego trajectory intersects with lanes other than route_lanelets

Inner Workings

The intersection_collision_checker checks for collisions using pointcloud data and route information. It identifies target lanes at intersections and extracts pcd objects withing target lanes, and performs simplistic tracking and velocity estimation of pcd objects for each target lane. Times to arrival are computed for Ego and pcd objects, and the difference in the arrival time is used to judge if a collision is imminent.

Flowchart

The following diagram illustrates the overall flow of module implementation:

@startuml

start

#LightBlue:Update ego trajectory info;
#LightBlue:Update lanelet info;
if (Is turning right/left?) then (yes)
  if (Is target lanelets available?) then (yes)
    #LightBlue:Filter & transform objects pcd;
    :Start checking target lanelets;
    repeat
      #LightBlue:Get nearest pcd object within target lane;
      #LightBlue:Update tracking info of target lane object;
      #LightBlue:Check collision status with target lane object;
      #LightBlue:Update safety status if collision is detected;
      repeat while (Finished checking all target lanes) is (FALSE)
    if (Is collision detected?) then (yes)
      if (Duration since last safe > on_time_buffer ?) then (yes)
        #LightPink:Publish error diagnostic;
      else (no)
        #Yellow:Display warning;
      endif
    else (no)
      if (Duration since last unsafe > off_time_buffer ?) then (yes)
        #LightGreen:Safe;
      else (no)
        #LightPink:Publish error diagnostic;
      endif
    endif
  else (no)
    #Orange:Reset module data;
  endif
else (no)
  #Orange:Reset module data;
endif
stop

@enduml

Ego Trajectory

The intersection_collision_checker module utilizes the ego trajectory subscribed to by planning_validator node, it uses the resampled trajectory to avoid clustered trajectory points in low velocity areas. The for each trajectory point the time_from_start is computed with respect to the ego’s front pose and the ego’s back pose. This information is later used to estimate the ego’s entry and exit times for each target lanelet.

Target Lanelets

The module applies slightly different logic for acquiring target lanes for right and left turn intersections. In case of right turn intersection, the aim is to check all lanes crossing/overlapping with the egos intended trajectory. In case of left turn, the aim is check no vehicles are coming along the destination lane (lane ago turning into).

!!! warning

Target lane selection logic applies only for Left-hand traffic (LHT). The module should be improved to be driving side agnostic.

Right Turn

To get the target lanelets for right turn intersection:

  • Use ego turn-direction lane to define search space (bounding box enclosing turn-direction lane).
  • Get all lanelets withing bounding box as candidate lanelets
  • Filter out following lanelets:
    • Lanelets that are route_lanelets
    • Lanelets with a “time to reach” exceeding the time horizon
    • Lanelets that have turn_direction attribute and are not STRAIGHT. (If parameter right_turn.check_turning_lanes is FALSE)
    • Lanelets that are determined to be crossing lanes. (If parameter right_turn.check_crossing_lanes is FALSE)
  • remaining lanelets are then processed to:
    • Compute overlap point between ego trajectory and target lanelet
    • Compute ego’s time to arrive and leave overlap point

The image below shows the target lanelets at a right turn intersection. (right_turn.check_turning_lanes set to FALSE)

right-turn-target-lanes

Left Turn

To get the target lanelets for left turn intersection:

  • Use ego’s turn-direction lanelet(s) to get next lanelet “destination_lanelet” following the turn.
  • We then get all lanelets preceding the “destination_lanelet” and filter out:
    • Lanelets that are route_lanelets
    • Lanelets with a “time to reach” exceeding the time horizon
    • Lanelets that have turn_direction attribute and are not STRAIGHT. (If parameter left_turn.check_turning_lanes is FALSE)
  • remaining lanelets are then processed to:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_planning_validator_intersection_collision_checker

0.46.0 (2025-06-20)

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

  • feat(planning_validator): implement redundant collision prevention feature when ego makes a turn at intersection (#10750)

    • create planning latency validator plugin module

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

    • create planning trajectory validator plugin module

    * Update planning/planning_validator/autoware_planning_validator/src/manager.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/node.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • minor fix
    • refactor implementation
    • uncomment lines for adding pose markers
    • fix CMakeLists
    • add comment
    • update planning launch xml

    * Update planning/planning_validator/autoware_planning_latency_validator/include/autoware/planning_latency_validator/latency_validator.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/plugin_interface.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/types.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/src/node.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_latency_validator/src/latency_validator.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • apply pre-commit checks
    • rename plugins for consistency
    • rename directories and files to match package names
    • refactor planning validator tests
    • add packages maintainer
    • separate trajectory check parameters
    • add missing package dependencies
    • move trajectory diagnostics test to trajectory checker module
    • remove blank line
    • add new planning validator plugin collision_checker
    • add launch args for validator modules
    • logic for setting route handler
    • add poincloud filtering function
    • check for turn direction lane
    • compute target lanelets for collision check
    • fix format
    • refactor lanelets filtering
    • update launch files
    • move lanelet selection functions to utils file
    • check for collisions
    • check observation time of tracked object
    • add more config params, fix pcd object function
    • extend target lanes
    • add off timeout after collision is detected
    • define const value
    • improve overlap time estimation

    * Update planning/planning_validator/autoware_planning_validator_collision_checker/src/collision_checker.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • rename planning_validator collision_checker module
    • move pointcloud filtering to just before collision check
    • use proper name for module param
    • fix logic for extending target lanelets

    * change logging level ---------Co-authored-by: GitHub

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_planning_validator_intersection_collision_checker at Robotics Stack Exchange

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

autoware_planning_validator_intersection_collision_checker 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 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.46.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-07-31
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 autoware_planning_validator_intersection_collision_checker package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Alqudah Mohammad
  • Maxime Clement
  • Kyoichi Sugahara

Authors

  • Alqudah Mohammad

Intersection Collision Checker

The intersection_collision_checker is a plugin module of autoware_planning_validator node. It is responsible for validating the planning trajectory at intersections by verifying that it does NOT lead to a collision with other road vehicles.

The check is executed only when:

  • Ego is approaching a turn_direction lane
  • Ego trajectory intersects with lanes other than route_lanelets

Inner Workings

The intersection_collision_checker checks for collisions using pointcloud data and route information. It identifies target lanes at intersections and extracts pcd objects withing target lanes, and performs simplistic tracking and velocity estimation of pcd objects for each target lane. Times to arrival are computed for Ego and pcd objects, and the difference in the arrival time is used to judge if a collision is imminent.

Flowchart

The following diagram illustrates the overall flow of module implementation:

@startuml

start

#LightBlue:Update ego trajectory info;
#LightBlue:Update lanelet info;
if (Is turning right/left?) then (yes)
  if (Is target lanelets available?) then (yes)
    #LightBlue:Filter & transform objects pcd;
    :Start checking target lanelets;
    repeat
      #LightBlue:Get nearest pcd object within target lane;
      #LightBlue:Update tracking info of target lane object;
      #LightBlue:Check collision status with target lane object;
      #LightBlue:Update safety status if collision is detected;
      repeat while (Finished checking all target lanes) is (FALSE)
    if (Is collision detected?) then (yes)
      if (Duration since last safe > on_time_buffer ?) then (yes)
        #LightPink:Publish error diagnostic;
      else (no)
        #Yellow:Display warning;
      endif
    else (no)
      if (Duration since last unsafe > off_time_buffer ?) then (yes)
        #LightGreen:Safe;
      else (no)
        #LightPink:Publish error diagnostic;
      endif
    endif
  else (no)
    #Orange:Reset module data;
  endif
else (no)
  #Orange:Reset module data;
endif
stop

@enduml

Ego Trajectory

The intersection_collision_checker module utilizes the ego trajectory subscribed to by planning_validator node, it uses the resampled trajectory to avoid clustered trajectory points in low velocity areas. The for each trajectory point the time_from_start is computed with respect to the ego’s front pose and the ego’s back pose. This information is later used to estimate the ego’s entry and exit times for each target lanelet.

Target Lanelets

The module applies slightly different logic for acquiring target lanes for right and left turn intersections. In case of right turn intersection, the aim is to check all lanes crossing/overlapping with the egos intended trajectory. In case of left turn, the aim is check no vehicles are coming along the destination lane (lane ago turning into).

!!! warning

Target lane selection logic applies only for Left-hand traffic (LHT). The module should be improved to be driving side agnostic.

Right Turn

To get the target lanelets for right turn intersection:

  • Use ego turn-direction lane to define search space (bounding box enclosing turn-direction lane).
  • Get all lanelets withing bounding box as candidate lanelets
  • Filter out following lanelets:
    • Lanelets that are route_lanelets
    • Lanelets with a “time to reach” exceeding the time horizon
    • Lanelets that have turn_direction attribute and are not STRAIGHT. (If parameter right_turn.check_turning_lanes is FALSE)
    • Lanelets that are determined to be crossing lanes. (If parameter right_turn.check_crossing_lanes is FALSE)
  • remaining lanelets are then processed to:
    • Compute overlap point between ego trajectory and target lanelet
    • Compute ego’s time to arrive and leave overlap point

The image below shows the target lanelets at a right turn intersection. (right_turn.check_turning_lanes set to FALSE)

right-turn-target-lanes

Left Turn

To get the target lanelets for left turn intersection:

  • Use ego’s turn-direction lanelet(s) to get next lanelet “destination_lanelet” following the turn.
  • We then get all lanelets preceding the “destination_lanelet” and filter out:
    • Lanelets that are route_lanelets
    • Lanelets with a “time to reach” exceeding the time horizon
    • Lanelets that have turn_direction attribute and are not STRAIGHT. (If parameter left_turn.check_turning_lanes is FALSE)
  • remaining lanelets are then processed to:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_planning_validator_intersection_collision_checker

0.46.0 (2025-06-20)

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

  • feat(planning_validator): implement redundant collision prevention feature when ego makes a turn at intersection (#10750)

    • create planning latency validator plugin module

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

    • create planning trajectory validator plugin module

    * Update planning/planning_validator/autoware_planning_validator/src/manager.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/node.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • minor fix
    • refactor implementation
    • uncomment lines for adding pose markers
    • fix CMakeLists
    • add comment
    • update planning launch xml

    * Update planning/planning_validator/autoware_planning_latency_validator/include/autoware/planning_latency_validator/latency_validator.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/plugin_interface.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/types.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/src/node.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_latency_validator/src/latency_validator.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • apply pre-commit checks
    • rename plugins for consistency
    • rename directories and files to match package names
    • refactor planning validator tests
    • add packages maintainer
    • separate trajectory check parameters
    • add missing package dependencies
    • move trajectory diagnostics test to trajectory checker module
    • remove blank line
    • add new planning validator plugin collision_checker
    • add launch args for validator modules
    • logic for setting route handler
    • add poincloud filtering function
    • check for turn direction lane
    • compute target lanelets for collision check
    • fix format
    • refactor lanelets filtering
    • update launch files
    • move lanelet selection functions to utils file
    • check for collisions
    • check observation time of tracked object
    • add more config params, fix pcd object function
    • extend target lanes
    • add off timeout after collision is detected
    • define const value
    • improve overlap time estimation

    * Update planning/planning_validator/autoware_planning_validator_collision_checker/src/collision_checker.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • rename planning_validator collision_checker module
    • move pointcloud filtering to just before collision check
    • use proper name for module param
    • fix logic for extending target lanelets

    * change logging level ---------Co-authored-by: GitHub

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_planning_validator_intersection_collision_checker at Robotics Stack Exchange

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

autoware_planning_validator_intersection_collision_checker 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 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.46.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-07-31
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 autoware_planning_validator_intersection_collision_checker package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Alqudah Mohammad
  • Maxime Clement
  • Kyoichi Sugahara

Authors

  • Alqudah Mohammad

Intersection Collision Checker

The intersection_collision_checker is a plugin module of autoware_planning_validator node. It is responsible for validating the planning trajectory at intersections by verifying that it does NOT lead to a collision with other road vehicles.

The check is executed only when:

  • Ego is approaching a turn_direction lane
  • Ego trajectory intersects with lanes other than route_lanelets

Inner Workings

The intersection_collision_checker checks for collisions using pointcloud data and route information. It identifies target lanes at intersections and extracts pcd objects withing target lanes, and performs simplistic tracking and velocity estimation of pcd objects for each target lane. Times to arrival are computed for Ego and pcd objects, and the difference in the arrival time is used to judge if a collision is imminent.

Flowchart

The following diagram illustrates the overall flow of module implementation:

@startuml

start

#LightBlue:Update ego trajectory info;
#LightBlue:Update lanelet info;
if (Is turning right/left?) then (yes)
  if (Is target lanelets available?) then (yes)
    #LightBlue:Filter & transform objects pcd;
    :Start checking target lanelets;
    repeat
      #LightBlue:Get nearest pcd object within target lane;
      #LightBlue:Update tracking info of target lane object;
      #LightBlue:Check collision status with target lane object;
      #LightBlue:Update safety status if collision is detected;
      repeat while (Finished checking all target lanes) is (FALSE)
    if (Is collision detected?) then (yes)
      if (Duration since last safe > on_time_buffer ?) then (yes)
        #LightPink:Publish error diagnostic;
      else (no)
        #Yellow:Display warning;
      endif
    else (no)
      if (Duration since last unsafe > off_time_buffer ?) then (yes)
        #LightGreen:Safe;
      else (no)
        #LightPink:Publish error diagnostic;
      endif
    endif
  else (no)
    #Orange:Reset module data;
  endif
else (no)
  #Orange:Reset module data;
endif
stop

@enduml

Ego Trajectory

The intersection_collision_checker module utilizes the ego trajectory subscribed to by planning_validator node, it uses the resampled trajectory to avoid clustered trajectory points in low velocity areas. The for each trajectory point the time_from_start is computed with respect to the ego’s front pose and the ego’s back pose. This information is later used to estimate the ego’s entry and exit times for each target lanelet.

Target Lanelets

The module applies slightly different logic for acquiring target lanes for right and left turn intersections. In case of right turn intersection, the aim is to check all lanes crossing/overlapping with the egos intended trajectory. In case of left turn, the aim is check no vehicles are coming along the destination lane (lane ago turning into).

!!! warning

Target lane selection logic applies only for Left-hand traffic (LHT). The module should be improved to be driving side agnostic.

Right Turn

To get the target lanelets for right turn intersection:

  • Use ego turn-direction lane to define search space (bounding box enclosing turn-direction lane).
  • Get all lanelets withing bounding box as candidate lanelets
  • Filter out following lanelets:
    • Lanelets that are route_lanelets
    • Lanelets with a “time to reach” exceeding the time horizon
    • Lanelets that have turn_direction attribute and are not STRAIGHT. (If parameter right_turn.check_turning_lanes is FALSE)
    • Lanelets that are determined to be crossing lanes. (If parameter right_turn.check_crossing_lanes is FALSE)
  • remaining lanelets are then processed to:
    • Compute overlap point between ego trajectory and target lanelet
    • Compute ego’s time to arrive and leave overlap point

The image below shows the target lanelets at a right turn intersection. (right_turn.check_turning_lanes set to FALSE)

right-turn-target-lanes

Left Turn

To get the target lanelets for left turn intersection:

  • Use ego’s turn-direction lanelet(s) to get next lanelet “destination_lanelet” following the turn.
  • We then get all lanelets preceding the “destination_lanelet” and filter out:
    • Lanelets that are route_lanelets
    • Lanelets with a “time to reach” exceeding the time horizon
    • Lanelets that have turn_direction attribute and are not STRAIGHT. (If parameter left_turn.check_turning_lanes is FALSE)
  • remaining lanelets are then processed to:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_planning_validator_intersection_collision_checker

0.46.0 (2025-06-20)

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

  • feat(planning_validator): implement redundant collision prevention feature when ego makes a turn at intersection (#10750)

    • create planning latency validator plugin module

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

    • create planning trajectory validator plugin module

    * Update planning/planning_validator/autoware_planning_validator/src/manager.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/node.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • minor fix
    • refactor implementation
    • uncomment lines for adding pose markers
    • fix CMakeLists
    • add comment
    • update planning launch xml

    * Update planning/planning_validator/autoware_planning_latency_validator/include/autoware/planning_latency_validator/latency_validator.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/plugin_interface.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/types.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/src/node.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_latency_validator/src/latency_validator.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • apply pre-commit checks
    • rename plugins for consistency
    • rename directories and files to match package names
    • refactor planning validator tests
    • add packages maintainer
    • separate trajectory check parameters
    • add missing package dependencies
    • move trajectory diagnostics test to trajectory checker module
    • remove blank line
    • add new planning validator plugin collision_checker
    • add launch args for validator modules
    • logic for setting route handler
    • add poincloud filtering function
    • check for turn direction lane
    • compute target lanelets for collision check
    • fix format
    • refactor lanelets filtering
    • update launch files
    • move lanelet selection functions to utils file
    • check for collisions
    • check observation time of tracked object
    • add more config params, fix pcd object function
    • extend target lanes
    • add off timeout after collision is detected
    • define const value
    • improve overlap time estimation

    * Update planning/planning_validator/autoware_planning_validator_collision_checker/src/collision_checker.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • rename planning_validator collision_checker module
    • move pointcloud filtering to just before collision check
    • use proper name for module param
    • fix logic for extending target lanelets

    * change logging level ---------Co-authored-by: GitHub

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_planning_validator_intersection_collision_checker at Robotics Stack Exchange

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

autoware_planning_validator_intersection_collision_checker 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 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.46.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-07-31
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 autoware_planning_validator_intersection_collision_checker package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Alqudah Mohammad
  • Maxime Clement
  • Kyoichi Sugahara

Authors

  • Alqudah Mohammad

Intersection Collision Checker

The intersection_collision_checker is a plugin module of autoware_planning_validator node. It is responsible for validating the planning trajectory at intersections by verifying that it does NOT lead to a collision with other road vehicles.

The check is executed only when:

  • Ego is approaching a turn_direction lane
  • Ego trajectory intersects with lanes other than route_lanelets

Inner Workings

The intersection_collision_checker checks for collisions using pointcloud data and route information. It identifies target lanes at intersections and extracts pcd objects withing target lanes, and performs simplistic tracking and velocity estimation of pcd objects for each target lane. Times to arrival are computed for Ego and pcd objects, and the difference in the arrival time is used to judge if a collision is imminent.

Flowchart

The following diagram illustrates the overall flow of module implementation:

@startuml

start

#LightBlue:Update ego trajectory info;
#LightBlue:Update lanelet info;
if (Is turning right/left?) then (yes)
  if (Is target lanelets available?) then (yes)
    #LightBlue:Filter & transform objects pcd;
    :Start checking target lanelets;
    repeat
      #LightBlue:Get nearest pcd object within target lane;
      #LightBlue:Update tracking info of target lane object;
      #LightBlue:Check collision status with target lane object;
      #LightBlue:Update safety status if collision is detected;
      repeat while (Finished checking all target lanes) is (FALSE)
    if (Is collision detected?) then (yes)
      if (Duration since last safe > on_time_buffer ?) then (yes)
        #LightPink:Publish error diagnostic;
      else (no)
        #Yellow:Display warning;
      endif
    else (no)
      if (Duration since last unsafe > off_time_buffer ?) then (yes)
        #LightGreen:Safe;
      else (no)
        #LightPink:Publish error diagnostic;
      endif
    endif
  else (no)
    #Orange:Reset module data;
  endif
else (no)
  #Orange:Reset module data;
endif
stop

@enduml

Ego Trajectory

The intersection_collision_checker module utilizes the ego trajectory subscribed to by planning_validator node, it uses the resampled trajectory to avoid clustered trajectory points in low velocity areas. The for each trajectory point the time_from_start is computed with respect to the ego’s front pose and the ego’s back pose. This information is later used to estimate the ego’s entry and exit times for each target lanelet.

Target Lanelets

The module applies slightly different logic for acquiring target lanes for right and left turn intersections. In case of right turn intersection, the aim is to check all lanes crossing/overlapping with the egos intended trajectory. In case of left turn, the aim is check no vehicles are coming along the destination lane (lane ago turning into).

!!! warning

Target lane selection logic applies only for Left-hand traffic (LHT). The module should be improved to be driving side agnostic.

Right Turn

To get the target lanelets for right turn intersection:

  • Use ego turn-direction lane to define search space (bounding box enclosing turn-direction lane).
  • Get all lanelets withing bounding box as candidate lanelets
  • Filter out following lanelets:
    • Lanelets that are route_lanelets
    • Lanelets with a “time to reach” exceeding the time horizon
    • Lanelets that have turn_direction attribute and are not STRAIGHT. (If parameter right_turn.check_turning_lanes is FALSE)
    • Lanelets that are determined to be crossing lanes. (If parameter right_turn.check_crossing_lanes is FALSE)
  • remaining lanelets are then processed to:
    • Compute overlap point between ego trajectory and target lanelet
    • Compute ego’s time to arrive and leave overlap point

The image below shows the target lanelets at a right turn intersection. (right_turn.check_turning_lanes set to FALSE)

right-turn-target-lanes

Left Turn

To get the target lanelets for left turn intersection:

  • Use ego’s turn-direction lanelet(s) to get next lanelet “destination_lanelet” following the turn.
  • We then get all lanelets preceding the “destination_lanelet” and filter out:
    • Lanelets that are route_lanelets
    • Lanelets with a “time to reach” exceeding the time horizon
    • Lanelets that have turn_direction attribute and are not STRAIGHT. (If parameter left_turn.check_turning_lanes is FALSE)
  • remaining lanelets are then processed to:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_planning_validator_intersection_collision_checker

0.46.0 (2025-06-20)

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

  • feat(planning_validator): implement redundant collision prevention feature when ego makes a turn at intersection (#10750)

    • create planning latency validator plugin module

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

    • create planning trajectory validator plugin module

    * Update planning/planning_validator/autoware_planning_validator/src/manager.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/node.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • minor fix
    • refactor implementation
    • uncomment lines for adding pose markers
    • fix CMakeLists
    • add comment
    • update planning launch xml

    * Update planning/planning_validator/autoware_planning_latency_validator/include/autoware/planning_latency_validator/latency_validator.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/plugin_interface.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/types.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/src/node.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_latency_validator/src/latency_validator.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • apply pre-commit checks
    • rename plugins for consistency
    • rename directories and files to match package names
    • refactor planning validator tests
    • add packages maintainer
    • separate trajectory check parameters
    • add missing package dependencies
    • move trajectory diagnostics test to trajectory checker module
    • remove blank line
    • add new planning validator plugin collision_checker
    • add launch args for validator modules
    • logic for setting route handler
    • add poincloud filtering function
    • check for turn direction lane
    • compute target lanelets for collision check
    • fix format
    • refactor lanelets filtering
    • update launch files
    • move lanelet selection functions to utils file
    • check for collisions
    • check observation time of tracked object
    • add more config params, fix pcd object function
    • extend target lanes
    • add off timeout after collision is detected
    • define const value
    • improve overlap time estimation

    * Update planning/planning_validator/autoware_planning_validator_collision_checker/src/collision_checker.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • rename planning_validator collision_checker module
    • move pointcloud filtering to just before collision check
    • use proper name for module param
    • fix logic for extending target lanelets

    * change logging level ---------Co-authored-by: GitHub

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_planning_validator_intersection_collision_checker at Robotics Stack Exchange

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

autoware_planning_validator_intersection_collision_checker 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 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.46.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-07-31
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 autoware_planning_validator_intersection_collision_checker package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Alqudah Mohammad
  • Maxime Clement
  • Kyoichi Sugahara

Authors

  • Alqudah Mohammad

Intersection Collision Checker

The intersection_collision_checker is a plugin module of autoware_planning_validator node. It is responsible for validating the planning trajectory at intersections by verifying that it does NOT lead to a collision with other road vehicles.

The check is executed only when:

  • Ego is approaching a turn_direction lane
  • Ego trajectory intersects with lanes other than route_lanelets

Inner Workings

The intersection_collision_checker checks for collisions using pointcloud data and route information. It identifies target lanes at intersections and extracts pcd objects withing target lanes, and performs simplistic tracking and velocity estimation of pcd objects for each target lane. Times to arrival are computed for Ego and pcd objects, and the difference in the arrival time is used to judge if a collision is imminent.

Flowchart

The following diagram illustrates the overall flow of module implementation:

@startuml

start

#LightBlue:Update ego trajectory info;
#LightBlue:Update lanelet info;
if (Is turning right/left?) then (yes)
  if (Is target lanelets available?) then (yes)
    #LightBlue:Filter & transform objects pcd;
    :Start checking target lanelets;
    repeat
      #LightBlue:Get nearest pcd object within target lane;
      #LightBlue:Update tracking info of target lane object;
      #LightBlue:Check collision status with target lane object;
      #LightBlue:Update safety status if collision is detected;
      repeat while (Finished checking all target lanes) is (FALSE)
    if (Is collision detected?) then (yes)
      if (Duration since last safe > on_time_buffer ?) then (yes)
        #LightPink:Publish error diagnostic;
      else (no)
        #Yellow:Display warning;
      endif
    else (no)
      if (Duration since last unsafe > off_time_buffer ?) then (yes)
        #LightGreen:Safe;
      else (no)
        #LightPink:Publish error diagnostic;
      endif
    endif
  else (no)
    #Orange:Reset module data;
  endif
else (no)
  #Orange:Reset module data;
endif
stop

@enduml

Ego Trajectory

The intersection_collision_checker module utilizes the ego trajectory subscribed to by planning_validator node, it uses the resampled trajectory to avoid clustered trajectory points in low velocity areas. The for each trajectory point the time_from_start is computed with respect to the ego’s front pose and the ego’s back pose. This information is later used to estimate the ego’s entry and exit times for each target lanelet.

Target Lanelets

The module applies slightly different logic for acquiring target lanes for right and left turn intersections. In case of right turn intersection, the aim is to check all lanes crossing/overlapping with the egos intended trajectory. In case of left turn, the aim is check no vehicles are coming along the destination lane (lane ago turning into).

!!! warning

Target lane selection logic applies only for Left-hand traffic (LHT). The module should be improved to be driving side agnostic.

Right Turn

To get the target lanelets for right turn intersection:

  • Use ego turn-direction lane to define search space (bounding box enclosing turn-direction lane).
  • Get all lanelets withing bounding box as candidate lanelets
  • Filter out following lanelets:
    • Lanelets that are route_lanelets
    • Lanelets with a “time to reach” exceeding the time horizon
    • Lanelets that have turn_direction attribute and are not STRAIGHT. (If parameter right_turn.check_turning_lanes is FALSE)
    • Lanelets that are determined to be crossing lanes. (If parameter right_turn.check_crossing_lanes is FALSE)
  • remaining lanelets are then processed to:
    • Compute overlap point between ego trajectory and target lanelet
    • Compute ego’s time to arrive and leave overlap point

The image below shows the target lanelets at a right turn intersection. (right_turn.check_turning_lanes set to FALSE)

right-turn-target-lanes

Left Turn

To get the target lanelets for left turn intersection:

  • Use ego’s turn-direction lanelet(s) to get next lanelet “destination_lanelet” following the turn.
  • We then get all lanelets preceding the “destination_lanelet” and filter out:
    • Lanelets that are route_lanelets
    • Lanelets with a “time to reach” exceeding the time horizon
    • Lanelets that have turn_direction attribute and are not STRAIGHT. (If parameter left_turn.check_turning_lanes is FALSE)
  • remaining lanelets are then processed to:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_planning_validator_intersection_collision_checker

0.46.0 (2025-06-20)

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

  • feat(planning_validator): implement redundant collision prevention feature when ego makes a turn at intersection (#10750)

    • create planning latency validator plugin module

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

    • create planning trajectory validator plugin module

    * Update planning/planning_validator/autoware_planning_validator/src/manager.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/node.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • minor fix
    • refactor implementation
    • uncomment lines for adding pose markers
    • fix CMakeLists
    • add comment
    • update planning launch xml

    * Update planning/planning_validator/autoware_planning_latency_validator/include/autoware/planning_latency_validator/latency_validator.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/plugin_interface.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/include/autoware/planning_validator/types.hpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_validator/src/node.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    * Update planning/planning_validator/autoware_planning_latency_validator/src/latency_validator.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • apply pre-commit checks
    • rename plugins for consistency
    • rename directories and files to match package names
    • refactor planning validator tests
    • add packages maintainer
    • separate trajectory check parameters
    • add missing package dependencies
    • move trajectory diagnostics test to trajectory checker module
    • remove blank line
    • add new planning validator plugin collision_checker
    • add launch args for validator modules
    • logic for setting route handler
    • add poincloud filtering function
    • check for turn direction lane
    • compute target lanelets for collision check
    • fix format
    • refactor lanelets filtering
    • update launch files
    • move lanelet selection functions to utils file
    • check for collisions
    • check observation time of tracked object
    • add more config params, fix pcd object function
    • extend target lanes
    • add off timeout after collision is detected
    • define const value
    • improve overlap time estimation

    * Update planning/planning_validator/autoware_planning_validator_collision_checker/src/collision_checker.cpp Co-authored-by: Satoshi OTA <<44889564+satoshi-ota@users.noreply.github.com>>

    • rename planning_validator collision_checker module
    • move pointcloud filtering to just before collision check
    • use proper name for module param
    • fix logic for extending target lanelets

    * change logging level ---------Co-authored-by: GitHub

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_planning_validator_intersection_collision_checker at Robotics Stack Exchange