Skip to content

Commit

Permalink
fix(lane_change): fix visualization when path is invalid (#4132)
Browse files Browse the repository at this point in the history
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
  • Loading branch information
zulfaqar-azmi-t4 authored Jun 30, 2023
1 parent da9c9c5 commit 879a837
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ BehaviorModuleOutput LaneChangeInterface::planWaitingApproval()
module_type_->setPreviousModulePaths(
getPreviousModuleOutput().reference_path, getPreviousModuleOutput().path);
module_type_->updateLaneChangeStatus();
setObjectDebugVisualization();

// change turn signal when the vehicle reaches at the end of the path for waiting lane change
out.turn_signal_info = getCurrentTurnSignalInfo(*out.path, out.turn_signal_info);
Expand All @@ -249,8 +250,6 @@ BehaviorModuleOutput LaneChangeInterface::planWaitingApproval()
candidate.start_distance_to_path_change, candidate.finish_distance_to_path_change);
is_abort_path_approved_ = false;

setObjectDebugVisualization();

return out;
}

Expand Down

0 comments on commit 879a837

Please sign in to comment.