Skip to content

Commit

Permalink
fix(obsacle_avoidance_planner): resetting stop pose by drivable area …
Browse files Browse the repository at this point in the history
…when AW is able to recover from footprint out of drivable area (to clear the polygon)

Signed-off-by: AhmedEbrahim <ahmed.a.d.ebrahim@gmail.com>
  • Loading branch information
ahmeddesokyebrahim committed Jul 11, 2023
1 parent 7adc76e commit ba84dbd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions planning/obstacle_avoidance_planner/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,8 @@ void ObstacleAvoidancePlanner::insertZeroVelocityOutsideDrivableArea(
for (size_t i = *first_outside_idx; i < optimized_traj_points.size(); ++i) {
optimized_traj_points.at(i).longitudinal_velocity_mps = 0.0;
}
} else {
debug_data_ptr_->stop_pose_by_drivable_area = boost::none;
}

time_keeper_ptr_->toc(__func__, " ");
Expand Down

0 comments on commit ba84dbd

Please sign in to comment.