Skip to content

Commit

Permalink
chore(autoware_behavior_velocity_planner): remove no_prefix function …
Browse files Browse the repository at this point in the history
…from tests

Signed-off-by: Esteve Fernandez <[email protected]>
  • Loading branch information
esteve committed Jun 19, 2024
1 parent 51045e9 commit b984dd4
Showing 1 changed file with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,6 @@ std::shared_ptr<BehaviorVelocityPlannerNode> 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);
Expand Down Expand Up @@ -103,11 +96,11 @@ std::shared_ptr<BehaviorVelocityPlannerNode> 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
Expand Down

0 comments on commit b984dd4

Please sign in to comment.