Skip to content

Commit b48cb80

Browse files
committed
build(behavior_velocity_template_module): prefix package and namespace with autoware_
Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
1 parent aa0c633 commit b48cb80

File tree

7 files changed

+16
-4
lines changed

7 files changed

+16
-4
lines changed

planning/behavior_velocity_template_module/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.14)
2-
project(behavior_velocity_template_module)
2+
project(autoware_behavior_velocity_template_module)
33

44
find_package(autoware_cmake REQUIRED)
55
autoware_package()

planning/behavior_velocity_template_module/package.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
33
<package format="3">
4-
<name>behavior_velocity_template_module</name>
4+
<name>autoware_behavior_velocity_template_module</name>
55
<version>0.1.0</version>
66
<description>The behavior_velocity_template_module package</description>
77

Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<library path="behavior_velocity_template_module">
2-
<class type="behavior_velocity_planner::TemplateModulePlugin" base_class_type="behavior_velocity_planner::PluginInterface"/>
2+
<class type="autoware::behavior_velocity_planner::TemplateModulePlugin" base_class_type="autoware::behavior_velocity_planner::PluginInterface"/>
33
</library>

planning/behavior_velocity_template_module/src/manager.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
#include <utility>
2727
#include <vector>
2828

29+
namespace autoware
30+
{
2931
namespace behavior_velocity_planner
3032
{
3133
using tier4_autoware_utils::getOrDeclareParameter;
@@ -57,7 +59,8 @@ TemplateModuleManager::getModuleExpiredFunction(
5759
}
5860

5961
} // namespace behavior_velocity_planner
62+
} // namespace autoware
6063

6164
#include <pluginlib/class_list_macros.hpp>
6265
PLUGINLIB_EXPORT_CLASS(
63-
behavior_velocity_planner::TemplateModulePlugin, behavior_velocity_planner::PluginInterface)
66+
autoware::behavior_velocity_planner::TemplateModulePlugin, behavior_velocity_planner::PluginInterface)

planning/behavior_velocity_template_module/src/manager.hpp

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
#include <functional>
2828
#include <memory>
2929

30+
namespace autoware
31+
{
3032
namespace behavior_velocity_planner
3133
{
3234
/**
@@ -89,5 +91,6 @@ class TemplateModulePlugin : public PluginWrapper<TemplateModuleManager>
8991
};
9092

9193
} // namespace behavior_velocity_planner
94+
} // namespace autoware
9295

9396
#endif // MANAGER_HPP_

planning/behavior_velocity_template_module/src/scene.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121

2222
#include <string>
2323

24+
namespace autoware
25+
{
2426
namespace behavior_velocity_planner
2527
{
2628

@@ -50,3 +52,4 @@ bool TemplateModule::modifyPathVelocity(
5052
}
5153

5254
} // namespace behavior_velocity_planner
55+
} // namespace autoware

planning/behavior_velocity_template_module/src/scene.hpp

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
#include <utility>
2222
#include <vector>
2323

24+
namespace autoware
25+
{
2426
namespace behavior_velocity_planner
2527
{
2628
using autoware_auto_planning_msgs::msg::PathWithLaneId;
@@ -65,5 +67,6 @@ class TemplateModule : public SceneModuleInterface
6567
};
6668

6769
} // namespace behavior_velocity_planner
70+
} // namespace autoware
6871

6972
#endif // SCENE_HPP_

0 commit comments

Comments
 (0)