From 375a24a841e804ea76630bd26a034b95aa83b1cb Mon Sep 17 00:00:00 2001 From: Kosuke Takeuchi Date: Sat, 3 Feb 2024 19:27:20 +0900 Subject: [PATCH] chore(goal_planner): suppress error message (#6293) --- .../src/goal_planner_module.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/planning/behavior_path_goal_planner_module/src/goal_planner_module.cpp b/planning/behavior_path_goal_planner_module/src/goal_planner_module.cpp index c3404bf838a2c..5ef7b90e042bd 100644 --- a/planning/behavior_path_goal_planner_module/src/goal_planner_module.cpp +++ b/planning/behavior_path_goal_planner_module/src/goal_planner_module.cpp @@ -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;