Skip to content

Commit

Permalink
fix cancel state
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>
  • Loading branch information
zulfaqar-azmi-t4 committed Jan 9, 2024
1 parent a922ff3 commit a40d985
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions planning/behavior_path_lane_change_module/src/interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@ bool LaneChangeInterface::canTransitFailureState()
log_debug_throttled("Can't transit to failure state. Ego is on prepare, and it's safe.");
return false;
}

log_debug_throttled("It's unsafe and ego is in prepare phase. Cancel lane change.");
return true;
}

if (post_process_safety_status_.is_safe) {
Expand Down

0 comments on commit a40d985

Please sign in to comment.