Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(goal_planner): suppress error message #6293

Merged
merged 1 commit into from
Feb 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -187,18 +187,18 @@
// 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");

Check warning on line 190 in planning/behavior_path_goal_planner_module/src/goal_planner_module.cpp

View check run for this annotation

Codecov / codecov/patch

planning/behavior_path_goal_planner_module/src/goal_planner_module.cpp#L190

Added line #L190 was not covered by tests
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");

Check warning on line 197 in planning/behavior_path_goal_planner_module/src/goal_planner_module.cpp

View check run for this annotation

Codecov / codecov/patch

planning/behavior_path_goal_planner_module/src/goal_planner_module.cpp#L197

Added line #L197 was not covered by tests
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");

Check warning on line 201 in planning/behavior_path_goal_planner_module/src/goal_planner_module.cpp

View check run for this annotation

Codecov / codecov/patch

planning/behavior_path_goal_planner_module/src/goal_planner_module.cpp#L201

Added line #L201 was not covered by tests
return true;
}
return false;
Expand Down
Loading