From 3b0c77fbd6db8c0ca5b0fee6961a475b5f5aa486 Mon Sep 17 00:00:00 2001
From: kosuke55 <kosuke.tnp@gmail.com>
Date: Fri, 2 Feb 2024 15:51:11 +0900
Subject: [PATCH] chore(goal_planner): suppress error message

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
---
 .../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;