Skip to content

Commit

Permalink
fix(behavior_path_planner): clear stop factors (autowarefoundation#3910)
Browse files Browse the repository at this point in the history
fix(behavior_path_planner): clear stop reason

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
  • Loading branch information
satoshi-ota committed Jun 6, 2023
1 parent abbf81e commit 1375cf5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ class SceneModuleInterface
void setStopReason(const std::string & stop_reason, const PathWithLaneId & path)
{
stop_reason_.reason = stop_reason;
stop_reason_.stop_factors.clear();

if (!stop_pose_) {
stop_reason_.reason = "";
Expand Down

0 comments on commit 1375cf5

Please sign in to comment.