diff --git a/planning/behavior_velocity_template_module/src/scene.cpp b/planning/behavior_velocity_template_module/src/scene.cpp index df4054e4d0112..ce78faad95c15 100644 --- a/planning/behavior_velocity_template_module/src/scene.cpp +++ b/planning/behavior_velocity_template_module/src/scene.cpp @@ -26,6 +26,8 @@ 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 99a00963d665d..70ce6fe8a5ebc 100644 --- a/planning/behavior_velocity_template_module/src/scene.hpp +++ b/planning/behavior_velocity_template_module/src/scene.hpp @@ -26,6 +26,7 @@ namespace autoware namespace behavior_velocity_planner { using autoware_auto_planning_msgs::msg::PathWithLaneId; +using ::behavior_path_planner::StopReason; class TemplateModule : public SceneModuleInterface {