Package symbol

autoware_path_generator package from autoware_core repo

autoware_adapi_specs autoware_core autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_core_control autoware_simple_pure_pursuit autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

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

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2025-06-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The autoware_path_generator package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Authors

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Path Generator

The path_generator node receives a route from mission_planner and converts the center line into a path. If the route has waypoints set, it generates a path passing through them.

This package is a simple alternative of behavior_path_generator.

Path generation

When input data is ready, it first searches for the lanelet closest to the vehicle. If found, it gets the lanelets within a distance of path_length.backward behind and path_length.forward in front. Their center lines are concatenated to generate a path.

If waypoints exist in the route, it replaces the overlapped segment of the center line with them. The overlap interval is determined as shown in the following figure.

waypoint_group_overlap_interval_determination

Path cut

If there is a self-intersection on either of the path bounds, the path is cut off a specified distance before the first intersection, as shown in the following figure (path: green, bound: blue).

path_cut_self_intersection

Depending on the crossing angle, the return path’s bound may be closer to the centerline than the outward’s one, depicted in the diagram below. To deal with this, intersections of the left and right bounds (mutual intersection) are taken into account as well, and the path is cut at the nearest intersecting point.

path_cut_mutual_intersection

Furthermore, in the case of the following figure, the return path goes inside even if mutual intersection is considered. Therefore, path cut is also made when the start edge of the path and the path bounds intersect.

path_cut_start_edge_intersection

Turn signal

Turn signal is determined based on the rules defined for behavior_path_planner. (See here for details)

As a general rule, the turn signal is turned on at a specified distance before the lanelet in which a turn is designated, and turned off when the driving direction has changed to the specified degree.

turn_signal_sections

If consecutive turns are required, the turn signal corresponding to the required section or the last section takes precedence.

turn_signal_conflict

Hazard signal

This node always publishes a hazard signal of autoware_vehicle_msgs::msg::HazardLightsCommand::NO_COMMAND.

Flowchart

```plantuml @startuml title run start

:take_data; :set_planner_data; if (is_data_ready) then (yes) else (no) stop endif

group plan_path group generate_path :update_current_lanelet; :get lanelets within route; if (path bounds have intersections?) then (yes) :align path end with intersection point; endif while (path end is outside range of lanelets?) :extend lanelets forward; endwhile while (path start is outside range of lanelets?) :extend lanelets backward; endwhile if (any waypoint interval starts behind lanelets?) then (yes) :extend lanelets backward; endif while (for each center line point) if (overlapped by waypoint group?) then (yes) if (previously overlapped?) then else (no) :add waypoints to path; endif else (no) :add point to path; endif endwhile :crop path; if (goal is in search range for smooth goal connection?) then (yes) :modify_path_for_smooth_goal_connection; endif :set path bounds; end group end group

group get_turn_signal while (for each path point) if (turn direction is set to corresponding lanelet?) then (yes) if (ego is in front of lanelet?) then (yes)

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_path_generator

1.1.0 (2025-05-01)

  • fix(path_generator): set both lane IDs to point on border of adjacent lanes (#384) set both lane IDs to point on border of adjacent lanes

  • feat(path_generator): move generate_path public (#380)

    • feat(path_generator): move generate_path public
    • style(pre-commit): autofix
    • fix pre-commit

    * fix test include path ---------Co-authored-by: t4-adc <<grp-rd-1-adc-admin@tier4.jp>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(autoware_trajectory)!: move everything to namespace experimetal (#371) refactor(autoware_trajectory)!: move everything to namespace experimental

  • test(path_generator): add tests for path cut feature (#268)

    • add map for test
    • add overpass map
    • refactor & enhance base test class
    • add tests
    • style(pre-commit): autofix

    * fix year created Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>>

    • anonymize test map
    • style(pre-commit): autofix
    • add test map info to README
    • style(pre-commit): autofix
    • make tests work with autoware_trajectory
    • include necessary header
    • fix test case

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>> Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>>

  • fix(path_generator): deal with unintended input (#336)

    • prevent segfault
    • fix self-intersection search range
    • define behavior for unintended input
    • prevent segfault

    * check builder output instead of input size ---------

  • refactor(path_generator): avoid using fixed-size array (#353)

    • avoid using fixed-size array
    • include necessary headers

    * avoid capturing structured bindings in lambdas ---------

  • docs(path_generator): add description of path cut & turn signal feature (#359)

    • add diagrams of path cut feature
    • add diagrams of turn signal feature
    • update parameter list
    • update README

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

  • fix(path_generator): avoid shortcuts at overlaps (#352)

    • track current lane to avoid shortcut

    * add constraints for current lane search ---------

  • feat(autoware_path_generator): use autoware_trajectory for cropping bounds (#349)

  • Contributors: Kazunori-Nakajima, Mamoru Sobue, Mitsuhiro Sakamoto, Yukinari Hisaki

1.0.0 (2025-03-31)

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_path_generator at Robotics Stack Exchange

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

autoware_path_generator package from autoware_core repo

autoware_adapi_specs autoware_core autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_core_control autoware_simple_pure_pursuit autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

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

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2025-06-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The autoware_path_generator package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Authors

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Path Generator

The path_generator node receives a route from mission_planner and converts the center line into a path. If the route has waypoints set, it generates a path passing through them.

This package is a simple alternative of behavior_path_generator.

Path generation

When input data is ready, it first searches for the lanelet closest to the vehicle. If found, it gets the lanelets within a distance of path_length.backward behind and path_length.forward in front. Their center lines are concatenated to generate a path.

If waypoints exist in the route, it replaces the overlapped segment of the center line with them. The overlap interval is determined as shown in the following figure.

waypoint_group_overlap_interval_determination

Path cut

If there is a self-intersection on either of the path bounds, the path is cut off a specified distance before the first intersection, as shown in the following figure (path: green, bound: blue).

path_cut_self_intersection

Depending on the crossing angle, the return path’s bound may be closer to the centerline than the outward’s one, depicted in the diagram below. To deal with this, intersections of the left and right bounds (mutual intersection) are taken into account as well, and the path is cut at the nearest intersecting point.

path_cut_mutual_intersection

Furthermore, in the case of the following figure, the return path goes inside even if mutual intersection is considered. Therefore, path cut is also made when the start edge of the path and the path bounds intersect.

path_cut_start_edge_intersection

Turn signal

Turn signal is determined based on the rules defined for behavior_path_planner. (See here for details)

As a general rule, the turn signal is turned on at a specified distance before the lanelet in which a turn is designated, and turned off when the driving direction has changed to the specified degree.

turn_signal_sections

If consecutive turns are required, the turn signal corresponding to the required section or the last section takes precedence.

turn_signal_conflict

Hazard signal

This node always publishes a hazard signal of autoware_vehicle_msgs::msg::HazardLightsCommand::NO_COMMAND.

Flowchart

```plantuml @startuml title run start

:take_data; :set_planner_data; if (is_data_ready) then (yes) else (no) stop endif

group plan_path group generate_path :update_current_lanelet; :get lanelets within route; if (path bounds have intersections?) then (yes) :align path end with intersection point; endif while (path end is outside range of lanelets?) :extend lanelets forward; endwhile while (path start is outside range of lanelets?) :extend lanelets backward; endwhile if (any waypoint interval starts behind lanelets?) then (yes) :extend lanelets backward; endif while (for each center line point) if (overlapped by waypoint group?) then (yes) if (previously overlapped?) then else (no) :add waypoints to path; endif else (no) :add point to path; endif endwhile :crop path; if (goal is in search range for smooth goal connection?) then (yes) :modify_path_for_smooth_goal_connection; endif :set path bounds; end group end group

group get_turn_signal while (for each path point) if (turn direction is set to corresponding lanelet?) then (yes) if (ego is in front of lanelet?) then (yes)

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_path_generator

