From d2a8f6f907daeb9d8bde7ac54b4de7b47338454e Mon Sep 17 00:00:00 2001 From: satoshi-ota Date: Mon, 3 Jun 2024 14:52:09 +0900 Subject: [PATCH] chore: use lower case Signed-off-by: satoshi-ota --- .../src/scene.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/planning/autoware_behavior_path_static_obstacle_avoidance_module/src/scene.cpp b/planning/autoware_behavior_path_static_obstacle_avoidance_module/src/scene.cpp index f57f54472db25..48dae73231b9f 100644 --- a/planning/autoware_behavior_path_static_obstacle_avoidance_module/src/scene.cpp +++ b/planning/autoware_behavior_path_static_obstacle_avoidance_module/src/scene.cpp @@ -918,11 +918,11 @@ BehaviorModuleOutput StaticObstacleAvoidanceModule::plan() }; const auto is_large_deviation = [this](const auto & path) { - constexpr double THRESHOLD = 1.0; + constexpr double threshold = 1.0; const auto current_seg_idx = planner_data_->findEgoSegmentIndex(path.points); const auto lateral_deviation = motion_utils::calcLateralOffset(path.points, getEgoPosition(), current_seg_idx); - return std::abs(lateral_deviation) > THRESHOLD; + return std::abs(lateral_deviation) > threshold; }; // turn signal info