From cba9ebdd9051812b07cc3010816a69414e4b50e1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 30 Nov 2023 04:41:00 +0000 Subject: [PATCH] style(pre-commit): autofix --- .../src/utils/path_safety_checker/safety_check.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/planning/behavior_path_planner/src/utils/path_safety_checker/safety_check.cpp b/planning/behavior_path_planner/src/utils/path_safety_checker/safety_check.cpp index 5ca75f8c9631a..c31b4b5a1c4ad 100644 --- a/planning/behavior_path_planner/src/utils/path_safety_checker/safety_check.cpp +++ b/planning/behavior_path_planner/src/utils/path_safety_checker/safety_check.cpp @@ -399,7 +399,7 @@ bool checkSafetyWithRSS( const BehaviorPathPlannerParameters & parameters, const RSSparams & rss_params, const bool check_all_predicted_path, const double hysteresis_factor) { - // Check for collisions with each predicted path of the object + // Check for collisions with each predicted path of the object const bool is_safe = !std::any_of(objects.begin(), objects.end(), [&](const auto & object) { auto current_debug_data = marker_utils::createObjectDebug(object); @@ -412,8 +412,7 @@ bool checkSafetyWithRSS( planned_path, ego_predicted_path, object, obj_path, parameters, rss_params, hysteresis_factor, current_debug_data.second); - marker_utils::updateCollisionCheckDebugMap( - debug_map, current_debug_data, !has_collision); + marker_utils::updateCollisionCheckDebugMap(debug_map, current_debug_data, !has_collision); return has_collision; });