From b984dd47d394b54f5dbf079fdd12d7c59a229255 Mon Sep 17 00:00:00 2001 From: Esteve Fernandez Date: Wed, 19 Jun 2024 10:55:44 +0200 Subject: [PATCH] chore(autoware_behavior_velocity_planner): remove no_prefix function from tests Signed-off-by: Esteve Fernandez --- .../test/src/test_node_interface.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/planning/behavior_velocity_planner/autoware_behavior_velocity_planner/test/src/test_node_interface.cpp b/planning/behavior_velocity_planner/autoware_behavior_velocity_planner/test/src/test_node_interface.cpp index a6cff987e30f0..cc2f4bf3b96b4 100644 --- a/planning/behavior_velocity_planner/autoware_behavior_velocity_planner/test/src/test_node_interface.cpp +++ b/planning/behavior_velocity_planner/autoware_behavior_velocity_planner/test/src/test_node_interface.cpp @@ -54,13 +54,6 @@ std::shared_ptr generateNode() const auto velocity_smoother_dir = ament_index_cpp::get_package_share_directory("autoware_velocity_smoother"); - // TODO(esteve): delete when all the modules are migrated to autoware_behavior_velocity_* - const auto get_behavior_velocity_module_config_no_prefix = [](const std::string & module) { - const auto package_name = "behavior_velocity_" + module + "_module"; - const auto package_path = ament_index_cpp::get_package_share_directory(package_name); - return package_path + "/config/" + module + ".param.yaml"; - }; - const auto get_behavior_velocity_module_config = [](const std::string & module) { const auto package_name = "autoware_behavior_velocity_" + module + "_module"; const auto package_path = ament_index_cpp::get_package_share_directory(package_name); @@ -103,11 +96,11 @@ std::shared_ptr generateNode() get_behavior_velocity_module_config("no_stopping_area"), get_behavior_velocity_module_config("occlusion_spot"), get_behavior_velocity_module_config("run_out"), - get_behavior_velocity_module_config_no_prefix("speed_bump"), + get_behavior_velocity_module_config("speed_bump"), get_behavior_velocity_module_config("stop_line"), get_behavior_velocity_module_config("traffic_light"), get_behavior_velocity_module_config("virtual_traffic_light"), - get_behavior_velocity_module_config_no_prefix("no_drivable_lane")}); + get_behavior_velocity_module_config("no_drivable_lane")}); // TODO(Takagi, Isamu): set launch_modules // TODO(Kyoichi Sugahara) set to true launch_virtual_traffic_light