File tree 8 files changed +23
-11
lines changed
planning/behavior_velocity_planner
8 files changed +23
-11
lines changed Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.14)
2
- project (behavior_velocity_planner )
2
+ project (autoware_behavior_velocity_planner )
3
3
4
4
find_package (autoware_cmake REQUIRED)
5
5
find_package (rosidl_default_generators REQUIRED)
@@ -19,7 +19,7 @@ ament_auto_add_library(${PROJECT_NAME}_lib SHARED
19
19
)
20
20
21
21
rclcpp_components_register_node(${PROJECT_NAME} _lib
22
- PLUGIN "behavior_velocity_planner::BehaviorVelocityPlannerNode"
22
+ PLUGIN "autoware:: behavior_velocity_planner::BehaviorVelocityPlannerNode"
23
23
EXECUTABLE ${PROJECT_NAME} _node
24
24
)
25
25
Original file line number Diff line number Diff line change 30
30
<!-- <arg name="behavior_velocity_planner_template_module_param_path"/> -->
31
31
<arg name =" behavior_velocity_planner_param_file" default =" $(find-pkg-share behavior_velocity_planner)/config/behavior_velocity_planner.param.yaml" />
32
32
33
- <node pkg =" behavior_velocity_planner " exec =" behavior_velocity_planner_node " name =" behavior_velocity_planner" output =" screen" >
33
+ <node pkg =" autoware_behavior_velocity_planner " exec =" autoware_behavior_velocity_planner_node " name =" behavior_velocity_planner" output =" screen" >
34
34
<!-- topic remap -->
35
35
<remap from =" ~/input/path_with_lane_id" to =" path_with_lane_id" />
36
36
<remap from =" ~/input/vector_map" to =" /map/vector_map" />
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
2
<?xml-model href =" http://download.ros.org/schema/package_format3.xsd" schematypens =" http://www.w3.org/2001/XMLSchema" ?>
3
3
<package format =" 3" >
4
- <name >behavior_velocity_planner </name >
4
+ <name >autoware_behavior_velocity_planner </name >
5
5
<version >0.1.0</version >
6
- <description >The behavior_velocity_planner package</description >
6
+ <description >The autoware_behavior_velocity_planner package</description >
7
7
8
8
<maintainer email =" mamoru.sobue@tier4.jp" >Mamoru Sobue</maintainer >
9
9
<maintainer email =" takayuki.murooka@tier4.jp" >Takayuki Murooka</maintainer >
Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ rclcpp::SubscriptionOptions createSubscriptionOptions(rclcpp::Node * node_ptr)
52
52
}
53
53
} // namespace
54
54
55
+ namespace autoware
56
+ {
55
57
namespace behavior_velocity_planner
56
58
{
57
59
namespace
@@ -476,6 +478,7 @@ void BehaviorVelocityPlannerNode::publishDebugMarker(
476
478
debug_viz_pub_->publish (output_msg);
477
479
}
478
480
} // namespace behavior_velocity_planner
481
+ } // namespace autoware
479
482
480
483
#include < rclcpp_components/register_node_macro.hpp>
481
- RCLCPP_COMPONENTS_REGISTER_NODE (behavior_velocity_planner::BehaviorVelocityPlannerNode)
484
+ RCLCPP_COMPONENTS_REGISTER_NODE (autoware:: behavior_velocity_planner::BehaviorVelocityPlannerNode)
Original file line number Diff line number Diff line change 44
44
#include < string>
45
45
#include < vector>
46
46
47
+ namespace autoware
48
+ {
47
49
namespace behavior_velocity_planner
48
50
{
49
51
using autoware_auto_mapping_msgs::msg::HADMapBin;
50
- using behavior_velocity_planner::srv::LoadPlugin;
51
- using behavior_velocity_planner::srv::UnloadPlugin;
52
+ using autoware:: behavior_velocity_planner::srv::LoadPlugin;
53
+ using autoware:: behavior_velocity_planner::srv::UnloadPlugin;
52
54
using tier4_planning_msgs::msg::VelocityLimit;
53
55
54
56
class BehaviorVelocityPlannerNode : public rclcpp ::Node
@@ -135,5 +137,6 @@ class BehaviorVelocityPlannerNode : public rclcpp::Node
135
137
std::unique_ptr<tier4_autoware_utils::PublishedTimePublisher> published_time_publisher_;
136
138
};
137
139
} // namespace behavior_velocity_planner
140
+ } // namespace autoware
138
141
139
142
#endif // NODE_HPP_
Original file line number Diff line number Diff line change 19
19
#include < memory>
20
20
#include < string>
21
21
22
+ namespace autoware
23
+ {
22
24
namespace behavior_velocity_planner
23
25
{
24
26
namespace
@@ -50,7 +52,7 @@ diagnostic_msgs::msg::DiagnosticStatus makeStopReasonDiag(
50
52
} // namespace
51
53
52
54
BehaviorVelocityPlannerManager::BehaviorVelocityPlannerManager ()
53
- : plugin_loader_(" behavior_velocity_planner" , " behavior_velocity_planner::PluginInterface" )
55
+ : plugin_loader_(" behavior_velocity_planner" , " autoware:: behavior_velocity_planner::PluginInterface" )
54
56
{
55
57
}
56
58
@@ -82,7 +84,7 @@ void BehaviorVelocityPlannerManager::removeScenePlugin(
82
84
{
83
85
auto it = std::remove_if (
84
86
scene_manager_plugins_.begin (), scene_manager_plugins_.end (),
85
- [&](const std::shared_ptr<behavior_velocity_planner::PluginInterface> plugin) {
87
+ [&](const std::shared_ptr<autoware:: behavior_velocity_planner::PluginInterface> plugin) {
86
88
return plugin->getModuleName () == name;
87
89
});
88
90
@@ -129,3 +131,4 @@ diagnostic_msgs::msg::DiagnosticStatus BehaviorVelocityPlannerManager::getStopRe
129
131
return stop_reason_diag_;
130
132
}
131
133
} // namespace behavior_velocity_planner
134
+ } // namespace autoware
Original file line number Diff line number Diff line change 36
36
#include < string>
37
37
#include < vector>
38
38
39
+ namespace autoware
40
+ {
39
41
namespace behavior_velocity_planner
40
42
{
41
43
class BehaviorVelocityPlannerManager
@@ -57,5 +59,6 @@ class BehaviorVelocityPlannerManager
57
59
std::vector<std::shared_ptr<PluginInterface>> scene_manager_plugins_;
58
60
};
59
61
} // namespace behavior_velocity_planner
62
+ } // namespace autoware
60
63
61
64
#endif // PLANNER_MANAGER_HPP_
Original file line number Diff line number Diff line change 23
23
#include < cmath>
24
24
#include < vector>
25
25
26
- using behavior_velocity_planner::BehaviorVelocityPlannerNode;
26
+ using autoware:: behavior_velocity_planner::BehaviorVelocityPlannerNode;
27
27
using planning_test_utils::PlanningInterfaceTestManager;
28
28
29
29
std::shared_ptr<PlanningInterfaceTestManager> generateTestManager ()
You can’t perform that action at this time.
0 commit comments