forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(behavior_velocity_planner): use pluginlib (autowarefoundatio…
…n#3734) (autowarefoundation#509) * refactor(behavior_velocity_planner): use pluginlib (autowarefoundation#3734) * feat: move interface Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * feat: move utilization Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * feat: add plugin loader Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * feat: use plugin interface for all scene module Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * feat: remove debug code Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * feat: update package dependency Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * feat: move crosswalk Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * feat: add template package Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * feat: move intersection Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * feat: move traffic light Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * feat: move blind spot Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * feat: move detection area Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * feat: move no stopping area Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * feat: move occlusion spot Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * feat: move occlusion spot test Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * feat: move out of lane Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * feat: move run out Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * feat: move speed bump and virtual traffic light Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * move: common test Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> --------- Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * apply Kimura-san's patch Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * add find_package pcl explicitly Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> --------- Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com>
- Loading branch information
1 parent
8ef80a6
commit ed07138
Showing
164 changed files
with
1,927 additions
and
798 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
planning/behavior_velocity_blind_spot_module/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
cmake_minimum_required(VERSION 3.14) | ||
project(behavior_velocity_blind_spot_module) | ||
|
||
find_package(autoware_cmake REQUIRED) | ||
autoware_package() | ||
pluginlib_export_plugin_description_file(behavior_velocity_planner plugins.xml) | ||
|
||
find_package(PCL REQUIRED) | ||
|
||
include_directories( | ||
include | ||
SYSTEM | ||
${PCL_INCLUDE_DIRS} | ||
) | ||
|
||
ament_auto_add_library(${PROJECT_NAME} SHARED | ||
src/debug.cpp | ||
src/manager.cpp | ||
src/scene.cpp | ||
) | ||
|
||
ament_auto_package() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0"?> | ||
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>behavior_velocity_blind_spot_module</name> | ||
<version>0.1.0</version> | ||
<description>The behavior_velocity_blind_spot_module package</description> | ||
|
||
<maintainer email="mamoru.sobue@tier4.jp">Mamoru Sobue</maintainer> | ||
<maintainer email="tomoya.kimura@tier4.jp">Tomoya Kimura</maintainer> | ||
<maintainer email="shumpei.wakabayashi@tier4.jp">Shumpei Wakabayashi</maintainer> | ||
|
||
<license>Apache License 2.0</license> | ||
|
||
<author email="mamoru.sobue@tier4.jp">Mamoru Sobue</author> | ||
|
||
<buildtool_depend>ament_cmake_auto</buildtool_depend> | ||
<buildtool_depend>autoware_cmake</buildtool_depend> | ||
|
||
<depend>autoware_auto_perception_msgs</depend> | ||
<depend>autoware_auto_planning_msgs</depend> | ||
<depend>behavior_velocity_planner_common</depend> | ||
<depend>geometry_msgs</depend> | ||
<depend>lanelet2_extension</depend> | ||
<depend>libboost-dev</depend> | ||
<depend>motion_utils</depend> | ||
<depend>pluginlib</depend> | ||
<depend>rclcpp</depend> | ||
<depend>route_handler</depend> | ||
<depend>tf2</depend> | ||
<depend>tier4_autoware_utils</depend> | ||
<depend>tier4_planning_msgs</depend> | ||
<depend>visualization_msgs</depend> | ||
|
||
<test_depend>ament_lint_auto</test_depend> | ||
<test_depend>autoware_lint_common</test_depend> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<library path="behavior_velocity_blind_spot_module"> | ||
<class type="behavior_velocity_planner::BlindSpotModulePlugin" base_class_type="behavior_velocity_planner::PluginInterface"/> | ||
</library> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
planning/behavior_velocity_crosswalk_module/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
cmake_minimum_required(VERSION 3.14) | ||
project(behavior_velocity_crosswalk_module) | ||
|
||
find_package(autoware_cmake REQUIRED) | ||
autoware_package() | ||
pluginlib_export_plugin_description_file(behavior_velocity_planner plugins.xml) | ||
|
||
find_package(PCL REQUIRED) | ||
|
||
include_directories( | ||
include | ||
SYSTEM | ||
${PCL_INCLUDE_DIRS} | ||
) | ||
|
||
ament_auto_add_library(${PROJECT_NAME} SHARED | ||
src/debug.cpp | ||
src/manager.cpp | ||
src/scene_crosswalk.cpp | ||
src/scene_walkway.cpp | ||
src/util.cpp | ||
) | ||
|
||
ament_auto_package() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0"?> | ||
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>behavior_velocity_crosswalk_module</name> | ||
<version>0.1.0</version> | ||
<description>The behavior_velocity_crosswalk_module package</description> | ||
|
||
<maintainer email="satoshi.ota@tier4.jp">Satoshi Ota</maintainer> | ||
<maintainer email="tomoya.kimura@tier4.jp">Tomoya Kimura</maintainer> | ||
<maintainer email="shumpei.wakabayashi@tier4.jp">Shumpei Wakabayashi</maintainer> | ||
|
||
<license>Apache License 2.0</license> | ||
|
||
<author email="satoshi.ota@tier4.jp">Satoshi Ota</author> | ||
|
||
<buildtool_depend>ament_cmake_auto</buildtool_depend> | ||
<buildtool_depend>autoware_cmake</buildtool_depend> | ||
<buildtool_depend>eigen3_cmake_module</buildtool_depend> | ||
|
||
<depend>autoware_auto_perception_msgs</depend> | ||
<depend>autoware_auto_planning_msgs</depend> | ||
<depend>autoware_auto_tf2</depend> | ||
<depend>behavior_velocity_planner_common</depend> | ||
<depend>eigen</depend> | ||
<depend>geometry_msgs</depend> | ||
<depend>lanelet2_extension</depend> | ||
<depend>libboost-dev</depend> | ||
<depend>motion_utils</depend> | ||
<depend>pcl_conversions</depend> | ||
<depend>pluginlib</depend> | ||
<depend>rclcpp</depend> | ||
<depend>route_handler</depend> | ||
<depend>sensor_msgs</depend> | ||
<depend>tier4_api_msgs</depend> | ||
<depend>tier4_autoware_utils</depend> | ||
<depend>vehicle_info_util</depend> | ||
<depend>visualization_msgs</depend> | ||
|
||
<test_depend>ament_lint_auto</test_depend> | ||
<test_depend>autoware_lint_common</test_depend> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<library path="behavior_velocity_crosswalk_module"> | ||
<class type="behavior_velocity_planner::CrosswalkModulePlugin" base_class_type="behavior_velocity_planner::PluginInterface"/> | ||
<class type="behavior_velocity_planner::WalkwayModulePlugin" base_class_type="behavior_velocity_planner::PluginInterface"/> | ||
</library> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.