Skip to content

Commit

Permalink
remove isWaitingApproval() from state transition
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 11, 2024
1 parent 0c92e1c commit 72a693d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ bool LaneChangeInterface::canTransitIdleToWaitingApprovalState()

log_debug_throttled(__func__);

if (!isActivated() || isWaitingApproval()) {
if (!isActivated()) {
if (module_type_->specialRequiredCheck()) {
return true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ bool StartPlannerModule::canTransitSuccessState()

bool StartPlannerModule::canTransitIdleToWaitingApprovalState()
{
return isActivated() && !isWaitingApproval();
return isActivated();
}

BehaviorModuleOutput StartPlannerModule::plan()
Expand Down

0 comments on commit 72a693d

Please sign in to comment.