Skip to content

Commit

Permalink
Fix conditional check in updatePullOutStatus function
Browse files Browse the repository at this point in the history
Signed-off-by: kyoichi-sugahara <[email protected]>
  • Loading branch information
kyoichi-sugahara committed Dec 30, 2023
1 parent b076eb7 commit 01f1132
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -839,8 +839,10 @@ void StartPlannerModule::updatePullOutStatus()
return {*refined_start_pose};
});

planWithPriority(
start_pose_candidates, *refined_start_pose, goal_pose, parameters_->search_priority);
if (!status_.backward_driving_complete) {
planWithPriority(
start_pose_candidates, *refined_start_pose, goal_pose, parameters_->search_priority);
}

start_planner_data_.refined_start_pose = *refined_start_pose;
start_planner_data_.start_pose_candidates = start_pose_candidates;
Expand Down

0 comments on commit 01f1132

Please sign in to comment.