Skip to content

Commit 4307fc1

Browse files
committed
build(autoware_behavior_velocity_template_module): fix namespace
Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
1 parent 315df87 commit 4307fc1

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

planning/behavior_velocity_template_module/src/manager.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ namespace behavior_velocity_planner
3939
*
4040
* @param node A reference to the ROS node.
4141
*/
42-
class TemplateModuleManager : public SceneModuleManagerInterface
42+
class TemplateModuleManager : public ::behavior_velocity_planner::SceneModuleManagerInterface
4343
{
4444
public:
4545
explicit TemplateModuleManager(rclcpp::Node & node);
@@ -86,7 +86,7 @@ class TemplateModuleManager : public SceneModuleManagerInterface
8686
* The TemplateModulePlugin class is used to integrate the TemplateModuleManager into the Behavior
8787
* Velocity Planner.
8888
*/
89-
class TemplateModulePlugin : public PluginWrapper<TemplateModuleManager>
89+
class TemplateModulePlugin : public ::behavior_velocity_planner::PluginWrapper<TemplateModuleManager>
9090
{
9191
};
9292

planning/behavior_velocity_template_module/src/scene.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ namespace autoware
2626
namespace behavior_velocity_planner
2727
{
2828

29-
using ::behavior_path_planner::StopReason;
30-
3129
TemplateModule::TemplateModule(
3230
const int64_t module_id, const rclcpp::Logger & logger, const rclcpp::Clock::SharedPtr clock)
3331
: SceneModuleInterface(module_id, logger, clock)

planning/behavior_velocity_template_module/src/scene.hpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ namespace autoware
2626
namespace behavior_velocity_planner
2727
{
2828
using autoware_auto_planning_msgs::msg::PathWithLaneId;
29-
using ::behavior_path_planner::StopReason;
29+
using ::behavior_velocity_planner::StopReason;
30+
using ::behavior_velocity_planner::SceneModuleInterface;
3031

31-
class TemplateModule : public SceneModuleInterface
32+
class TemplateModule : public ::behavior_velocity_planner::SceneModuleInterface
3233
{
3334
public:
3435
TemplateModule(

0 commit comments

Comments
 (0)