Skip to content

Commit

Permalink
fix(behavior_velocity_planner): ignore pass judge when external_stop …
Browse files Browse the repository at this point in the history
…is true (#691)

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
  • Loading branch information
tkimura4 committed Apr 13, 2022
1 parent 0d1c5a5 commit 9947cb4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ bool IntersectionModule::modifyPathVelocity(
return false;
}

if (stop_line_idx <= 0 || pass_judge_line_idx <= 0) {
RCLCPP_DEBUG(logger_, "stop line or pass judge line is at path[0], ignore planning.");
if (stop_line_idx <= 0) {
RCLCPP_DEBUG(logger_, "stop line line is at path[0], ignore planning.");
RCLCPP_DEBUG(logger_, "===== plan end =====");
return true;
}
Expand Down

0 comments on commit 9947cb4

Please sign in to comment.