From 0f0688ac6a7f87f8f6416aa977f7f28660ee3ad8 Mon Sep 17 00:00:00 2001 From: Esteve Fernandez Date: Fri, 12 Apr 2024 17:37:14 +0200 Subject: [PATCH] fix(autoware_behavior_velocity_planner): fix naming issues Signed-off-by: Esteve Fernandez --- .../behavior_velocity_planner/src/planner_manager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/planning/behavior_velocity_planner/src/planner_manager.cpp b/planning/behavior_velocity_planner/src/planner_manager.cpp index 72393e3e7a3ac..d93d693033292 100644 --- a/planning/behavior_velocity_planner/src/planner_manager.cpp +++ b/planning/behavior_velocity_planner/src/planner_manager.cpp @@ -109,11 +109,11 @@ autoware_auto_planning_msgs::msg::PathWithLaneId BehaviorVelocityPlannerManager: for (const auto & plugin : scene_manager_plugins_) { plugin->updateSceneModuleInstances(planner_data, input_path_msg); plugin->plan(&output_path_msg); - const auto firstStopPathPointIndex = plugin->getFirstStopPathPointIndex(); + const auto first_stop_path_point_index_from_plugin = plugin->getFirstStopPathPointIndex(); - if (firstStopPathPointIndex) { - if (firstStopPathPointIndex.value() < first_stop_path_point_index) { - first_stop_path_point_index = firstStopPathPointIndex.value(); + if (first_stop_path_point_index_from_plugin) { + if (first_stop_path_point_index_from_plugin.value() < first_stop_path_point_index) { + first_stop_path_point_index = first_stop_path_point_index_from_plugin.value(); stop_reason_msg = plugin->getModuleName(); } }