Skip to content

Commit 375a24a

Browse files
authored
chore(goal_planner): suppress error message (#6293)
1 parent c89f863 commit 375a24a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

planning/behavior_path_goal_planner_module/src/goal_planner_module.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -187,18 +187,18 @@ void GoalPlannerModule::onTimer()
187187
// check if new pull over path candidates are needed to be generated
188188
const bool need_update = std::invoke([&]() {
189189
if (hasDeviatedFromCurrentPreviousModulePath()) {
190-
RCLCPP_ERROR(getLogger(), "has deviated from current previous module path");
190+
RCLCPP_DEBUG(getLogger(), "has deviated from current previous module path");
191191
return false;
192192
}
193193
if (thread_safe_data_.get_pull_over_path_candidates().empty()) {
194194
return true;
195195
}
196196
if (hasPreviousModulePathShapeChanged()) {
197-
RCLCPP_ERROR(getLogger(), "has previous module path shape changed");
197+
RCLCPP_DEBUG(getLogger(), "has previous module path shape changed");
198198
return true;
199199
}
200200
if (hasDeviatedFromLastPreviousModulePath() && !hasDecidedPath()) {
201-
RCLCPP_ERROR(getLogger(), "has deviated from last previous module path");
201+
RCLCPP_DEBUG(getLogger(), "has deviated from last previous module path");
202202
return true;
203203
}
204204
return false;

0 commit comments

Comments
 (0)