Skip to content

Commit 7322c6e

Browse files
committed
fix(autoware_behavior_velocity_planner): fix naming issues
Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
1 parent 075d099 commit 7322c6e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

planning/behavior_velocity_planner/src/planner_manager.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ autoware_auto_planning_msgs::msg::PathWithLaneId BehaviorVelocityPlannerManager:
109109
for (const auto & plugin : scene_manager_plugins_) {
110110
plugin->updateSceneModuleInstances(planner_data, input_path_msg);
111111
plugin->plan(&output_path_msg);
112-
const auto firstStopPathPointIndex = plugin->getFirstStopPathPointIndex();
112+
const auto first_stop_path_point_index_from_plugin = plugin->getFirstStopPathPointIndex();
113113

114-
if (firstStopPathPointIndex) {
115-
if (firstStopPathPointIndex.value() < first_stop_path_point_index) {
116-
first_stop_path_point_index = firstStopPathPointIndex.value();
114+
if (first_stop_path_point_index_from_plugin) {
115+
if (first_stop_path_point_index_from_plugin.value() < first_stop_path_point_index) {
116+
first_stop_path_point_index = first_stop_path_point_index_from_plugin.value();
117117
stop_reason_msg = plugin->getModuleName();
118118
}
119119
}

0 commit comments

Comments
 (0)