Skip to content

Commit b984dd4

Browse files
committed
chore(autoware_behavior_velocity_planner): remove no_prefix function from tests
Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
1 parent 51045e9 commit b984dd4

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

planning/behavior_velocity_planner/autoware_behavior_velocity_planner/test/src/test_node_interface.cpp

+2-9
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,6 @@ std::shared_ptr<BehaviorVelocityPlannerNode> generateNode()
5454
const auto velocity_smoother_dir =
5555
ament_index_cpp::get_package_share_directory("autoware_velocity_smoother");
5656

57-
// TODO(esteve): delete when all the modules are migrated to autoware_behavior_velocity_*
58-
const auto get_behavior_velocity_module_config_no_prefix = [](const std::string & module) {
59-
const auto package_name = "behavior_velocity_" + module + "_module";
60-
const auto package_path = ament_index_cpp::get_package_share_directory(package_name);
61-
return package_path + "/config/" + module + ".param.yaml";
62-
};
63-
6457
const auto get_behavior_velocity_module_config = [](const std::string & module) {
6558
const auto package_name = "autoware_behavior_velocity_" + module + "_module";
6659
const auto package_path = ament_index_cpp::get_package_share_directory(package_name);
@@ -103,11 +96,11 @@ std::shared_ptr<BehaviorVelocityPlannerNode> generateNode()
10396
get_behavior_velocity_module_config("no_stopping_area"),
10497
get_behavior_velocity_module_config("occlusion_spot"),
10598
get_behavior_velocity_module_config("run_out"),
106-
get_behavior_velocity_module_config_no_prefix("speed_bump"),
99+
get_behavior_velocity_module_config("speed_bump"),
107100
get_behavior_velocity_module_config("stop_line"),
108101
get_behavior_velocity_module_config("traffic_light"),
109102
get_behavior_velocity_module_config("virtual_traffic_light"),
110-
get_behavior_velocity_module_config_no_prefix("no_drivable_lane")});
103+
get_behavior_velocity_module_config("no_drivable_lane")});
111104

112105
// TODO(Takagi, Isamu): set launch_modules
113106
// TODO(Kyoichi Sugahara) set to true launch_virtual_traffic_light

0 commit comments

Comments
 (0)