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 <[email protected]>
  • Loading branch information
tkimura4 authored Apr 13, 2022
1 parent 23cb41a commit 202fd98
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 202fd98

Please sign in to comment.