Skip to content

Commit

Permalink
chore(goal_planner): suppress error message (autowarefoundation#6293)
Browse files Browse the repository at this point in the history
  • Loading branch information
kosuke55 authored Feb 3, 2024
1 parent c89f863 commit 375a24a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,18 +187,18 @@ void GoalPlannerModule::onTimer()
// check if new pull over path candidates are needed to be generated
const bool need_update = std::invoke([&]() {
if (hasDeviatedFromCurrentPreviousModulePath()) {
RCLCPP_ERROR(getLogger(), "has deviated from current previous module path");
RCLCPP_DEBUG(getLogger(), "has deviated from current previous module path");
return false;
}
if (thread_safe_data_.get_pull_over_path_candidates().empty()) {
return true;
}
if (hasPreviousModulePathShapeChanged()) {
RCLCPP_ERROR(getLogger(), "has previous module path shape changed");
RCLCPP_DEBUG(getLogger(), "has previous module path shape changed");
return true;
}
if (hasDeviatedFromLastPreviousModulePath() && !hasDecidedPath()) {
RCLCPP_ERROR(getLogger(), "has deviated from last previous module path");
RCLCPP_DEBUG(getLogger(), "has deviated from last previous module path");
return true;
}
return false;
Expand Down

0 comments on commit 375a24a

Please sign in to comment.