Skip to content

Commit 879a837

Browse files
fix(lane_change): fix visualization when path is invalid (autowarefoundation#4132)
Signed-off-by: Zulfaqar Azmi <[email protected]>
1 parent da9c9c5 commit 879a837

File tree

1 file changed

+1
-2
lines changed
  • planning/behavior_path_planner/src/scene_module/lane_change

1 file changed

+1
-2
lines changed

planning/behavior_path_planner/src/scene_module/lane_change/interface.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ BehaviorModuleOutput LaneChangeInterface::planWaitingApproval()
232232
module_type_->setPreviousModulePaths(
233233
getPreviousModuleOutput().reference_path, getPreviousModuleOutput().path);
234234
module_type_->updateLaneChangeStatus();
235+
setObjectDebugVisualization();
235236

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

252-
setObjectDebugVisualization();
253-
254253
return out;
255254
}
256255

0 commit comments

Comments
 (0)