Skip to content

Commit

Permalink
fix(behavior_velocity_planner): keep FINALIZED state in vtl module (t…
Browse files Browse the repository at this point in the history
…ier4#1108)

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
  • Loading branch information
kosuke55 authored and boyali committed Jul 1, 2022
1 parent b67c5bf commit 3389dd0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ bool VirtualTrafficLightModule::modifyPathVelocity(
}

// Do nothing if vehicle is after any end line
if (isAfterAnyEndLine()) {
if (isAfterAnyEndLine() || state_ == State::FINALIZED) {
RCLCPP_DEBUG(logger_, "after end_line");
state_ = State::FINALIZED;
updateInfrastructureCommand();
Expand Down

0 comments on commit 3389dd0

Please sign in to comment.