Skip to content

Commit

Permalink
fix(lane_change): fix invalid doesn't have stop point (autowarefounda…
Browse files Browse the repository at this point in the history
…tion#8470)

fix invalid doesn't have stop point

Signed-off-by: Zulfaqar Azmi <[email protected]>
  • Loading branch information
zulfaqar-azmi-t4 committed Aug 15, 2024
1 parent 6dbbbe6 commit 55e6408
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ BehaviorModuleOutput NormalLaneChange::generateOutput()
universe_utils::ScopedTimeTrack st(__func__, *time_keeper_);
if (!status_.is_valid_path) {
RCLCPP_DEBUG(logger_, "No valid path found. Returning previous module's path as output.");
insertStopPoint(get_current_lanes(), prev_module_output_.path);
return prev_module_output_;
}

Expand Down

0 comments on commit 55e6408

Please sign in to comment.