Skip to content

Commit

Permalink
feat(behavior_path_planner): error messsage when no pull over/out pla…
Browse files Browse the repository at this point in the history
…nners (autowarefoundation#2644) (#242)

feat(behavior_path_planner): error messsage when no pull over/out planner

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
  • Loading branch information
kosuke55 authored Jan 13, 2023
1 parent 7ebb313 commit 6e8570f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ PullOutModule::PullOutModule(
std::make_shared<GeometricPullOut>(node, parameters, getGeometricPullOutParameters()));
}
if (pull_out_planners_.empty()) {
RCLCPP_DEBUG(getLogger(), "Not found enabled planner");
RCLCPP_ERROR(getLogger(), "Not found enabled planner");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ PullOverModule::PullOverModule(
node, parameters, getGeometricPullOverParameters(), lane_departure_checker,
occupancy_grid_map_, is_forward));
}
if (pull_over_planners_.empty()) {
RCLCPP_ERROR(getLogger(), "Not found enabled planner");
}

// set selected goal searcher
// currently there is only one goal_searcher_type
Expand Down

0 comments on commit 6e8570f

Please sign in to comment.