From e0107d01a3a54c6ec47346b97dcbde6d3e796d77 Mon Sep 17 00:00:00 2001 From: Esteve Fernandez Date: Wed, 12 Jun 2024 12:35:38 +0200 Subject: [PATCH] refactor(autoware_behavior_velocity_speed_bump_module): prefix package and namespace with autoware Signed-off-by: Esteve Fernandez --- planning/.pages | 2 +- .../autoware_behavior_velocity_planner/README.md | 2 +- .../autoware_behavior_velocity_planner/package.xml | 2 +- .../test/src/test_node_interface.cpp | 2 +- .../CMakeLists.txt | 2 +- .../README.md | 0 .../config/speed_bump.param.yaml | 0 .../docs/speed_bump_design.svg | 0 .../docs/speed_bump_scenarios.svg | 0 .../docs/speed_bump_vel_calc.png | Bin .../package.xml | 4 ++-- .../plugins.xml | 2 +- .../src/debug.cpp | 0 .../src/manager.cpp | 0 .../src/manager.hpp | 0 .../src/scene.cpp | 0 .../src/scene.hpp | 0 .../src/util.cpp | 0 .../src/util.hpp | 0 .../README.md | 2 +- 20 files changed, 9 insertions(+), 9 deletions(-) rename planning/{behavior_velocity_speed_bump_module => autoware_behavior_velocity_speed_bump_module}/CMakeLists.txt (86%) rename planning/{behavior_velocity_speed_bump_module => autoware_behavior_velocity_speed_bump_module}/README.md (100%) rename planning/{behavior_velocity_speed_bump_module => autoware_behavior_velocity_speed_bump_module}/config/speed_bump.param.yaml (100%) rename planning/{behavior_velocity_speed_bump_module => autoware_behavior_velocity_speed_bump_module}/docs/speed_bump_design.svg (100%) rename planning/{behavior_velocity_speed_bump_module => autoware_behavior_velocity_speed_bump_module}/docs/speed_bump_scenarios.svg (100%) rename planning/{behavior_velocity_speed_bump_module => autoware_behavior_velocity_speed_bump_module}/docs/speed_bump_vel_calc.png (100%) rename planning/{behavior_velocity_speed_bump_module => autoware_behavior_velocity_speed_bump_module}/package.xml (89%) rename planning/{behavior_velocity_speed_bump_module => autoware_behavior_velocity_speed_bump_module}/plugins.xml (71%) rename planning/{behavior_velocity_speed_bump_module => autoware_behavior_velocity_speed_bump_module}/src/debug.cpp (100%) rename planning/{behavior_velocity_speed_bump_module => autoware_behavior_velocity_speed_bump_module}/src/manager.cpp (100%) rename planning/{behavior_velocity_speed_bump_module => autoware_behavior_velocity_speed_bump_module}/src/manager.hpp (100%) rename planning/{behavior_velocity_speed_bump_module => autoware_behavior_velocity_speed_bump_module}/src/scene.cpp (100%) rename planning/{behavior_velocity_speed_bump_module => autoware_behavior_velocity_speed_bump_module}/src/scene.hpp (100%) rename planning/{behavior_velocity_speed_bump_module => autoware_behavior_velocity_speed_bump_module}/src/util.cpp (100%) rename planning/{behavior_velocity_speed_bump_module => autoware_behavior_velocity_speed_bump_module}/src/util.hpp (100%) diff --git a/planning/.pages b/planning/.pages index 5fe671a3629cc..0d12e0e6a2beb 100644 --- a/planning/.pages +++ b/planning/.pages @@ -30,7 +30,7 @@ nav: - 'No Stopping Area': planning/autoware_behavior_velocity_no_stopping_area_module - 'Occlusion Spot': planning/autoware_behavior_velocity_occlusion_spot_module - 'Run Out': planning/autoware_behavior_velocity_run_out_module - - 'Speed Bump': planning/behavior_velocity_speed_bump_module + - 'Speed Bump': planning/autoware_behavior_velocity_speed_bump_module - 'Stop Line': planning/autoware_behavior_velocity_stop_line_module - 'Traffic Light': planning/autoware_behavior_velocity_traffic_light_module - 'Virtual Traffic Light': planning/autoware_behavior_velocity_virtual_traffic_light_module diff --git a/planning/autoware_behavior_velocity_planner/README.md b/planning/autoware_behavior_velocity_planner/README.md index ed475466e3fc4..7b2a1943442a5 100644 --- a/planning/autoware_behavior_velocity_planner/README.md +++ b/planning/autoware_behavior_velocity_planner/README.md @@ -19,7 +19,7 @@ It loads modules as plugins. Please refer to the links listed below for detail o - [Occlusion Spot](../autoware_behavior_velocity_occlusion_spot_module/README.md) - [No Stopping Area](../behavior_velocity_no_stopping_area_module/README.md) - [Run Out](../autoware_behavior_velocity_run_out_module/README.md) -- [Speed Bump](../behavior_velocity_speed_bump_module/README.md) +- [Speed Bump](../autoware_behavior_velocity_speed_bump_module/README.md) - [Out of Lane](../behavior_velocity_out_of_lane_module/README.md) When each module plans velocity, it considers based on `base_link`(center of rear-wheel axis) pose. diff --git a/planning/autoware_behavior_velocity_planner/package.xml b/planning/autoware_behavior_velocity_planner/package.xml index 376ac6cf5bf31..ba3981be36b50 100644 --- a/planning/autoware_behavior_velocity_planner/package.xml +++ b/planning/autoware_behavior_velocity_planner/package.xml @@ -73,13 +73,13 @@ autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_run_out_module + autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_stop_line_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_lint_common behavior_velocity_no_drivable_lane_module - behavior_velocity_speed_bump_module rosidl_interface_packages diff --git a/planning/autoware_behavior_velocity_planner/test/src/test_node_interface.cpp b/planning/autoware_behavior_velocity_planner/test/src/test_node_interface.cpp index a6cff987e30f0..e81dcc66a4f96 100644 --- a/planning/autoware_behavior_velocity_planner/test/src/test_node_interface.cpp +++ b/planning/autoware_behavior_velocity_planner/test/src/test_node_interface.cpp @@ -103,7 +103,7 @@ 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"), diff --git a/planning/behavior_velocity_speed_bump_module/CMakeLists.txt b/planning/autoware_behavior_velocity_speed_bump_module/CMakeLists.txt similarity index 86% rename from planning/behavior_velocity_speed_bump_module/CMakeLists.txt rename to planning/autoware_behavior_velocity_speed_bump_module/CMakeLists.txt index f5d3a7078be9c..5262939c02ddf 100644 --- a/planning/behavior_velocity_speed_bump_module/CMakeLists.txt +++ b/planning/autoware_behavior_velocity_speed_bump_module/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.14) -project(behavior_velocity_speed_bump_module) +project(autoware_behavior_velocity_speed_bump_module) find_package(autoware_cmake REQUIRED) autoware_package() diff --git a/planning/behavior_velocity_speed_bump_module/README.md b/planning/autoware_behavior_velocity_speed_bump_module/README.md similarity index 100% rename from planning/behavior_velocity_speed_bump_module/README.md rename to planning/autoware_behavior_velocity_speed_bump_module/README.md diff --git a/planning/behavior_velocity_speed_bump_module/config/speed_bump.param.yaml b/planning/autoware_behavior_velocity_speed_bump_module/config/speed_bump.param.yaml similarity index 100% rename from planning/behavior_velocity_speed_bump_module/config/speed_bump.param.yaml rename to planning/autoware_behavior_velocity_speed_bump_module/config/speed_bump.param.yaml diff --git a/planning/behavior_velocity_speed_bump_module/docs/speed_bump_design.svg b/planning/autoware_behavior_velocity_speed_bump_module/docs/speed_bump_design.svg similarity index 100% rename from planning/behavior_velocity_speed_bump_module/docs/speed_bump_design.svg rename to planning/autoware_behavior_velocity_speed_bump_module/docs/speed_bump_design.svg diff --git a/planning/behavior_velocity_speed_bump_module/docs/speed_bump_scenarios.svg b/planning/autoware_behavior_velocity_speed_bump_module/docs/speed_bump_scenarios.svg similarity index 100% rename from planning/behavior_velocity_speed_bump_module/docs/speed_bump_scenarios.svg rename to planning/autoware_behavior_velocity_speed_bump_module/docs/speed_bump_scenarios.svg diff --git a/planning/behavior_velocity_speed_bump_module/docs/speed_bump_vel_calc.png b/planning/autoware_behavior_velocity_speed_bump_module/docs/speed_bump_vel_calc.png similarity index 100% rename from planning/behavior_velocity_speed_bump_module/docs/speed_bump_vel_calc.png rename to planning/autoware_behavior_velocity_speed_bump_module/docs/speed_bump_vel_calc.png diff --git a/planning/behavior_velocity_speed_bump_module/package.xml b/planning/autoware_behavior_velocity_speed_bump_module/package.xml similarity index 89% rename from planning/behavior_velocity_speed_bump_module/package.xml rename to planning/autoware_behavior_velocity_speed_bump_module/package.xml index 491e8704bef41..c5eca27fcf529 100644 --- a/planning/behavior_velocity_speed_bump_module/package.xml +++ b/planning/autoware_behavior_velocity_speed_bump_module/package.xml @@ -1,9 +1,9 @@ - behavior_velocity_speed_bump_module + autoware_behavior_velocity_speed_bump_module 0.1.0 - The behavior_velocity_speed_bump_module package + The autoware_behavior_velocity_speed_bump_module package Tomoya Kimura Shumpei Wakabayashi diff --git a/planning/behavior_velocity_speed_bump_module/plugins.xml b/planning/autoware_behavior_velocity_speed_bump_module/plugins.xml similarity index 71% rename from planning/behavior_velocity_speed_bump_module/plugins.xml rename to planning/autoware_behavior_velocity_speed_bump_module/plugins.xml index 48287a7f94b4b..7a37ec217e9a5 100644 --- a/planning/behavior_velocity_speed_bump_module/plugins.xml +++ b/planning/autoware_behavior_velocity_speed_bump_module/plugins.xml @@ -1,3 +1,3 @@ - + diff --git a/planning/behavior_velocity_speed_bump_module/src/debug.cpp b/planning/autoware_behavior_velocity_speed_bump_module/src/debug.cpp similarity index 100% rename from planning/behavior_velocity_speed_bump_module/src/debug.cpp rename to planning/autoware_behavior_velocity_speed_bump_module/src/debug.cpp diff --git a/planning/behavior_velocity_speed_bump_module/src/manager.cpp b/planning/autoware_behavior_velocity_speed_bump_module/src/manager.cpp similarity index 100% rename from planning/behavior_velocity_speed_bump_module/src/manager.cpp rename to planning/autoware_behavior_velocity_speed_bump_module/src/manager.cpp diff --git a/planning/behavior_velocity_speed_bump_module/src/manager.hpp b/planning/autoware_behavior_velocity_speed_bump_module/src/manager.hpp similarity index 100% rename from planning/behavior_velocity_speed_bump_module/src/manager.hpp rename to planning/autoware_behavior_velocity_speed_bump_module/src/manager.hpp diff --git a/planning/behavior_velocity_speed_bump_module/src/scene.cpp b/planning/autoware_behavior_velocity_speed_bump_module/src/scene.cpp similarity index 100% rename from planning/behavior_velocity_speed_bump_module/src/scene.cpp rename to planning/autoware_behavior_velocity_speed_bump_module/src/scene.cpp diff --git a/planning/behavior_velocity_speed_bump_module/src/scene.hpp b/planning/autoware_behavior_velocity_speed_bump_module/src/scene.hpp similarity index 100% rename from planning/behavior_velocity_speed_bump_module/src/scene.hpp rename to planning/autoware_behavior_velocity_speed_bump_module/src/scene.hpp diff --git a/planning/behavior_velocity_speed_bump_module/src/util.cpp b/planning/autoware_behavior_velocity_speed_bump_module/src/util.cpp similarity index 100% rename from planning/behavior_velocity_speed_bump_module/src/util.cpp rename to planning/autoware_behavior_velocity_speed_bump_module/src/util.cpp diff --git a/planning/behavior_velocity_speed_bump_module/src/util.hpp b/planning/autoware_behavior_velocity_speed_bump_module/src/util.hpp similarity index 100% rename from planning/behavior_velocity_speed_bump_module/src/util.hpp rename to planning/autoware_behavior_velocity_speed_bump_module/src/util.hpp diff --git a/planning/autoware_behavior_velocity_template_module/README.md b/planning/autoware_behavior_velocity_template_module/README.md index 130da3f919482..8eba9a0e1ea3b 100644 --- a/planning/autoware_behavior_velocity_template_module/README.md +++ b/planning/autoware_behavior_velocity_template_module/README.md @@ -1,6 +1,6 @@ ## Template -A template for behavior velocity modules based on the behavior_velocity_speed_bump_module. +A template for behavior velocity modules based on the autoware_behavior_velocity_speed_bump_module. # Autoware Behavior Velocity Module Template