Skip to content

Commit e274b34

Browse files
committed
build(autoware_behavior_velocity_planner): fix namespace
Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
1 parent d275517 commit e274b34

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

planning/behavior_velocity_planner/src/node.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -436,14 +436,14 @@ autoware_auto_planning_msgs::msg::Path BehaviorVelocityPlannerNode::generatePath
436436
std::make_shared<const PlannerData>(planner_data), *input_path_msg);
437437

438438
// screening
439-
const auto filtered_path = filterLitterPathPoint(to_path(velocity_planned_path));
439+
const auto filtered_path = ::behavior_velocity_planner::filterLitterPathPoint(to_path(velocity_planned_path));
440440

441441
// interpolation
442442
const auto interpolated_path_msg =
443-
interpolatePath(filtered_path, forward_path_length_, behavior_output_path_interval_);
443+
::behavior_velocity_planner::interpolatePath(filtered_path, forward_path_length_, behavior_output_path_interval_);
444444

445445
// check stop point
446-
output_path_msg = filterStopPathPoint(interpolated_path_msg);
446+
output_path_msg = ::behavior_velocity_planner::filterStopPathPoint(interpolated_path_msg);
447447

448448
output_path_msg.header.frame_id = "map";
449449
output_path_msg.header.stamp = this->now();

planning/behavior_velocity_planner/src/node.hpp

+6-4
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
#include "planner_manager.hpp"
1919
#include "tier4_autoware_utils/ros/logger_level_configure.hpp"
2020

21-
#include <behavior_velocity_planner/srv/load_plugin.hpp>
22-
#include <behavior_velocity_planner/srv/unload_plugin.hpp>
21+
#include <autoware_behavior_velocity_planner/srv/load_plugin.hpp>
22+
#include <autoware_behavior_velocity_planner/srv/unload_plugin.hpp>
2323
#include <behavior_velocity_planner_common/planner_data.hpp>
2424
#include <rclcpp/rclcpp.hpp>
2525
#include <tier4_autoware_utils/ros/published_time_publisher.hpp>
@@ -48,10 +48,12 @@ namespace autoware
4848
{
4949
namespace behavior_velocity_planner
5050
{
51-
using autoware::behavior_velocity_planner::srv::LoadPlugin;
52-
using autoware::behavior_velocity_planner::srv::UnloadPlugin;
5351
using autoware_auto_mapping_msgs::msg::HADMapBin;
5452
using tier4_planning_msgs::msg::VelocityLimit;
53+
using ::behavior_velocity_planner::PlannerData;
54+
using autoware_behavior_velocity_planner::srv::LoadPlugin;
55+
using autoware_behavior_velocity_planner::srv::UnloadPlugin;
56+
using ::behavior_velocity_planner::TrafficSignalStamped;
5557

5658
class BehaviorVelocityPlannerNode : public rclcpp::Node
5759
{

planning/behavior_velocity_planner/src/planner_manager.hpp

+3
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ namespace autoware
4040
{
4141
namespace behavior_velocity_planner
4242
{
43+
using ::behavior_velocity_planner::PlannerData;
44+
using ::behavior_velocity_planner::PluginInterface;
45+
4346
class BehaviorVelocityPlannerManager
4447
{
4548
public:

0 commit comments

Comments
 (0)