From b229c5315ae631076f0ac2cd302dbb094ca09fb0 Mon Sep 17 00:00:00 2001 From: Esteve Fernandez Date: Tue, 9 Apr 2024 15:30:52 +0200 Subject: [PATCH] build(autoware_behavior_velocity_template_module): fix namespace Signed-off-by: Esteve Fernandez --- planning/behavior_velocity_template_module/src/manager.hpp | 4 ++-- planning/behavior_velocity_template_module/src/scene.cpp | 2 -- planning/behavior_velocity_template_module/src/scene.hpp | 5 +++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/planning/behavior_velocity_template_module/src/manager.hpp b/planning/behavior_velocity_template_module/src/manager.hpp index 24c437d7c482a..504d8babb3d2c 100644 --- a/planning/behavior_velocity_template_module/src/manager.hpp +++ b/planning/behavior_velocity_template_module/src/manager.hpp @@ -39,7 +39,7 @@ namespace behavior_velocity_planner * * @param node A reference to the ROS node. */ -class TemplateModuleManager : public SceneModuleManagerInterface +class TemplateModuleManager : public ::behavior_velocity_planner::SceneModuleManagerInterface { public: explicit TemplateModuleManager(rclcpp::Node & node); @@ -86,7 +86,7 @@ class TemplateModuleManager : public SceneModuleManagerInterface * The TemplateModulePlugin class is used to integrate the TemplateModuleManager into the Behavior * Velocity Planner. */ -class TemplateModulePlugin : public PluginWrapper +class TemplateModulePlugin : public ::behavior_velocity_planner::PluginWrapper { }; diff --git a/planning/behavior_velocity_template_module/src/scene.cpp b/planning/behavior_velocity_template_module/src/scene.cpp index ce78faad95c15..df4054e4d0112 100644 --- a/planning/behavior_velocity_template_module/src/scene.cpp +++ b/planning/behavior_velocity_template_module/src/scene.cpp @@ -26,8 +26,6 @@ namespace autoware namespace behavior_velocity_planner { -using ::behavior_path_planner::StopReason; - TemplateModule::TemplateModule( const int64_t module_id, const rclcpp::Logger & logger, const rclcpp::Clock::SharedPtr clock) : SceneModuleInterface(module_id, logger, clock) diff --git a/planning/behavior_velocity_template_module/src/scene.hpp b/planning/behavior_velocity_template_module/src/scene.hpp index 70ce6fe8a5ebc..69093b4c461b4 100644 --- a/planning/behavior_velocity_template_module/src/scene.hpp +++ b/planning/behavior_velocity_template_module/src/scene.hpp @@ -26,9 +26,10 @@ namespace autoware namespace behavior_velocity_planner { using autoware_auto_planning_msgs::msg::PathWithLaneId; -using ::behavior_path_planner::StopReason; +using ::behavior_velocity_planner::StopReason; +using ::behavior_velocity_planner::SceneModuleInterface; -class TemplateModule : public SceneModuleInterface +class TemplateModule : public ::behavior_velocity_planner::SceneModuleInterface { public: TemplateModule(