Skip to content

Commit

Permalink
Add path index incrementation after backward
Browse files Browse the repository at this point in the history
driving completion

Signed-off-by: kyoichi-sugahara <[email protected]>
  • Loading branch information
kyoichi-sugahara committed Nov 16, 2023
1 parent 2336097 commit 76bf012
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,6 @@ void StartPlannerModule::updatePullOutStatus()

if (isBackwardDrivingComplete()) {
updateStatusAfterBackwardDriving();
// should be moved to transition state
} else {
status_.backward_path = start_planner_utils::getBackwardPath(
*route_handler, pull_out_lanes, current_pose, status_.pull_out_start_pose,
Expand All @@ -732,6 +731,7 @@ void StartPlannerModule::updateStatusAfterBackwardDriving()
{
status_.driving_forward = true;
status_.backward_driving_complete = true;
incrementPathIndex();
// request start_planner approval
waitApproval();
// To enable approval of the forward path, the RTC status is removed.
Expand Down

0 comments on commit 76bf012

Please sign in to comment.