Skip to content

Commit 6514c0e

Browse files
committed
fix spelling
Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>
1 parent 1a4fd5b commit 6514c0e

File tree

2 files changed

+3
-2
lines changed
  • planning/behavior_path_planner/autoware_behavior_path_lane_change_module

2 files changed

+3
-2
lines changed

Diff for: planning/behavior_path_planner/autoware_behavior_path_lane_change_module/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ endif
876876

877877
## Terminal Lane Change Path
878878

879-
Depending on the space configration around the Ego vehicle, it is possible that a valid LC path cannot be generated. If that happens, then Ego will get stuck at `terminal_start` and will be not be able to proceed. Therefore we introduced the terminal LC path feature; when ego gets near to the terminal point (dist to `terminal_start` is less than the maximum lane change length) a terminal lane changing path will be computed starting from the terminal start point on the current lane and connects to the target lane. The terminal path only needs to be computed once in each execution of LC module. If no valid candidate paths are found in the path generation process, then the terminal path will be used as a fallback candidate path, the safety of the terminal path is not ensured and therefore it can only be force approved. The following images illustrate the expected behavior without and with the terminal path feature respectively:
879+
Depending on the space configuration around the Ego vehicle, it is possible that a valid LC path cannot be generated. If that happens, then Ego will get stuck at `terminal_start` and will be not be able to proceed. Therefore we introduced the terminal LC path feature; when ego gets near to the terminal point (dist to `terminal_start` is less than the maximum lane change length) a terminal lane changing path will be computed starting from the terminal start point on the current lane and connects to the target lane. The terminal path only needs to be computed once in each execution of LC module. If no valid candidate paths are found in the path generation process, then the terminal path will be used as a fallback candidate path, the safety of the terminal path is not ensured and therefore it can only be force approved. The following images illustrate the expected behavior without and with the terminal path feature respectively:
880880

881881
![no terminal path](./images/lane_change-no_terminal_path.png)
882882

Diff for: planning/behavior_path_planner/autoware_behavior_path_lane_change_module/src/scene.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1348,7 +1348,8 @@ std::optional<PathWithLaneId> NormalLaneChange::compute_terminal_lane_change_pat
13481348

13491349
const auto max_lane_changing_length = std::invoke([&]() {
13501350
double max_length = transient_data.dist_to_terminal_end - prep_metric.length;
1351-
return std::min(max_length, dist_lc_start_to_end_of_lanes - transient_data.next_dist_buffer.min);
1351+
return std::min(
1352+
max_length, dist_lc_start_to_end_of_lanes - transient_data.next_dist_buffer.min);
13521353
});
13531354

13541355
const auto max_path_velocity = prepare_segment.points.back().point.longitudinal_velocity_mps;

0 commit comments

Comments
 (0)