Skip to content

Commit

Permalink
fix(obstacle_avoidance_planner): empty points handling (tier4#1070)
Browse files Browse the repository at this point in the history
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
  • Loading branch information
takayuki5168 authored and boyali committed Oct 3, 2022
1 parent f9381b5 commit 3e9843d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions planning/obstacle_avoidance_planner/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1105,6 +1105,10 @@ void ObstacleAvoidancePlanner::insertZeroVelocityOutsideDrivableArea(
std::vector<autoware_auto_planning_msgs::msg::TrajectoryPoint> & traj_points,
const CVMaps & cv_maps)
{
if (traj_points.empty()) {
return;
}

stop_watch_.tic(__func__);

const auto & map_info = cv_maps.map_info;
Expand Down

0 comments on commit 3e9843d

Please sign in to comment.