Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Nov 30, 2023
1 parent 9667e7d commit cba9ebd
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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;
});
Expand Down

0 comments on commit cba9ebd

Please sign in to comment.