1.1.0 (2025-05-01)

  • fix(path_generator): set both lane IDs to point on border of adjacent lanes (#384) set both lane IDs to point on border of adjacent lanes

  • feat(path_generator): move generate_path public (#380)

    • feat(path_generator): move generate_path public
    • style(pre-commit): autofix
    • fix pre-commit

    * fix test include path ---------Co-authored-by: t4-adc <<grp-rd-1-adc-admin@tier4.jp>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(autoware_trajectory)!: move everything to namespace experimetal (#371) refactor(autoware_trajectory)!: move everything to namespace experimental

  • test(path_generator): add tests for path cut feature (#268)

    • add map for test
    • add overpass map
    • refactor & enhance base test class
    • add tests
    • style(pre-commit): autofix

    * fix year created Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>>

    • anonymize test map
    • style(pre-commit): autofix
    • add test map info to README
    • style(pre-commit): autofix
    • make tests work with autoware_trajectory
    • include necessary header
    • fix test case

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>> Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>>

  • fix(path_generator): deal with unintended input (#336)

    • prevent segfault
    • fix self-intersection search range
    • define behavior for unintended input
    • prevent segfault

    * check builder output instead of input size ---------

  • refactor(path_generator): avoid using fixed-size array (#353)

    • avoid using fixed-size array
    • include necessary headers

    * avoid capturing structured bindings in lambdas ---------

  • docs(path_generator): add description of path cut & turn signal feature (#359)

    • add diagrams of path cut feature
    • add diagrams of turn signal feature
    • update parameter list
    • update README

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

  • fix(path_generator): avoid shortcuts at overlaps (#352)

    • track current lane to avoid shortcut

    * add constraints for current lane search ---------

  • feat(autoware_path_generator): use autoware_trajectory for cropping bounds (#349)

  • Contributors: Kazunori-Nakajima, Mamoru Sobue, Mitsuhiro Sakamoto, Yukinari Hisaki

1.0.0 (2025-03-31)

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_path_generator at Robotics Stack Exchange

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

autoware_path_generator package from autoware_core repo

autoware_adapi_specs autoware_core autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_core_control autoware_simple_pure_pursuit autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

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

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2025-06-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The autoware_path_generator package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Authors

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Path Generator

The path_generator node receives a route from mission_planner and converts the center line into a path. If the route has waypoints set, it generates a path passing through them.

This package is a simple alternative of behavior_path_generator.

Path generation

When input data is ready, it first searches for the lanelet closest to the vehicle. If found, it gets the lanelets within a distance of path_length.backward behind and path_length.forward in front. Their center lines are concatenated to generate a path.

If waypoints exist in the route, it replaces the overlapped segment of the center line with them. The overlap interval is determined as shown in the following figure.

waypoint_group_overlap_interval_determination

Path cut

If there is a self-intersection on either of the path bounds, the path is cut off a specified distance before the first intersection, as shown in the following figure (path: green, bound: blue).

path_cut_self_intersection

Depending on the crossing angle, the return path’s bound may be closer to the centerline than the outward’s one, depicted in the diagram below. To deal with this, intersections of the left and right bounds (mutual intersection) are taken into account as well, and the path is cut at the nearest intersecting point.

path_cut_mutual_intersection

Furthermore, in the case of the following figure, the return path goes inside even if mutual intersection is considered. Therefore, path cut is also made when the start edge of the path and the path bounds intersect.

path_cut_start_edge_intersection

Turn signal

Turn signal is determined based on the rules defined for behavior_path_planner. (See here for details)

As a general rule, the turn signal is turned on at a specified distance before the lanelet in which a turn is designated, and turned off when the driving direction has changed to the specified degree.

turn_signal_sections

If consecutive turns are required, the turn signal corresponding to the required section or the last section takes precedence.

turn_signal_conflict

Hazard signal

This node always publishes a hazard signal of autoware_vehicle_msgs::msg::HazardLightsCommand::NO_COMMAND.

Flowchart

```plantuml @startuml title run start

:take_data; :set_planner_data; if (is_data_ready) then (yes) else (no) stop endif

group plan_path group generate_path :update_current_lanelet; :get lanelets within route; if (path bounds have intersections?) then (yes) :align path end with intersection point; endif while (path end is outside range of lanelets?) :extend lanelets forward; endwhile while (path start is outside range of lanelets?) :extend lanelets backward; endwhile if (any waypoint interval starts behind lanelets?) then (yes) :extend lanelets backward; endif while (for each center line point) if (overlapped by waypoint group?) then (yes) if (previously overlapped?) then else (no) :add waypoints to path; endif else (no) :add point to path; endif endwhile :crop path; if (goal is in search range for smooth goal connection?) then (yes) :modify_path_for_smooth_goal_connection; endif :set path bounds; end group end group

group get_turn_signal while (for each path point) if (turn direction is set to corresponding lanelet?) then (yes) if (ego is in front of lanelet?) then (yes)

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_path_generator

1.1.0 (2025-05-01)

  • fix(path_generator): set both lane IDs to point on border of adjacent lanes (#384) set both lane IDs to point on border of adjacent lanes

  • feat(path_generator): move generate_path public (#380)

    • feat(path_generator): move generate_path public
    • style(pre-commit): autofix
    • fix pre-commit

    * fix test include path ---------Co-authored-by: t4-adc <<grp-rd-1-adc-admin@tier4.jp>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(autoware_trajectory)!: move everything to namespace experimetal (#371) refactor(autoware_trajectory)!: move everything to namespace experimental

  • test(path_generator): add tests for path cut feature (#268)

    • add map for test
    • add overpass map
    • refactor & enhance base test class
    • add tests
    • style(pre-commit): autofix

    * fix year created Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>>

    • anonymize test map
    • style(pre-commit): autofix
    • add test map info to README
    • style(pre-commit): autofix
    • make tests work with autoware_trajectory
    • include necessary header
    • fix test case

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>> Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>>

  • fix(path_generator): deal with unintended input (#336)

    • prevent segfault
    • fix self-intersection search range
    • define behavior for unintended input
    • prevent segfault

    * check builder output instead of input size ---------

  • refactor(path_generator): avoid using fixed-size array (#353)

    • avoid using fixed-size array
    • include necessary headers

    * avoid capturing structured bindings in lambdas ---------

  • docs(path_generator): add description of path cut & turn signal feature (#359)

    • add diagrams of path cut feature
    • add diagrams of turn signal feature
    • update parameter list
    • update README

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

  • fix(path_generator): avoid shortcuts at overlaps (#352)

    • track current lane to avoid shortcut

    * add constraints for current lane search ---------

  • feat(autoware_path_generator): use autoware_trajectory for cropping bounds (#349)

  • Contributors: Kazunori-Nakajima, Mamoru Sobue, Mitsuhiro Sakamoto, Yukinari Hisaki

1.0.0 (2025-03-31)

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_path_generator at Robotics Stack Exchange

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

autoware_path_generator package from autoware_core repo

autoware_adapi_specs autoware_core autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_core_control autoware_simple_pure_pursuit autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

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

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2025-06-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The autoware_path_generator package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Authors

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Path Generator

The path_generator node receives a route from mission_planner and converts the center line into a path. If the route has waypoints set, it generates a path passing through them.

This package is a simple alternative of behavior_path_generator.

Path generation

When input data is ready, it first searches for the lanelet closest to the vehicle. If found, it gets the lanelets within a distance of path_length.backward behind and path_length.forward in front. Their center lines are concatenated to generate a path.

If waypoints exist in the route, it replaces the overlapped segment of the center line with them. The overlap interval is determined as shown in the following figure.

waypoint_group_overlap_interval_determination

Path cut

If there is a self-intersection on either of the path bounds, the path is cut off a specified distance before the first intersection, as shown in the following figure (path: green, bound: blue).

path_cut_self_intersection

Depending on the crossing angle, the return path’s bound may be closer to the centerline than the outward’s one, depicted in the diagram below. To deal with this, intersections of the left and right bounds (mutual intersection) are taken into account as well, and the path is cut at the nearest intersecting point.

path_cut_mutual_intersection

Furthermore, in the case of the following figure, the return path goes inside even if mutual intersection is considered. Therefore, path cut is also made when the start edge of the path and the path bounds intersect.

path_cut_start_edge_intersection

Turn signal

Turn signal is determined based on the rules defined for behavior_path_planner. (See here for details)

As a general rule, the turn signal is turned on at a specified distance before the lanelet in which a turn is designated, and turned off when the driving direction has changed to the specified degree.

turn_signal_sections

If consecutive turns are required, the turn signal corresponding to the required section or the last section takes precedence.

turn_signal_conflict

Hazard signal

This node always publishes a hazard signal of autoware_vehicle_msgs::msg::HazardLightsCommand::NO_COMMAND.

Flowchart

```plantuml @startuml title run start

:take_data; :set_planner_data; if (is_data_ready) then (yes) else (no) stop endif

group plan_path group generate_path :update_current_lanelet; :get lanelets within route; if (path bounds have intersections?) then (yes) :align path end with intersection point; endif while (path end is outside range of lanelets?) :extend lanelets forward; endwhile while (path start is outside range of lanelets?) :extend lanelets backward; endwhile if (any waypoint interval starts behind lanelets?) then (yes) :extend lanelets backward; endif while (for each center line point) if (overlapped by waypoint group?) then (yes) if (previously overlapped?) then else (no) :add waypoints to path; endif else (no) :add point to path; endif endwhile :crop path; if (goal is in search range for smooth goal connection?) then (yes) :modify_path_for_smooth_goal_connection; endif :set path bounds; end group end group

group get_turn_signal while (for each path point) if (turn direction is set to corresponding lanelet?) then (yes) if (ego is in front of lanelet?) then (yes)

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_path_generator

1.1.0 (2025-05-01)

  • fix(path_generator): set both lane IDs to point on border of adjacent lanes (#384) set both lane IDs to point on border of adjacent lanes

  • feat(path_generator): move generate_path public (#380)

    • feat(path_generator): move generate_path public
    • style(pre-commit): autofix
    • fix pre-commit

    * fix test include path ---------Co-authored-by: t4-adc <<grp-rd-1-adc-admin@tier4.jp>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(autoware_trajectory)!: move everything to namespace experimetal (#371) refactor(autoware_trajectory)!: move everything to namespace experimental

  • test(path_generator): add tests for path cut feature (#268)

    • add map for test
    • add overpass map
    • refactor & enhance base test class
    • add tests
    • style(pre-commit): autofix

    * fix year created Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>>

    • anonymize test map
    • style(pre-commit): autofix
    • add test map info to README
    • style(pre-commit): autofix
    • make tests work with autoware_trajectory
    • include necessary header
    • fix test case

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>> Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>>

  • fix(path_generator): deal with unintended input (#336)

    • prevent segfault
    • fix self-intersection search range
    • define behavior for unintended input
    • prevent segfault

    * check builder output instead of input size ---------

  • refactor(path_generator): avoid using fixed-size array (#353)

    • avoid using fixed-size array
    • include necessary headers

    * avoid capturing structured bindings in lambdas ---------

  • docs(path_generator): add description of path cut & turn signal feature (#359)

    • add diagrams of path cut feature
    • add diagrams of turn signal feature
    • update parameter list
    • update README

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

  • fix(path_generator): avoid shortcuts at overlaps (#352)

    • track current lane to avoid shortcut

    * add constraints for current lane search ---------

  • feat(autoware_path_generator): use autoware_trajectory for cropping bounds (#349)

  • Contributors: Kazunori-Nakajima, Mamoru Sobue, Mitsuhiro Sakamoto, Yukinari Hisaki

1.0.0 (2025-03-31)

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_path_generator at Robotics Stack Exchange

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

autoware_path_generator package from autoware_core repo

autoware_adapi_specs autoware_core autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_core_control autoware_simple_pure_pursuit autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

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

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2025-06-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The autoware_path_generator package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Authors

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Path Generator

The path_generator node receives a route from mission_planner and converts the center line into a path. If the route has waypoints set, it generates a path passing through them.

This package is a simple alternative of behavior_path_generator.

Path generation

When input data is ready, it first searches for the lanelet closest to the vehicle. If found, it gets the lanelets within a distance of path_length.backward behind and path_length.forward in front. Their center lines are concatenated to generate a path.

If waypoints exist in the route, it replaces the overlapped segment of the center line with them. The overlap interval is determined as shown in the following figure.

waypoint_group_overlap_interval_determination

Path cut

If there is a self-intersection on either of the path bounds, the path is cut off a specified distance before the first intersection, as shown in the following figure (path: green, bound: blue).

path_cut_self_intersection

Depending on the crossing angle, the return path’s bound may be closer to the centerline than the outward’s one, depicted in the diagram below. To deal with this, intersections of the left and right bounds (mutual intersection) are taken into account as well, and the path is cut at the nearest intersecting point.

path_cut_mutual_intersection

Furthermore, in the case of the following figure, the return path goes inside even if mutual intersection is considered. Therefore, path cut is also made when the start edge of the path and the path bounds intersect.

path_cut_start_edge_intersection

Turn signal

Turn signal is determined based on the rules defined for behavior_path_planner. (See here for details)

As a general rule, the turn signal is turned on at a specified distance before the lanelet in which a turn is designated, and turned off when the driving direction has changed to the specified degree.

turn_signal_sections

If consecutive turns are required, the turn signal corresponding to the required section or the last section takes precedence.

turn_signal_conflict

Hazard signal

This node always publishes a hazard signal of autoware_vehicle_msgs::msg::HazardLightsCommand::NO_COMMAND.

Flowchart

```plantuml @startuml title run start

:take_data; :set_planner_data; if (is_data_ready) then (yes) else (no) stop endif

group plan_path group generate_path :update_current_lanelet; :get lanelets within route; if (path bounds have intersections?) then (yes) :align path end with intersection point; endif while (path end is outside range of lanelets?) :extend lanelets forward; endwhile while (path start is outside range of lanelets?) :extend lanelets backward; endwhile if (any waypoint interval starts behind lanelets?) then (yes) :extend lanelets backward; endif while (for each center line point) if (overlapped by waypoint group?) then (yes) if (previously overlapped?) then else (no) :add waypoints to path; endif else (no) :add point to path; endif endwhile :crop path; if (goal is in search range for smooth goal connection?) then (yes) :modify_path_for_smooth_goal_connection; endif :set path bounds; end group end group

group get_turn_signal while (for each path point) if (turn direction is set to corresponding lanelet?) then (yes) if (ego is in front of lanelet?) then (yes)

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_path_generator

1.1.0 (2025-05-01)

  • fix(path_generator): set both lane IDs to point on border of adjacent lanes (#384) set both lane IDs to point on border of adjacent lanes

  • feat(path_generator): move generate_path public (#380)

    • feat(path_generator): move generate_path public
    • style(pre-commit): autofix
    • fix pre-commit

    * fix test include path ---------Co-authored-by: t4-adc <<grp-rd-1-adc-admin@tier4.jp>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(autoware_trajectory)!: move everything to namespace experimetal (#371) refactor(autoware_trajectory)!: move everything to namespace experimental

  • test(path_generator): add tests for path cut feature (#268)

    • add map for test
    • add overpass map
    • refactor & enhance base test class
    • add tests
    • style(pre-commit): autofix

    * fix year created Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>>

    • anonymize test map
    • style(pre-commit): autofix
    • add test map info to README
    • style(pre-commit): autofix
    • make tests work with autoware_trajectory
    • include necessary header
    • fix test case

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>> Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>>

  • fix(path_generator): deal with unintended input (#336)

    • prevent segfault
    • fix self-intersection search range
    • define behavior for unintended input
    • prevent segfault

    * check builder output instead of input size ---------

  • refactor(path_generator): avoid using fixed-size array (#353)

    • avoid using fixed-size array
    • include necessary headers

    * avoid capturing structured bindings in lambdas ---------

  • docs(path_generator): add description of path cut & turn signal feature (#359)

    • add diagrams of path cut feature
    • add diagrams of turn signal feature
    • update parameter list
    • update README

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

  • fix(path_generator): avoid shortcuts at overlaps (#352)

    • track current lane to avoid shortcut

    * add constraints for current lane search ---------

  • feat(autoware_path_generator): use autoware_trajectory for cropping bounds (#349)

  • Contributors: Kazunori-Nakajima, Mamoru Sobue, Mitsuhiro Sakamoto, Yukinari Hisaki

1.0.0 (2025-03-31)

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_path_generator at Robotics Stack Exchange

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

autoware_path_generator package from autoware_core repo

autoware_adapi_specs autoware_core autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_core_control autoware_simple_pure_pursuit autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

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

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2025-06-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The autoware_path_generator package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Authors

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Path Generator

The path_generator node receives a route from mission_planner and converts the center line into a path. If the route has waypoints set, it generates a path passing through them.

This package is a simple alternative of behavior_path_generator.

Path generation

When input data is ready, it first searches for the lanelet closest to the vehicle. If found, it gets the lanelets within a distance of path_length.backward behind and path_length.forward in front. Their center lines are concatenated to generate a path.

If waypoints exist in the route, it replaces the overlapped segment of the center line with them. The overlap interval is determined as shown in the following figure.

waypoint_group_overlap_interval_determination

Path cut

If there is a self-intersection on either of the path bounds, the path is cut off a specified distance before the first intersection, as shown in the following figure (path: green, bound: blue).

path_cut_self_intersection

Depending on the crossing angle, the return path’s bound may be closer to the centerline than the outward’s one, depicted in the diagram below. To deal with this, intersections of the left and right bounds (mutual intersection) are taken into account as well, and the path is cut at the nearest intersecting point.

path_cut_mutual_intersection

Furthermore, in the case of the following figure, the return path goes inside even if mutual intersection is considered. Therefore, path cut is also made when the start edge of the path and the path bounds intersect.

path_cut_start_edge_intersection

Turn signal

Turn signal is determined based on the rules defined for behavior_path_planner. (See here for details)

As a general rule, the turn signal is turned on at a specified distance before the lanelet in which a turn is designated, and turned off when the driving direction has changed to the specified degree.

turn_signal_sections

If consecutive turns are required, the turn signal corresponding to the required section or the last section takes precedence.

turn_signal_conflict

Hazard signal

This node always publishes a hazard signal of autoware_vehicle_msgs::msg::HazardLightsCommand::NO_COMMAND.

Flowchart

```plantuml @startuml title run start

:take_data; :set_planner_data; if (is_data_ready) then (yes) else (no) stop endif

group plan_path group generate_path :update_current_lanelet; :get lanelets within route; if (path bounds have intersections?) then (yes) :align path end with intersection point; endif while (path end is outside range of lanelets?) :extend lanelets forward; endwhile while (path start is outside range of lanelets?) :extend lanelets backward; endwhile if (any waypoint interval starts behind lanelets?) then (yes) :extend lanelets backward; endif while (for each center line point) if (overlapped by waypoint group?) then (yes) if (previously overlapped?) then else (no) :add waypoints to path; endif else (no) :add point to path; endif endwhile :crop path; if (goal is in search range for smooth goal connection?) then (yes) :modify_path_for_smooth_goal_connection; endif :set path bounds; end group end group

group get_turn_signal while (for each path point) if (turn direction is set to corresponding lanelet?) then (yes) if (ego is in front of lanelet?) then (yes)

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_path_generator

1.1.0 (2025-05-01)

  • fix(path_generator): set both lane IDs to point on border of adjacent lanes (#384) set both lane IDs to point on border of adjacent lanes

  • feat(path_generator): move generate_path public (#380)

    • feat(path_generator): move generate_path public
    • style(pre-commit): autofix
    • fix pre-commit

    * fix test include path ---------Co-authored-by: t4-adc <<grp-rd-1-adc-admin@tier4.jp>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(autoware_trajectory)!: move everything to namespace experimetal (#371) refactor(autoware_trajectory)!: move everything to namespace experimental

  • test(path_generator): add tests for path cut feature (#268)

    • add map for test
    • add overpass map
    • refactor & enhance base test class
    • add tests
    • style(pre-commit): autofix

    * fix year created Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>>

    • anonymize test map
    • style(pre-commit): autofix
    • add test map info to README
    • style(pre-commit): autofix
    • make tests work with autoware_trajectory
    • include necessary header
    • fix test case

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>> Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>>

  • fix(path_generator): deal with unintended input (#336)

    • prevent segfault
    • fix self-intersection search range
    • define behavior for unintended input
    • prevent segfault

    * check builder output instead of input size ---------

  • refactor(path_generator): avoid using fixed-size array (#353)

    • avoid using fixed-size array
    • include necessary headers

    * avoid capturing structured bindings in lambdas ---------

  • docs(path_generator): add description of path cut & turn signal feature (#359)

    • add diagrams of path cut feature
    • add diagrams of turn signal feature
    • update parameter list
    • update README

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

  • fix(path_generator): avoid shortcuts at overlaps (#352)

    • track current lane to avoid shortcut

    * add constraints for current lane search ---------

  • feat(autoware_path_generator): use autoware_trajectory for cropping bounds (#349)

  • Contributors: Kazunori-Nakajima, Mamoru Sobue, Mitsuhiro Sakamoto, Yukinari Hisaki

1.0.0 (2025-03-31)

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_path_generator at Robotics Stack Exchange

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

autoware_path_generator package from autoware_core repo

autoware_adapi_specs autoware_core autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_core_control autoware_simple_pure_pursuit autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

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

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2025-06-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The autoware_path_generator package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Authors

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Path Generator

The path_generator node receives a route from mission_planner and converts the center line into a path. If the route has waypoints set, it generates a path passing through them.

This package is a simple alternative of behavior_path_generator.

Path generation

When input data is ready, it first searches for the lanelet closest to the vehicle. If found, it gets the lanelets within a distance of path_length.backward behind and path_length.forward in front. Their center lines are concatenated to generate a path.

If waypoints exist in the route, it replaces the overlapped segment of the center line with them. The overlap interval is determined as shown in the following figure.

waypoint_group_overlap_interval_determination

Path cut

If there is a self-intersection on either of the path bounds, the path is cut off a specified distance before the first intersection, as shown in the following figure (path: green, bound: blue).

path_cut_self_intersection

Depending on the crossing angle, the return path’s bound may be closer to the centerline than the outward’s one, depicted in the diagram below. To deal with this, intersections of the left and right bounds (mutual intersection) are taken into account as well, and the path is cut at the nearest intersecting point.

path_cut_mutual_intersection

Furthermore, in the case of the following figure, the return path goes inside even if mutual intersection is considered. Therefore, path cut is also made when the start edge of the path and the path bounds intersect.

path_cut_start_edge_intersection

Turn signal

Turn signal is determined based on the rules defined for behavior_path_planner. (See here for details)

As a general rule, the turn signal is turned on at a specified distance before the lanelet in which a turn is designated, and turned off when the driving direction has changed to the specified degree.

turn_signal_sections

If consecutive turns are required, the turn signal corresponding to the required section or the last section takes precedence.

turn_signal_conflict

Hazard signal

This node always publishes a hazard signal of autoware_vehicle_msgs::msg::HazardLightsCommand::NO_COMMAND.

Flowchart

```plantuml @startuml title run start

:take_data; :set_planner_data; if (is_data_ready) then (yes) else (no) stop endif

group plan_path group generate_path :update_current_lanelet; :get lanelets within route; if (path bounds have intersections?) then (yes) :align path end with intersection point; endif while (path end is outside range of lanelets?) :extend lanelets forward; endwhile while (path start is outside range of lanelets?) :extend lanelets backward; endwhile if (any waypoint interval starts behind lanelets?) then (yes) :extend lanelets backward; endif while (for each center line point) if (overlapped by waypoint group?) then (yes) if (previously overlapped?) then else (no) :add waypoints to path; endif else (no) :add point to path; endif endwhile :crop path; if (goal is in search range for smooth goal connection?) then (yes) :modify_path_for_smooth_goal_connection; endif :set path bounds; end group end group

group get_turn_signal while (for each path point) if (turn direction is set to corresponding lanelet?) then (yes) if (ego is in front of lanelet?) then (yes)

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_path_generator

1.1.0 (2025-05-01)

  • fix(path_generator): set both lane IDs to point on border of adjacent lanes (#384) set both lane IDs to point on border of adjacent lanes

  • feat(path_generator): move generate_path public (#380)

    • feat(path_generator): move generate_path public
    • style(pre-commit): autofix
    • fix pre-commit

    * fix test include path ---------Co-authored-by: t4-adc <<grp-rd-1-adc-admin@tier4.jp>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(autoware_trajectory)!: move everything to namespace experimetal (#371) refactor(autoware_trajectory)!: move everything to namespace experimental

  • test(path_generator): add tests for path cut feature (#268)

    • add map for test
    • add overpass map
    • refactor & enhance base test class
    • add tests
    • style(pre-commit): autofix

    * fix year created Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>>

    • anonymize test map
    • style(pre-commit): autofix
    • add test map info to README
    • style(pre-commit): autofix
    • make tests work with autoware_trajectory
    • include necessary header
    • fix test case

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>> Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>>

  • fix(path_generator): deal with unintended input (#336)

    • prevent segfault
    • fix self-intersection search range
    • define behavior for unintended input
    • prevent segfault

    * check builder output instead of input size ---------

  • refactor(path_generator): avoid using fixed-size array (#353)

    • avoid using fixed-size array
    • include necessary headers

    * avoid capturing structured bindings in lambdas ---------

  • docs(path_generator): add description of path cut & turn signal feature (#359)

    • add diagrams of path cut feature
    • add diagrams of turn signal feature
    • update parameter list
    • update README

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

  • fix(path_generator): avoid shortcuts at overlaps (#352)

    • track current lane to avoid shortcut

    * add constraints for current lane search ---------

  • feat(autoware_path_generator): use autoware_trajectory for cropping bounds (#349)

  • Contributors: Kazunori-Nakajima, Mamoru Sobue, Mitsuhiro Sakamoto, Yukinari Hisaki

1.0.0 (2025-03-31)

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_path_generator at Robotics Stack Exchange

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

autoware_path_generator package from autoware_core repo

autoware_adapi_specs autoware_core autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_core_control autoware_simple_pure_pursuit autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

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

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2025-06-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The autoware_path_generator package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Authors

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Path Generator

The path_generator node receives a route from mission_planner and converts the center line into a path. If the route has waypoints set, it generates a path passing through them.

This package is a simple alternative of behavior_path_generator.

Path generation

When input data is ready, it first searches for the lanelet closest to the vehicle. If found, it gets the lanelets within a distance of path_length.backward behind and path_length.forward in front. Their center lines are concatenated to generate a path.

If waypoints exist in the route, it replaces the overlapped segment of the center line with them. The overlap interval is determined as shown in the following figure.

waypoint_group_overlap_interval_determination

Path cut

If there is a self-intersection on either of the path bounds, the path is cut off a specified distance before the first intersection, as shown in the following figure (path: green, bound: blue).

path_cut_self_intersection

Depending on the crossing angle, the return path’s bound may be closer to the centerline than the outward’s one, depicted in the diagram below. To deal with this, intersections of the left and right bounds (mutual intersection) are taken into account as well, and the path is cut at the nearest intersecting point.

path_cut_mutual_intersection

Furthermore, in the case of the following figure, the return path goes inside even if mutual intersection is considered. Therefore, path cut is also made when the start edge of the path and the path bounds intersect.

path_cut_start_edge_intersection

Turn signal

Turn signal is determined based on the rules defined for behavior_path_planner. (See here for details)

As a general rule, the turn signal is turned on at a specified distance before the lanelet in which a turn is designated, and turned off when the driving direction has changed to the specified degree.

turn_signal_sections

If consecutive turns are required, the turn signal corresponding to the required section or the last section takes precedence.

turn_signal_conflict

Hazard signal

This node always publishes a hazard signal of autoware_vehicle_msgs::msg::HazardLightsCommand::NO_COMMAND.

Flowchart

```plantuml @startuml title run start

:take_data; :set_planner_data; if (is_data_ready) then (yes) else (no) stop endif

group plan_path group generate_path :update_current_lanelet; :get lanelets within route; if (path bounds have intersections?) then (yes) :align path end with intersection point; endif while (path end is outside range of lanelets?) :extend lanelets forward; endwhile while (path start is outside range of lanelets?) :extend lanelets backward; endwhile if (any waypoint interval starts behind lanelets?) then (yes) :extend lanelets backward; endif while (for each center line point) if (overlapped by waypoint group?) then (yes) if (previously overlapped?) then else (no) :add waypoints to path; endif else (no) :add point to path; endif endwhile :crop path; if (goal is in search range for smooth goal connection?) then (yes) :modify_path_for_smooth_goal_connection; endif :set path bounds; end group end group

group get_turn_signal while (for each path point) if (turn direction is set to corresponding lanelet?) then (yes) if (ego is in front of lanelet?) then (yes)

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_path_generator

1.1.0 (2025-05-01)

  • fix(path_generator): set both lane IDs to point on border of adjacent lanes (#384) set both lane IDs to point on border of adjacent lanes

  • feat(path_generator): move generate_path public (#380)

    • feat(path_generator): move generate_path public
    • style(pre-commit): autofix
    • fix pre-commit

    * fix test include path ---------Co-authored-by: t4-adc <<grp-rd-1-adc-admin@tier4.jp>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(autoware_trajectory)!: move everything to namespace experimetal (#371) refactor(autoware_trajectory)!: move everything to namespace experimental

  • test(path_generator): add tests for path cut feature (#268)

    • add map for test
    • add overpass map
    • refactor & enhance base test class
    • add tests
    • style(pre-commit): autofix

    * fix year created Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>>

    • anonymize test map
    • style(pre-commit): autofix
    • add test map info to README
    • style(pre-commit): autofix
    • make tests work with autoware_trajectory
    • include necessary header
    • fix test case

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>> Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>>

  • fix(path_generator): deal with unintended input (#336)

    • prevent segfault
    • fix self-intersection search range
    • define behavior for unintended input
    • prevent segfault

    * check builder output instead of input size ---------

  • refactor(path_generator): avoid using fixed-size array (#353)

    • avoid using fixed-size array
    • include necessary headers

    * avoid capturing structured bindings in lambdas ---------

  • docs(path_generator): add description of path cut & turn signal feature (#359)

    • add diagrams of path cut feature
    • add diagrams of turn signal feature
    • update parameter list
    • update README

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

  • fix(path_generator): avoid shortcuts at overlaps (#352)

    • track current lane to avoid shortcut

    * add constraints for current lane search ---------

  • feat(autoware_path_generator): use autoware_trajectory for cropping bounds (#349)

  • Contributors: Kazunori-Nakajima, Mamoru Sobue, Mitsuhiro Sakamoto, Yukinari Hisaki

1.0.0 (2025-03-31)

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_path_generator at Robotics Stack Exchange

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

autoware_path_generator package from autoware_core repo

autoware_adapi_specs autoware_core autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_core_control autoware_simple_pure_pursuit autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

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

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2025-06-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The autoware_path_generator package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Authors

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Path Generator

The path_generator node receives a route from mission_planner and converts the center line into a path. If the route has waypoints set, it generates a path passing through them.

This package is a simple alternative of behavior_path_generator.

Path generation

When input data is ready, it first searches for the lanelet closest to the vehicle. If found, it gets the lanelets within a distance of path_length.backward behind and path_length.forward in front. Their center lines are concatenated to generate a path.

If waypoints exist in the route, it replaces the overlapped segment of the center line with them. The overlap interval is determined as shown in the following figure.

waypoint_group_overlap_interval_determination

Path cut

If there is a self-intersection on either of the path bounds, the path is cut off a specified distance before the first intersection, as shown in the following figure (path: green, bound: blue).

path_cut_self_intersection

Depending on the crossing angle, the return path’s bound may be closer to the centerline than the outward’s one, depicted in the diagram below. To deal with this, intersections of the left and right bounds (mutual intersection) are taken into account as well, and the path is cut at the nearest intersecting point.

path_cut_mutual_intersection

Furthermore, in the case of the following figure, the return path goes inside even if mutual intersection is considered. Therefore, path cut is also made when the start edge of the path and the path bounds intersect.

path_cut_start_edge_intersection

Turn signal

Turn signal is determined based on the rules defined for behavior_path_planner. (See here for details)

As a general rule, the turn signal is turned on at a specified distance before the lanelet in which a turn is designated, and turned off when the driving direction has changed to the specified degree.

turn_signal_sections

If consecutive turns are required, the turn signal corresponding to the required section or the last section takes precedence.

turn_signal_conflict

Hazard signal

This node always publishes a hazard signal of autoware_vehicle_msgs::msg::HazardLightsCommand::NO_COMMAND.

Flowchart

```plantuml @startuml title run start

:take_data; :set_planner_data; if (is_data_ready) then (yes) else (no) stop endif

group plan_path group generate_path :update_current_lanelet; :get lanelets within route; if (path bounds have intersections?) then (yes) :align path end with intersection point; endif while (path end is outside range of lanelets?) :extend lanelets forward; endwhile while (path start is outside range of lanelets?) :extend lanelets backward; endwhile if (any waypoint interval starts behind lanelets?) then (yes) :extend lanelets backward; endif while (for each center line point) if (overlapped by waypoint group?) then (yes) if (previously overlapped?) then else (no) :add waypoints to path; endif else (no) :add point to path; endif endwhile :crop path; if (goal is in search range for smooth goal connection?) then (yes) :modify_path_for_smooth_goal_connection; endif :set path bounds; end group end group

group get_turn_signal while (for each path point) if (turn direction is set to corresponding lanelet?) then (yes) if (ego is in front of lanelet?) then (yes)

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_path_generator

1.1.0 (2025-05-01)

  • fix(path_generator): set both lane IDs to point on border of adjacent lanes (#384) set both lane IDs to point on border of adjacent lanes

  • feat(path_generator): move generate_path public (#380)

    • feat(path_generator): move generate_path public
    • style(pre-commit): autofix
    • fix pre-commit

    * fix test include path ---------Co-authored-by: t4-adc <<grp-rd-1-adc-admin@tier4.jp>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(autoware_trajectory)!: move everything to namespace experimetal (#371) refactor(autoware_trajectory)!: move everything to namespace experimental

  • test(path_generator): add tests for path cut feature (#268)

    • add map for test
    • add overpass map
    • refactor & enhance base test class
    • add tests
    • style(pre-commit): autofix

    * fix year created Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>>

    • anonymize test map
    • style(pre-commit): autofix
    • add test map info to README
    • style(pre-commit): autofix
    • make tests work with autoware_trajectory
    • include necessary header
    • fix test case

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>> Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>>

  • fix(path_generator): deal with unintended input (#336)

    • prevent segfault
    • fix self-intersection search range
    • define behavior for unintended input
    • prevent segfault

    * check builder output instead of input size ---------

  • refactor(path_generator): avoid using fixed-size array (#353)

    • avoid using fixed-size array
    • include necessary headers

    * avoid capturing structured bindings in lambdas ---------

  • docs(path_generator): add description of path cut & turn signal feature (#359)

    • add diagrams of path cut feature
    • add diagrams of turn signal feature
    • update parameter list
    • update README

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

  • fix(path_generator): avoid shortcuts at overlaps (#352)

    • track current lane to avoid shortcut

    * add constraints for current lane search ---------

  • feat(autoware_path_generator): use autoware_trajectory for cropping bounds (#349)

  • Contributors: Kazunori-Nakajima, Mamoru Sobue, Mitsuhiro Sakamoto, Yukinari Hisaki

1.0.0 (2025-03-31)

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_path_generator at Robotics Stack Exchange

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

autoware_path_generator package from autoware_core repo

autoware_adapi_specs autoware_core autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_core_control autoware_simple_pure_pursuit autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

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

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2025-06-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The autoware_path_generator package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Authors

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Path Generator

The path_generator node receives a route from mission_planner and converts the center line into a path. If the route has waypoints set, it generates a path passing through them.

This package is a simple alternative of behavior_path_generator.

Path generation

When input data is ready, it first searches for the lanelet closest to the vehicle. If found, it gets the lanelets within a distance of path_length.backward behind and path_length.forward in front. Their center lines are concatenated to generate a path.

If waypoints exist in the route, it replaces the overlapped segment of the center line with them. The overlap interval is determined as shown in the following figure.

waypoint_group_overlap_interval_determination

Path cut

If there is a self-intersection on either of the path bounds, the path is cut off a specified distance before the first intersection, as shown in the following figure (path: green, bound: blue).

path_cut_self_intersection

Depending on the crossing angle, the return path’s bound may be closer to the centerline than the outward’s one, depicted in the diagram below. To deal with this, intersections of the left and right bounds (mutual intersection) are taken into account as well, and the path is cut at the nearest intersecting point.

path_cut_mutual_intersection

Furthermore, in the case of the following figure, the return path goes inside even if mutual intersection is considered. Therefore, path cut is also made when the start edge of the path and the path bounds intersect.

path_cut_start_edge_intersection

Turn signal

Turn signal is determined based on the rules defined for behavior_path_planner. (See here for details)

As a general rule, the turn signal is turned on at a specified distance before the lanelet in which a turn is designated, and turned off when the driving direction has changed to the specified degree.

turn_signal_sections

If consecutive turns are required, the turn signal corresponding to the required section or the last section takes precedence.

turn_signal_conflict

Hazard signal

This node always publishes a hazard signal of autoware_vehicle_msgs::msg::HazardLightsCommand::NO_COMMAND.

Flowchart

```plantuml @startuml title run start

:take_data; :set_planner_data; if (is_data_ready) then (yes) else (no) stop endif

group plan_path group generate_path :update_current_lanelet; :get lanelets within route; if (path bounds have intersections?) then (yes) :align path end with intersection point; endif while (path end is outside range of lanelets?) :extend lanelets forward; endwhile while (path start is outside range of lanelets?) :extend lanelets backward; endwhile if (any waypoint interval starts behind lanelets?) then (yes) :extend lanelets backward; endif while (for each center line point) if (overlapped by waypoint group?) then (yes) if (previously overlapped?) then else (no) :add waypoints to path; endif else (no) :add point to path; endif endwhile :crop path; if (goal is in search range for smooth goal connection?) then (yes) :modify_path_for_smooth_goal_connection; endif :set path bounds; end group end group

group get_turn_signal while (for each path point) if (turn direction is set to corresponding lanelet?) then (yes) if (ego is in front of lanelet?) then (yes)

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_path_generator

1.1.0 (2025-05-01)

  • fix(path_generator): set both lane IDs to point on border of adjacent lanes (#384) set both lane IDs to point on border of adjacent lanes

  • feat(path_generator): move generate_path public (#380)

    • feat(path_generator): move generate_path public
    • style(pre-commit): autofix
    • fix pre-commit

    * fix test include path ---------Co-authored-by: t4-adc <<grp-rd-1-adc-admin@tier4.jp>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(autoware_trajectory)!: move everything to namespace experimetal (#371) refactor(autoware_trajectory)!: move everything to namespace experimental

  • test(path_generator): add tests for path cut feature (#268)

    • add map for test
    • add overpass map
    • refactor & enhance base test class
    • add tests
    • style(pre-commit): autofix

    * fix year created Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>>

    • anonymize test map
    • style(pre-commit): autofix
    • add test map info to README
    • style(pre-commit): autofix
    • make tests work with autoware_trajectory
    • include necessary header
    • fix test case

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>> Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>>

  • fix(path_generator): deal with unintended input (#336)

    • prevent segfault
    • fix self-intersection search range
    • define behavior for unintended input
    • prevent segfault

    * check builder output instead of input size ---------

  • refactor(path_generator): avoid using fixed-size array (#353)

    • avoid using fixed-size array
    • include necessary headers

    * avoid capturing structured bindings in lambdas ---------

  • docs(path_generator): add description of path cut & turn signal feature (#359)

    • add diagrams of path cut feature
    • add diagrams of turn signal feature
    • update parameter list
    • update README

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

  • fix(path_generator): avoid shortcuts at overlaps (#352)

    • track current lane to avoid shortcut

    * add constraints for current lane search ---------

  • feat(autoware_path_generator): use autoware_trajectory for cropping bounds (#349)

  • Contributors: Kazunori-Nakajima, Mamoru Sobue, Mitsuhiro Sakamoto, Yukinari Hisaki

1.0.0 (2025-03-31)

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_path_generator at Robotics Stack Exchange

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

autoware_path_generator package from autoware_core repo

autoware_adapi_specs autoware_core autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_core_control autoware_simple_pure_pursuit autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

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

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2025-06-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The autoware_path_generator package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Authors

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Path Generator

The path_generator node receives a route from mission_planner and converts the center line into a path. If the route has waypoints set, it generates a path passing through them.

This package is a simple alternative of behavior_path_generator.

Path generation

When input data is ready, it first searches for the lanelet closest to the vehicle. If found, it gets the lanelets within a distance of path_length.backward behind and path_length.forward in front. Their center lines are concatenated to generate a path.

If waypoints exist in the route, it replaces the overlapped segment of the center line with them. The overlap interval is determined as shown in the following figure.

waypoint_group_overlap_interval_determination

Path cut

If there is a self-intersection on either of the path bounds, the path is cut off a specified distance before the first intersection, as shown in the following figure (path: green, bound: blue).

path_cut_self_intersection

Depending on the crossing angle, the return path’s bound may be closer to the centerline than the outward’s one, depicted in the diagram below. To deal with this, intersections of the left and right bounds (mutual intersection) are taken into account as well, and the path is cut at the nearest intersecting point.

path_cut_mutual_intersection

Furthermore, in the case of the following figure, the return path goes inside even if mutual intersection is considered. Therefore, path cut is also made when the start edge of the path and the path bounds intersect.

path_cut_start_edge_intersection

Turn signal

Turn signal is determined based on the rules defined for behavior_path_planner. (See here for details)

As a general rule, the turn signal is turned on at a specified distance before the lanelet in which a turn is designated, and turned off when the driving direction has changed to the specified degree.

turn_signal_sections

If consecutive turns are required, the turn signal corresponding to the required section or the last section takes precedence.

turn_signal_conflict

Hazard signal

This node always publishes a hazard signal of autoware_vehicle_msgs::msg::HazardLightsCommand::NO_COMMAND.

Flowchart

```plantuml @startuml title run start

:take_data; :set_planner_data; if (is_data_ready) then (yes) else (no) stop endif

group plan_path group generate_path :update_current_lanelet; :get lanelets within route; if (path bounds have intersections?) then (yes) :align path end with intersection point; endif while (path end is outside range of lanelets?) :extend lanelets forward; endwhile while (path start is outside range of lanelets?) :extend lanelets backward; endwhile if (any waypoint interval starts behind lanelets?) then (yes) :extend lanelets backward; endif while (for each center line point) if (overlapped by waypoint group?) then (yes) if (previously overlapped?) then else (no) :add waypoints to path; endif else (no) :add point to path; endif endwhile :crop path; if (goal is in search range for smooth goal connection?) then (yes) :modify_path_for_smooth_goal_connection; endif :set path bounds; end group end group

group get_turn_signal while (for each path point) if (turn direction is set to corresponding lanelet?) then (yes) if (ego is in front of lanelet?) then (yes)

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_path_generator

1.1.0 (2025-05-01)

  • fix(path_generator): set both lane IDs to point on border of adjacent lanes (#384) set both lane IDs to point on border of adjacent lanes

  • feat(path_generator): move generate_path public (#380)

    • feat(path_generator): move generate_path public
    • style(pre-commit): autofix
    • fix pre-commit

    * fix test include path ---------Co-authored-by: t4-adc <<grp-rd-1-adc-admin@tier4.jp>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(autoware_trajectory)!: move everything to namespace experimetal (#371) refactor(autoware_trajectory)!: move everything to namespace experimental

  • test(path_generator): add tests for path cut feature (#268)

    • add map for test
    • add overpass map
    • refactor & enhance base test class
    • add tests
    • style(pre-commit): autofix

    * fix year created Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>>

    • anonymize test map
    • style(pre-commit): autofix
    • add test map info to README
    • style(pre-commit): autofix
    • make tests work with autoware_trajectory
    • include necessary header
    • fix test case

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>> Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>>

  • fix(path_generator): deal with unintended input (#336)

    • prevent segfault
    • fix self-intersection search range
    • define behavior for unintended input
    • prevent segfault

    * check builder output instead of input size ---------

  • refactor(path_generator): avoid using fixed-size array (#353)

    • avoid using fixed-size array
    • include necessary headers

    * avoid capturing structured bindings in lambdas ---------

  • docs(path_generator): add description of path cut & turn signal feature (#359)

    • add diagrams of path cut feature
    • add diagrams of turn signal feature
    • update parameter list
    • update README

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

  • fix(path_generator): avoid shortcuts at overlaps (#352)

    • track current lane to avoid shortcut

    * add constraints for current lane search ---------

  • feat(autoware_path_generator): use autoware_trajectory for cropping bounds (#349)

  • Contributors: Kazunori-Nakajima, Mamoru Sobue, Mitsuhiro Sakamoto, Yukinari Hisaki

1.0.0 (2025-03-31)

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_path_generator at Robotics Stack Exchange

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

autoware_path_generator package from autoware_core repo

autoware_adapi_specs autoware_core autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_core_control autoware_simple_pure_pursuit autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

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

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2025-06-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The autoware_path_generator package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Authors

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Path Generator

The path_generator node receives a route from mission_planner and converts the center line into a path. If the route has waypoints set, it generates a path passing through them.

This package is a simple alternative of behavior_path_generator.

Path generation

When input data is ready, it first searches for the lanelet closest to the vehicle. If found, it gets the lanelets within a distance of path_length.backward behind and path_length.forward in front. Their center lines are concatenated to generate a path.

If waypoints exist in the route, it replaces the overlapped segment of the center line with them. The overlap interval is determined as shown in the following figure.

waypoint_group_overlap_interval_determination

Path cut

If there is a self-intersection on either of the path bounds, the path is cut off a specified distance before the first intersection, as shown in the following figure (path: green, bound: blue).

path_cut_self_intersection

Depending on the crossing angle, the return path’s bound may be closer to the centerline than the outward’s one, depicted in the diagram below. To deal with this, intersections of the left and right bounds (mutual intersection) are taken into account as well, and the path is cut at the nearest intersecting point.

path_cut_mutual_intersection

Furthermore, in the case of the following figure, the return path goes inside even if mutual intersection is considered. Therefore, path cut is also made when the start edge of the path and the path bounds intersect.

path_cut_start_edge_intersection

Turn signal

Turn signal is determined based on the rules defined for behavior_path_planner. (See here for details)

As a general rule, the turn signal is turned on at a specified distance before the lanelet in which a turn is designated, and turned off when the driving direction has changed to the specified degree.

turn_signal_sections

If consecutive turns are required, the turn signal corresponding to the required section or the last section takes precedence.

turn_signal_conflict

Hazard signal

This node always publishes a hazard signal of autoware_vehicle_msgs::msg::HazardLightsCommand::NO_COMMAND.

Flowchart

```plantuml @startuml title run start

:take_data; :set_planner_data; if (is_data_ready) then (yes) else (no) stop endif

group plan_path group generate_path :update_current_lanelet; :get lanelets within route; if (path bounds have intersections?) then (yes) :align path end with intersection point; endif while (path end is outside range of lanelets?) :extend lanelets forward; endwhile while (path start is outside range of lanelets?) :extend lanelets backward; endwhile if (any waypoint interval starts behind lanelets?) then (yes) :extend lanelets backward; endif while (for each center line point) if (overlapped by waypoint group?) then (yes) if (previously overlapped?) then else (no) :add waypoints to path; endif else (no) :add point to path; endif endwhile :crop path; if (goal is in search range for smooth goal connection?) then (yes) :modify_path_for_smooth_goal_connection; endif :set path bounds; end group end group

group get_turn_signal while (for each path point) if (turn direction is set to corresponding lanelet?) then (yes) if (ego is in front of lanelet?) then (yes)

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_path_generator

1.1.0 (2025-05-01)

  • fix(path_generator): set both lane IDs to point on border of adjacent lanes (#384) set both lane IDs to point on border of adjacent lanes

  • feat(path_generator): move generate_path public (#380)

    • feat(path_generator): move generate_path public
    • style(pre-commit): autofix
    • fix pre-commit

    * fix test include path ---------Co-authored-by: t4-adc <<grp-rd-1-adc-admin@tier4.jp>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(autoware_trajectory)!: move everything to namespace experimetal (#371) refactor(autoware_trajectory)!: move everything to namespace experimental

  • test(path_generator): add tests for path cut feature (#268)

    • add map for test
    • add overpass map
    • refactor & enhance base test class
    • add tests
    • style(pre-commit): autofix

    * fix year created Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>>

    • anonymize test map
    • style(pre-commit): autofix
    • add test map info to README
    • style(pre-commit): autofix
    • make tests work with autoware_trajectory
    • include necessary header
    • fix test case

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>> Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>>

  • fix(path_generator): deal with unintended input (#336)

    • prevent segfault
    • fix self-intersection search range
    • define behavior for unintended input
    • prevent segfault

    * check builder output instead of input size ---------

  • refactor(path_generator): avoid using fixed-size array (#353)

    • avoid using fixed-size array
    • include necessary headers

    * avoid capturing structured bindings in lambdas ---------

  • docs(path_generator): add description of path cut & turn signal feature (#359)

    • add diagrams of path cut feature
    • add diagrams of turn signal feature
    • update parameter list
    • update README

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

  • fix(path_generator): avoid shortcuts at overlaps (#352)

    • track current lane to avoid shortcut

    * add constraints for current lane search ---------

  • feat(autoware_path_generator): use autoware_trajectory for cropping bounds (#349)

  • Contributors: Kazunori-Nakajima, Mamoru Sobue, Mitsuhiro Sakamoto, Yukinari Hisaki

1.0.0 (2025-03-31)

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_path_generator at Robotics Stack Exchange

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

autoware_path_generator package from autoware_core repo

autoware_adapi_specs autoware_core autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_core_control autoware_simple_pure_pursuit autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

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

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2025-06-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The autoware_path_generator package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Authors

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Path Generator

The path_generator node receives a route from mission_planner and converts the center line into a path. If the route has waypoints set, it generates a path passing through them.

This package is a simple alternative of behavior_path_generator.

Path generation

When input data is ready, it first searches for the lanelet closest to the vehicle. If found, it gets the lanelets within a distance of path_length.backward behind and path_length.forward in front. Their center lines are concatenated to generate a path.

If waypoints exist in the route, it replaces the overlapped segment of the center line with them. The overlap interval is determined as shown in the following figure.

waypoint_group_overlap_interval_determination

Path cut

If there is a self-intersection on either of the path bounds, the path is cut off a specified distance before the first intersection, as shown in the following figure (path: green, bound: blue).

path_cut_self_intersection

Depending on the crossing angle, the return path’s bound may be closer to the centerline than the outward’s one, depicted in the diagram below. To deal with this, intersections of the left and right bounds (mutual intersection) are taken into account as well, and the path is cut at the nearest intersecting point.

path_cut_mutual_intersection

Furthermore, in the case of the following figure, the return path goes inside even if mutual intersection is considered. Therefore, path cut is also made when the start edge of the path and the path bounds intersect.

path_cut_start_edge_intersection

Turn signal

Turn signal is determined based on the rules defined for behavior_path_planner. (See here for details)

As a general rule, the turn signal is turned on at a specified distance before the lanelet in which a turn is designated, and turned off when the driving direction has changed to the specified degree.

turn_signal_sections

If consecutive turns are required, the turn signal corresponding to the required section or the last section takes precedence.

turn_signal_conflict

Hazard signal

This node always publishes a hazard signal of autoware_vehicle_msgs::msg::HazardLightsCommand::NO_COMMAND.

Flowchart

```plantuml @startuml title run start

:take_data; :set_planner_data; if (is_data_ready) then (yes) else (no) stop endif

group plan_path group generate_path :update_current_lanelet; :get lanelets within route; if (path bounds have intersections?) then (yes) :align path end with intersection point; endif while (path end is outside range of lanelets?) :extend lanelets forward; endwhile while (path start is outside range of lanelets?) :extend lanelets backward; endwhile if (any waypoint interval starts behind lanelets?) then (yes) :extend lanelets backward; endif while (for each center line point) if (overlapped by waypoint group?) then (yes) if (previously overlapped?) then else (no) :add waypoints to path; endif else (no) :add point to path; endif endwhile :crop path; if (goal is in search range for smooth goal connection?) then (yes) :modify_path_for_smooth_goal_connection; endif :set path bounds; end group end group

group get_turn_signal while (for each path point) if (turn direction is set to corresponding lanelet?) then (yes) if (ego is in front of lanelet?) then (yes)

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_path_generator

1.1.0 (2025-05-01)

  • fix(path_generator): set both lane IDs to point on border of adjacent lanes (#384) set both lane IDs to point on border of adjacent lanes

  • feat(path_generator): move generate_path public (#380)

    • feat(path_generator): move generate_path public
    • style(pre-commit): autofix
    • fix pre-commit

    * fix test include path ---------Co-authored-by: t4-adc <<grp-rd-1-adc-admin@tier4.jp>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(autoware_trajectory)!: move everything to namespace experimetal (#371) refactor(autoware_trajectory)!: move everything to namespace experimental

  • test(path_generator): add tests for path cut feature (#268)

    • add map for test
    • add overpass map
    • refactor & enhance base test class
    • add tests
    • style(pre-commit): autofix

    * fix year created Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>>

    • anonymize test map
    • style(pre-commit): autofix
    • add test map info to README
    • style(pre-commit): autofix
    • make tests work with autoware_trajectory
    • include necessary header
    • fix test case

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>> Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>>

  • fix(path_generator): deal with unintended input (#336)

    • prevent segfault
    • fix self-intersection search range
    • define behavior for unintended input
    • prevent segfault

    * check builder output instead of input size ---------

  • refactor(path_generator): avoid using fixed-size array (#353)

    • avoid using fixed-size array
    • include necessary headers

    * avoid capturing structured bindings in lambdas ---------

  • docs(path_generator): add description of path cut & turn signal feature (#359)

    • add diagrams of path cut feature
    • add diagrams of turn signal feature
    • update parameter list
    • update README

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

  • fix(path_generator): avoid shortcuts at overlaps (#352)

    • track current lane to avoid shortcut

    * add constraints for current lane search ---------

  • feat(autoware_path_generator): use autoware_trajectory for cropping bounds (#349)

  • Contributors: Kazunori-Nakajima, Mamoru Sobue, Mitsuhiro Sakamoto, Yukinari Hisaki

1.0.0 (2025-03-31)

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_path_generator at Robotics Stack Exchange

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

autoware_path_generator package from autoware_core repo

autoware_adapi_specs autoware_core autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_core_control autoware_simple_pure_pursuit autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

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

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2025-06-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The autoware_path_generator package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Authors

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Path Generator

The path_generator node receives a route from mission_planner and converts the center line into a path. If the route has waypoints set, it generates a path passing through them.

This package is a simple alternative of behavior_path_generator.

Path generation

When input data is ready, it first searches for the lanelet closest to the vehicle. If found, it gets the lanelets within a distance of path_length.backward behind and path_length.forward in front. Their center lines are concatenated to generate a path.

If waypoints exist in the route, it replaces the overlapped segment of the center line with them. The overlap interval is determined as shown in the following figure.

waypoint_group_overlap_interval_determination

Path cut

If there is a self-intersection on either of the path bounds, the path is cut off a specified distance before the first intersection, as shown in the following figure (path: green, bound: blue).

path_cut_self_intersection

Depending on the crossing angle, the return path’s bound may be closer to the centerline than the outward’s one, depicted in the diagram below. To deal with this, intersections of the left and right bounds (mutual intersection) are taken into account as well, and the path is cut at the nearest intersecting point.

path_cut_mutual_intersection

Furthermore, in the case of the following figure, the return path goes inside even if mutual intersection is considered. Therefore, path cut is also made when the start edge of the path and the path bounds intersect.

path_cut_start_edge_intersection

Turn signal

Turn signal is determined based on the rules defined for behavior_path_planner. (See here for details)

As a general rule, the turn signal is turned on at a specified distance before the lanelet in which a turn is designated, and turned off when the driving direction has changed to the specified degree.

turn_signal_sections

If consecutive turns are required, the turn signal corresponding to the required section or the last section takes precedence.

turn_signal_conflict

Hazard signal

This node always publishes a hazard signal of autoware_vehicle_msgs::msg::HazardLightsCommand::NO_COMMAND.

Flowchart

```plantuml @startuml title run start

:take_data; :set_planner_data; if (is_data_ready) then (yes) else (no) stop endif

group plan_path group generate_path :update_current_lanelet; :get lanelets within route; if (path bounds have intersections?) then (yes) :align path end with intersection point; endif while (path end is outside range of lanelets?) :extend lanelets forward; endwhile while (path start is outside range of lanelets?) :extend lanelets backward; endwhile if (any waypoint interval starts behind lanelets?) then (yes) :extend lanelets backward; endif while (for each center line point) if (overlapped by waypoint group?) then (yes) if (previously overlapped?) then else (no) :add waypoints to path; endif else (no) :add point to path; endif endwhile :crop path; if (goal is in search range for smooth goal connection?) then (yes) :modify_path_for_smooth_goal_connection; endif :set path bounds; end group end group

group get_turn_signal while (for each path point) if (turn direction is set to corresponding lanelet?) then (yes) if (ego is in front of lanelet?) then (yes)

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_path_generator

1.1.0 (2025-05-01)

  • fix(path_generator): set both lane IDs to point on border of adjacent lanes (#384) set both lane IDs to point on border of adjacent lanes

  • feat(path_generator): move generate_path public (#380)

    • feat(path_generator): move generate_path public
    • style(pre-commit): autofix
    • fix pre-commit

    * fix test include path ---------Co-authored-by: t4-adc <<grp-rd-1-adc-admin@tier4.jp>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(autoware_trajectory)!: move everything to namespace experimetal (#371) refactor(autoware_trajectory)!: move everything to namespace experimental

  • test(path_generator): add tests for path cut feature (#268)

    • add map for test
    • add overpass map
    • refactor & enhance base test class
    • add tests
    • style(pre-commit): autofix

    * fix year created Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>>

    • anonymize test map
    • style(pre-commit): autofix
    • add test map info to README
    • style(pre-commit): autofix
    • make tests work with autoware_trajectory
    • include necessary header
    • fix test case

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>> Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>>

  • fix(path_generator): deal with unintended input (#336)

    • prevent segfault
    • fix self-intersection search range
    • define behavior for unintended input
    • prevent segfault

    * check builder output instead of input size ---------

  • refactor(path_generator): avoid using fixed-size array (#353)

    • avoid using fixed-size array
    • include necessary headers

    * avoid capturing structured bindings in lambdas ---------

  • docs(path_generator): add description of path cut & turn signal feature (#359)

    • add diagrams of path cut feature
    • add diagrams of turn signal feature
    • update parameter list
    • update README

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

  • fix(path_generator): avoid shortcuts at overlaps (#352)

    • track current lane to avoid shortcut

    * add constraints for current lane search ---------

  • feat(autoware_path_generator): use autoware_trajectory for cropping bounds (#349)

  • Contributors: Kazunori-Nakajima, Mamoru Sobue, Mitsuhiro Sakamoto, Yukinari Hisaki

1.0.0 (2025-03-31)

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_path_generator at Robotics Stack Exchange

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

autoware_path_generator package from autoware_core repo

autoware_adapi_specs autoware_core autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_core_control autoware_simple_pure_pursuit autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

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

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2025-06-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The autoware_path_generator package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Authors

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Path Generator

The path_generator node receives a route from mission_planner and converts the center line into a path. If the route has waypoints set, it generates a path passing through them.

This package is a simple alternative of behavior_path_generator.

Path generation

When input data is ready, it first searches for the lanelet closest to the vehicle. If found, it gets the lanelets within a distance of path_length.backward behind and path_length.forward in front. Their center lines are concatenated to generate a path.

If waypoints exist in the route, it replaces the overlapped segment of the center line with them. The overlap interval is determined as shown in the following figure.

waypoint_group_overlap_interval_determination

Path cut

If there is a self-intersection on either of the path bounds, the path is cut off a specified distance before the first intersection, as shown in the following figure (path: green, bound: blue).

path_cut_self_intersection

Depending on the crossing angle, the return path’s bound may be closer to the centerline than the outward’s one, depicted in the diagram below. To deal with this, intersections of the left and right bounds (mutual intersection) are taken into account as well, and the path is cut at the nearest intersecting point.

path_cut_mutual_intersection

Furthermore, in the case of the following figure, the return path goes inside even if mutual intersection is considered. Therefore, path cut is also made when the start edge of the path and the path bounds intersect.

path_cut_start_edge_intersection

Turn signal

Turn signal is determined based on the rules defined for behavior_path_planner. (See here for details)

As a general rule, the turn signal is turned on at a specified distance before the lanelet in which a turn is designated, and turned off when the driving direction has changed to the specified degree.

turn_signal_sections

If consecutive turns are required, the turn signal corresponding to the required section or the last section takes precedence.

turn_signal_conflict

Hazard signal

This node always publishes a hazard signal of autoware_vehicle_msgs::msg::HazardLightsCommand::NO_COMMAND.

Flowchart

```plantuml @startuml title run start

:take_data; :set_planner_data; if (is_data_ready) then (yes) else (no) stop endif

group plan_path group generate_path :update_current_lanelet; :get lanelets within route; if (path bounds have intersections?) then (yes) :align path end with intersection point; endif while (path end is outside range of lanelets?) :extend lanelets forward; endwhile while (path start is outside range of lanelets?) :extend lanelets backward; endwhile if (any waypoint interval starts behind lanelets?) then (yes) :extend lanelets backward; endif while (for each center line point) if (overlapped by waypoint group?) then (yes) if (previously overlapped?) then else (no) :add waypoints to path; endif else (no) :add point to path; endif endwhile :crop path; if (goal is in search range for smooth goal connection?) then (yes) :modify_path_for_smooth_goal_connection; endif :set path bounds; end group end group

group get_turn_signal while (for each path point) if (turn direction is set to corresponding lanelet?) then (yes) if (ego is in front of lanelet?) then (yes)

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_path_generator

1.1.0 (2025-05-01)

  • fix(path_generator): set both lane IDs to point on border of adjacent lanes (#384) set both lane IDs to point on border of adjacent lanes

  • feat(path_generator): move generate_path public (#380)

    • feat(path_generator): move generate_path public
    • style(pre-commit): autofix
    • fix pre-commit

    * fix test include path ---------Co-authored-by: t4-adc <<grp-rd-1-adc-admin@tier4.jp>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(autoware_trajectory)!: move everything to namespace experimetal (#371) refactor(autoware_trajectory)!: move everything to namespace experimental

  • test(path_generator): add tests for path cut feature (#268)

    • add map for test
    • add overpass map
    • refactor & enhance base test class
    • add tests
    • style(pre-commit): autofix

    * fix year created Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>>

    • anonymize test map
    • style(pre-commit): autofix
    • add test map info to README
    • style(pre-commit): autofix
    • make tests work with autoware_trajectory
    • include necessary header
    • fix test case

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>> Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>>

  • fix(path_generator): deal with unintended input (#336)

    • prevent segfault
    • fix self-intersection search range
    • define behavior for unintended input
    • prevent segfault

    * check builder output instead of input size ---------

  • refactor(path_generator): avoid using fixed-size array (#353)

    • avoid using fixed-size array
    • include necessary headers

    * avoid capturing structured bindings in lambdas ---------

  • docs(path_generator): add description of path cut & turn signal feature (#359)

    • add diagrams of path cut feature
    • add diagrams of turn signal feature
    • update parameter list
    • update README

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

  • fix(path_generator): avoid shortcuts at overlaps (#352)

    • track current lane to avoid shortcut

    * add constraints for current lane search ---------

  • feat(autoware_path_generator): use autoware_trajectory for cropping bounds (#349)

  • Contributors: Kazunori-Nakajima, Mamoru Sobue, Mitsuhiro Sakamoto, Yukinari Hisaki

1.0.0 (2025-03-31)

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_path_generator at Robotics Stack Exchange

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

autoware_path_generator package from autoware_core repo

autoware_adapi_specs autoware_core autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_core_control autoware_simple_pure_pursuit autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

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

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2025-06-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The autoware_path_generator package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Authors

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Path Generator

The path_generator node receives a route from mission_planner and converts the center line into a path. If the route has waypoints set, it generates a path passing through them.

This package is a simple alternative of behavior_path_generator.

Path generation

When input data is ready, it first searches for the lanelet closest to the vehicle. If found, it gets the lanelets within a distance of path_length.backward behind and path_length.forward in front. Their center lines are concatenated to generate a path.

If waypoints exist in the route, it replaces the overlapped segment of the center line with them. The overlap interval is determined as shown in the following figure.

waypoint_group_overlap_interval_determination

Path cut

If there is a self-intersection on either of the path bounds, the path is cut off a specified distance before the first intersection, as shown in the following figure (path: green, bound: blue).

path_cut_self_intersection

Depending on the crossing angle, the return path’s bound may be closer to the centerline than the outward’s one, depicted in the diagram below. To deal with this, intersections of the left and right bounds (mutual intersection) are taken into account as well, and the path is cut at the nearest intersecting point.

path_cut_mutual_intersection

Furthermore, in the case of the following figure, the return path goes inside even if mutual intersection is considered. Therefore, path cut is also made when the start edge of the path and the path bounds intersect.

path_cut_start_edge_intersection

Turn signal

Turn signal is determined based on the rules defined for behavior_path_planner. (See here for details)

As a general rule, the turn signal is turned on at a specified distance before the lanelet in which a turn is designated, and turned off when the driving direction has changed to the specified degree.

turn_signal_sections

If consecutive turns are required, the turn signal corresponding to the required section or the last section takes precedence.

turn_signal_conflict

Hazard signal

This node always publishes a hazard signal of autoware_vehicle_msgs::msg::HazardLightsCommand::NO_COMMAND.

Flowchart

```plantuml @startuml title run start

:take_data; :set_planner_data; if (is_data_ready) then (yes) else (no) stop endif

group plan_path group generate_path :update_current_lanelet; :get lanelets within route; if (path bounds have intersections?) then (yes) :align path end with intersection point; endif while (path end is outside range of lanelets?) :extend lanelets forward; endwhile while (path start is outside range of lanelets?) :extend lanelets backward; endwhile if (any waypoint interval starts behind lanelets?) then (yes) :extend lanelets backward; endif while (for each center line point) if (overlapped by waypoint group?) then (yes) if (previously overlapped?) then else (no) :add waypoints to path; endif else (no) :add point to path; endif endwhile :crop path; if (goal is in search range for smooth goal connection?) then (yes) :modify_path_for_smooth_goal_connection; endif :set path bounds; end group end group

group get_turn_signal while (for each path point) if (turn direction is set to corresponding lanelet?) then (yes) if (ego is in front of lanelet?) then (yes)

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_path_generator

1.1.0 (2025-05-01)

  • fix(path_generator): set both lane IDs to point on border of adjacent lanes (#384) set both lane IDs to point on border of adjacent lanes

  • feat(path_generator): move generate_path public (#380)

    • feat(path_generator): move generate_path public
    • style(pre-commit): autofix
    • fix pre-commit

    * fix test include path ---------Co-authored-by: t4-adc <<grp-rd-1-adc-admin@tier4.jp>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(autoware_trajectory)!: move everything to namespace experimetal (#371) refactor(autoware_trajectory)!: move everything to namespace experimental

  • test(path_generator): add tests for path cut feature (#268)

    • add map for test
    • add overpass map
    • refactor & enhance base test class
    • add tests
    • style(pre-commit): autofix

    * fix year created Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>>

    • anonymize test map
    • style(pre-commit): autofix
    • add test map info to README
    • style(pre-commit): autofix
    • make tests work with autoware_trajectory
    • include necessary header
    • fix test case

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>> Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>>

  • fix(path_generator): deal with unintended input (#336)

    • prevent segfault
    • fix self-intersection search range
    • define behavior for unintended input
    • prevent segfault

    * check builder output instead of input size ---------

  • refactor(path_generator): avoid using fixed-size array (#353)

    • avoid using fixed-size array
    • include necessary headers

    * avoid capturing structured bindings in lambdas ---------

  • docs(path_generator): add description of path cut & turn signal feature (#359)

    • add diagrams of path cut feature
    • add diagrams of turn signal feature
    • update parameter list
    • update README

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

  • fix(path_generator): avoid shortcuts at overlaps (#352)

    • track current lane to avoid shortcut

    * add constraints for current lane search ---------

  • feat(autoware_path_generator): use autoware_trajectory for cropping bounds (#349)

  • Contributors: Kazunori-Nakajima, Mamoru Sobue, Mitsuhiro Sakamoto, Yukinari Hisaki

1.0.0 (2025-03-31)

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_path_generator at Robotics Stack Exchange

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

autoware_path_generator package from autoware_core repo

autoware_adapi_specs autoware_core autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_core_control autoware_simple_pure_pursuit autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

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

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2025-06-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The autoware_path_generator package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Authors

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Path Generator

The path_generator node receives a route from mission_planner and converts the center line into a path. If the route has waypoints set, it generates a path passing through them.

This package is a simple alternative of behavior_path_generator.

Path generation

When input data is ready, it first searches for the lanelet closest to the vehicle. If found, it gets the lanelets within a distance of path_length.backward behind and path_length.forward in front. Their center lines are concatenated to generate a path.

If waypoints exist in the route, it replaces the overlapped segment of the center line with them. The overlap interval is determined as shown in the following figure.

waypoint_group_overlap_interval_determination

Path cut

If there is a self-intersection on either of the path bounds, the path is cut off a specified distance before the first intersection, as shown in the following figure (path: green, bound: blue).

path_cut_self_intersection

Depending on the crossing angle, the return path’s bound may be closer to the centerline than the outward’s one, depicted in the diagram below. To deal with this, intersections of the left and right bounds (mutual intersection) are taken into account as well, and the path is cut at the nearest intersecting point.

path_cut_mutual_intersection

Furthermore, in the case of the following figure, the return path goes inside even if mutual intersection is considered. Therefore, path cut is also made when the start edge of the path and the path bounds intersect.

path_cut_start_edge_intersection

Turn signal

Turn signal is determined based on the rules defined for behavior_path_planner. (See here for details)

As a general rule, the turn signal is turned on at a specified distance before the lanelet in which a turn is designated, and turned off when the driving direction has changed to the specified degree.

turn_signal_sections

If consecutive turns are required, the turn signal corresponding to the required section or the last section takes precedence.

turn_signal_conflict

Hazard signal

This node always publishes a hazard signal of autoware_vehicle_msgs::msg::HazardLightsCommand::NO_COMMAND.

Flowchart

```plantuml @startuml title run start

:take_data; :set_planner_data; if (is_data_ready) then (yes) else (no) stop endif

group plan_path group generate_path :update_current_lanelet; :get lanelets within route; if (path bounds have intersections?) then (yes) :align path end with intersection point; endif while (path end is outside range of lanelets?) :extend lanelets forward; endwhile while (path start is outside range of lanelets?) :extend lanelets backward; endwhile if (any waypoint interval starts behind lanelets?) then (yes) :extend lanelets backward; endif while (for each center line point) if (overlapped by waypoint group?) then (yes) if (previously overlapped?) then else (no) :add waypoints to path; endif else (no) :add point to path; endif endwhile :crop path; if (goal is in search range for smooth goal connection?) then (yes) :modify_path_for_smooth_goal_connection; endif :set path bounds; end group end group

group get_turn_signal while (for each path point) if (turn direction is set to corresponding lanelet?) then (yes) if (ego is in front of lanelet?) then (yes)

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_path_generator

1.1.0 (2025-05-01)

  • fix(path_generator): set both lane IDs to point on border of adjacent lanes (#384) set both lane IDs to point on border of adjacent lanes

  • feat(path_generator): move generate_path public (#380)

    • feat(path_generator): move generate_path public
    • style(pre-commit): autofix
    • fix pre-commit

    * fix test include path ---------Co-authored-by: t4-adc <<grp-rd-1-adc-admin@tier4.jp>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(autoware_trajectory)!: move everything to namespace experimetal (#371) refactor(autoware_trajectory)!: move everything to namespace experimental

  • test(path_generator): add tests for path cut feature (#268)

    • add map for test
    • add overpass map
    • refactor & enhance base test class
    • add tests
    • style(pre-commit): autofix

    * fix year created Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>>

    • anonymize test map
    • style(pre-commit): autofix
    • add test map info to README
    • style(pre-commit): autofix
    • make tests work with autoware_trajectory
    • include necessary header
    • fix test case

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>> Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>>

  • fix(path_generator): deal with unintended input (#336)

    • prevent segfault
    • fix self-intersection search range
    • define behavior for unintended input
    • prevent segfault

    * check builder output instead of input size ---------

  • refactor(path_generator): avoid using fixed-size array (#353)

    • avoid using fixed-size array
    • include necessary headers

    * avoid capturing structured bindings in lambdas ---------

  • docs(path_generator): add description of path cut & turn signal feature (#359)

    • add diagrams of path cut feature
    • add diagrams of turn signal feature
    • update parameter list
    • update README

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

  • fix(path_generator): avoid shortcuts at overlaps (#352)

    • track current lane to avoid shortcut

    * add constraints for current lane search ---------

  • feat(autoware_path_generator): use autoware_trajectory for cropping bounds (#349)

  • Contributors: Kazunori-Nakajima, Mamoru Sobue, Mitsuhiro Sakamoto, Yukinari Hisaki

1.0.0 (2025-03-31)

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_path_generator at Robotics Stack Exchange

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

autoware_path_generator package from autoware_core repo

autoware_adapi_specs autoware_core autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_core_control autoware_simple_pure_pursuit autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

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

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2025-06-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The autoware_path_generator package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Authors

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Path Generator

The path_generator node receives a route from mission_planner and converts the center line into a path. If the route has waypoints set, it generates a path passing through them.

This package is a simple alternative of behavior_path_generator.

Path generation

When input data is ready, it first searches for the lanelet closest to the vehicle. If found, it gets the lanelets within a distance of path_length.backward behind and path_length.forward in front. Their center lines are concatenated to generate a path.

If waypoints exist in the route, it replaces the overlapped segment of the center line with them. The overlap interval is determined as shown in the following figure.

waypoint_group_overlap_interval_determination

Path cut

If there is a self-intersection on either of the path bounds, the path is cut off a specified distance before the first intersection, as shown in the following figure (path: green, bound: blue).

path_cut_self_intersection

Depending on the crossing angle, the return path’s bound may be closer to the centerline than the outward’s one, depicted in the diagram below. To deal with this, intersections of the left and right bounds (mutual intersection) are taken into account as well, and the path is cut at the nearest intersecting point.

path_cut_mutual_intersection

Furthermore, in the case of the following figure, the return path goes inside even if mutual intersection is considered. Therefore, path cut is also made when the start edge of the path and the path bounds intersect.

path_cut_start_edge_intersection

Turn signal

Turn signal is determined based on the rules defined for behavior_path_planner. (See here for details)

As a general rule, the turn signal is turned on at a specified distance before the lanelet in which a turn is designated, and turned off when the driving direction has changed to the specified degree.

turn_signal_sections

If consecutive turns are required, the turn signal corresponding to the required section or the last section takes precedence.

turn_signal_conflict

Hazard signal

This node always publishes a hazard signal of autoware_vehicle_msgs::msg::HazardLightsCommand::NO_COMMAND.

Flowchart

```plantuml @startuml title run start

:take_data; :set_planner_data; if (is_data_ready) then (yes) else (no) stop endif

group plan_path group generate_path :update_current_lanelet; :get lanelets within route; if (path bounds have intersections?) then (yes) :align path end with intersection point; endif while (path end is outside range of lanelets?) :extend lanelets forward; endwhile while (path start is outside range of lanelets?) :extend lanelets backward; endwhile if (any waypoint interval starts behind lanelets?) then (yes) :extend lanelets backward; endif while (for each center line point) if (overlapped by waypoint group?) then (yes) if (previously overlapped?) then else (no) :add waypoints to path; endif else (no) :add point to path; endif endwhile :crop path; if (goal is in search range for smooth goal connection?) then (yes) :modify_path_for_smooth_goal_connection; endif :set path bounds; end group end group

group get_turn_signal while (for each path point) if (turn direction is set to corresponding lanelet?) then (yes) if (ego is in front of lanelet?) then (yes)

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_path_generator

1.1.0 (2025-05-01)

  • fix(path_generator): set both lane IDs to point on border of adjacent lanes (#384) set both lane IDs to point on border of adjacent lanes

  • feat(path_generator): move generate_path public (#380)

    • feat(path_generator): move generate_path public
    • style(pre-commit): autofix
    • fix pre-commit

    * fix test include path ---------Co-authored-by: t4-adc <<grp-rd-1-adc-admin@tier4.jp>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(autoware_trajectory)!: move everything to namespace experimetal (#371) refactor(autoware_trajectory)!: move everything to namespace experimental

  • test(path_generator): add tests for path cut feature (#268)

    • add map for test
    • add overpass map
    • refactor & enhance base test class
    • add tests
    • style(pre-commit): autofix

    * fix year created Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>>

    • anonymize test map
    • style(pre-commit): autofix
    • add test map info to README
    • style(pre-commit): autofix
    • make tests work with autoware_trajectory
    • include necessary header
    • fix test case

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>> Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>>

  • fix(path_generator): deal with unintended input (#336)

    • prevent segfault
    • fix self-intersection search range
    • define behavior for unintended input
    • prevent segfault

    * check builder output instead of input size ---------

  • refactor(path_generator): avoid using fixed-size array (#353)

    • avoid using fixed-size array
    • include necessary headers

    * avoid capturing structured bindings in lambdas ---------

  • docs(path_generator): add description of path cut & turn signal feature (#359)

    • add diagrams of path cut feature
    • add diagrams of turn signal feature
    • update parameter list
    • update README

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

  • fix(path_generator): avoid shortcuts at overlaps (#352)

    • track current lane to avoid shortcut

    * add constraints for current lane search ---------

  • feat(autoware_path_generator): use autoware_trajectory for cropping bounds (#349)

  • Contributors: Kazunori-Nakajima, Mamoru Sobue, Mitsuhiro Sakamoto, Yukinari Hisaki

1.0.0 (2025-03-31)

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_path_generator at Robotics Stack Exchange

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

autoware_path_generator package from autoware_core repo

autoware_adapi_specs autoware_core autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_core_control autoware_simple_pure_pursuit autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

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

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2025-06-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The autoware_path_generator package

Additional Links

No additional links.

Maintainers

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Authors

  • Satoshi Ota
  • Takayuki Murooka
  • Mitsuhiro Sakamoto
  • Kosuke Takeuchi
  • Junya Sasaki

Path Generator

The path_generator node receives a route from mission_planner and converts the center line into a path. If the route has waypoints set, it generates a path passing through them.

This package is a simple alternative of behavior_path_generator.

Path generation

When input data is ready, it first searches for the lanelet closest to the vehicle. If found, it gets the lanelets within a distance of path_length.backward behind and path_length.forward in front. Their center lines are concatenated to generate a path.

If waypoints exist in the route, it replaces the overlapped segment of the center line with them. The overlap interval is determined as shown in the following figure.

waypoint_group_overlap_interval_determination

Path cut

If there is a self-intersection on either of the path bounds, the path is cut off a specified distance before the first intersection, as shown in the following figure (path: green, bound: blue).

path_cut_self_intersection

Depending on the crossing angle, the return path’s bound may be closer to the centerline than the outward’s one, depicted in the diagram below. To deal with this, intersections of the left and right bounds (mutual intersection) are taken into account as well, and the path is cut at the nearest intersecting point.

path_cut_mutual_intersection

Furthermore, in the case of the following figure, the return path goes inside even if mutual intersection is considered. Therefore, path cut is also made when the start edge of the path and the path bounds intersect.

path_cut_start_edge_intersection

Turn signal

Turn signal is determined based on the rules defined for behavior_path_planner. (See here for details)

As a general rule, the turn signal is turned on at a specified distance before the lanelet in which a turn is designated, and turned off when the driving direction has changed to the specified degree.

turn_signal_sections

If consecutive turns are required, the turn signal corresponding to the required section or the last section takes precedence.

turn_signal_conflict

Hazard signal

This node always publishes a hazard signal of autoware_vehicle_msgs::msg::HazardLightsCommand::NO_COMMAND.

Flowchart

```plantuml @startuml title run start

:take_data; :set_planner_data; if (is_data_ready) then (yes) else (no) stop endif

group plan_path group generate_path :update_current_lanelet; :get lanelets within route; if (path bounds have intersections?) then (yes) :align path end with intersection point; endif while (path end is outside range of lanelets?) :extend lanelets forward; endwhile while (path start is outside range of lanelets?) :extend lanelets backward; endwhile if (any waypoint interval starts behind lanelets?) then (yes) :extend lanelets backward; endif while (for each center line point) if (overlapped by waypoint group?) then (yes) if (previously overlapped?) then else (no) :add waypoints to path; endif else (no) :add point to path; endif endwhile :crop path; if (goal is in search range for smooth goal connection?) then (yes) :modify_path_for_smooth_goal_connection; endif :set path bounds; end group end group

group get_turn_signal while (for each path point) if (turn direction is set to corresponding lanelet?) then (yes) if (ego is in front of lanelet?) then (yes)

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_path_generator

1.1.0 (2025-05-01)

  • fix(path_generator): set both lane IDs to point on border of adjacent lanes (#384) set both lane IDs to point on border of adjacent lanes

  • feat(path_generator): move generate_path public (#380)

    • feat(path_generator): move generate_path public
    • style(pre-commit): autofix
    • fix pre-commit

    * fix test include path ---------Co-authored-by: t4-adc <<grp-rd-1-adc-admin@tier4.jp>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(autoware_trajectory)!: move everything to namespace experimetal (#371) refactor(autoware_trajectory)!: move everything to namespace experimental

  • test(path_generator): add tests for path cut feature (#268)

    • add map for test
    • add overpass map
    • refactor & enhance base test class
    • add tests
    • style(pre-commit): autofix

    * fix year created Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>>

    • anonymize test map
    • style(pre-commit): autofix
    • add test map info to README
    • style(pre-commit): autofix
    • make tests work with autoware_trajectory
    • include necessary header
    • fix test case

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kosuke Takeuchi <<kosuke.tnp@gmail.com>> Co-authored-by: Yutaka Kondo <<yutaka.kondo@youtalk.jp>>

  • fix(path_generator): deal with unintended input (#336)

    • prevent segfault
    • fix self-intersection search range
    • define behavior for unintended input
    • prevent segfault

    * check builder output instead of input size ---------

  • refactor(path_generator): avoid using fixed-size array (#353)

    • avoid using fixed-size array
    • include necessary headers

    * avoid capturing structured bindings in lambdas ---------

  • docs(path_generator): add description of path cut & turn signal feature (#359)

    • add diagrams of path cut feature
    • add diagrams of turn signal feature
    • update parameter list
    • update README

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

  • fix(path_generator): avoid shortcuts at overlaps (#352)

    • track current lane to avoid shortcut

    * add constraints for current lane search ---------

  • feat(autoware_path_generator): use autoware_trajectory for cropping bounds (#349)

  • Contributors: Kazunori-Nakajima, Mamoru Sobue, Mitsuhiro Sakamoto, Yukinari Hisaki

1.0.0 (2025-03-31)

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_path_generator at Robotics Stack Exchange