Skip to content

Commit

Permalink
fix(obstacle_avoidance_planner): empty points handling (#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 yn-mrse committed Jun 10, 2022
1 parent 700f072 commit 7c1dfec
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 7c1dfec

Please sign in to comment.