File tree 13 files changed +27
-23
lines changed
autoware_behavior_velocity_planner
autoware_behavior_velocity_template_module
behavior_velocity_template_module
13 files changed +27
-23
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,7 @@ perception/traffic_light_occlusion_predictor/** shunsuke.miura@tier4.jp tao.zhon
147
147
perception /traffic_light_visualization /** tao.zhong@tier4.jp yukihiro.saito@tier4.jp
148
148
planning /autoware_behavior_path_external_request_lane_change_module /** fumiya.watanabe@tier4.jp kosuke.takeuchi@tier4.jp shumpei.wakabayashi@tier4.jp tomohito.ando@tier4.jp tomoya.kimura@tier4.jp zulfaqar.azmi@tier4.jp
149
149
planning /autoware_behavior_velocity_planner /** kosuke.takeuchi@tier4.jp kyoichi.sugahara@tier4.jp makoto.kurihara@tier4.jp mamoru.sobue@tier4.jp maxime.clement@tier4.jp satoshi.ota@tier4.jp shumpei.wakabayashi@tier4.jp taiki.tanaka@tier4.jp takayuki.murooka@tier4.jp tomohito.ando@tier4.jp tomoya.kimura@tier4.jp
150
+ planning /autoware_behavior_velocity_template_module /** daniel.sanchez@tier4.jp
150
151
planning /autoware_planning_test_manager /** kyoichi.sugahara@tier4.jp takamasa.horibe@tier4.jp
151
152
planning /autoware_remaining_distance_time_calculator /** ahmed.ebrahim@leodrive.ai
152
153
planning /autoware_static_centerline_generator /** kosuke.takeuchi@tier4.jp takayuki.murooka@tier4.jp
@@ -173,7 +174,6 @@ planning/behavior_velocity_planner_common/** fumiya.watanabe@tier4.jp isamu.taka
173
174
planning /behavior_velocity_run_out_module /** kosuke.takeuchi@tier4.jp makoto.kurihara@tier4.jp shumpei.wakabayashi@tier4.jp takayuki.murooka@tier4.jp tomohito.ando@tier4.jp tomoya.kimura@tier4.jp
174
175
planning /behavior_velocity_speed_bump_module /** mdogru@leodrive.ai shumpei.wakabayashi@tier4.jp tomoya.kimura@tier4.jp
175
176
planning /behavior_velocity_stop_line_module /** fumiya.watanabe@tier4.jp shumpei.wakabayashi@tier4.jp tomoya.kimura@tier4.jp zhe.shen@tier4.jp
176
- planning /behavior_velocity_template_module /** daniel.sanchez@tier4.jp
177
177
planning /behavior_velocity_traffic_light_module /** mamoru.sobue@tier4.jp satoshi.ota@tier4.jp shumpei.wakabayashi@tier4.jp tomoya.kimura@tier4.jp
178
178
planning /behavior_velocity_virtual_traffic_light_module /** kosuke.takeuchi@tier4.jp shumpei.wakabayashi@tier4.jp tomoya.kimura@tier4.jp
179
179
planning /behavior_velocity_walkway_module /** satoshi.ota@tier4.jp shumpei.wakabayashi@tier4.jp takayuki.murooka@tier4.jp tomoya.kimura@tier4.jp
Original file line number Diff line number Diff line change 19
19
- 'Start Planner': planning/behavior_path_start_planner_module
20
20
- 'Behavior Velocity Planner':
21
21
- 'About Behavior Velocity': planning/autoware_behavior_velocity_planner
22
- - 'Template for Custom Module': planning/behavior_velocity_template_module
22
+ - 'Template for Custom Module': planning/autoware_behavior_velocity_template_module
23
23
- 'Available Module':
24
24
- 'Blind Spot': planning/behavior_velocity_blind_spot_module
25
25
- 'Crosswalk': planning/behavior_velocity_crosswalk_module
Original file line number Diff line number Diff line change 80
80
<test_depend >behavior_velocity_traffic_light_module</test_depend >
81
81
<test_depend >behavior_velocity_virtual_traffic_light_module</test_depend >
82
82
<test_depend >behavior_velocity_walkway_module</test_depend >
83
- <!-- <test_depend>behavior_velocity_template_module </test_depend>-->
83
+ <!-- <test_depend>autoware_behavior_velocity_template_module </test_depend>-->
84
84
85
85
<member_of_group >rosidl_interface_packages</member_of_group >
86
86
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.14)
2
- project (behavior_velocity_template_module )
2
+ project (autoware_behavior_velocity_template_module )
3
3
4
4
find_package (autoware_cmake REQUIRED)
5
5
autoware_package()
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ The managing of your modules is defined in manager.hpp and manager.cpp. The mana
41
41
#### Constructor ` TemplateModuleManager `
42
42
43
43
- This is the constructor of the ` TemplateModuleManager ` class, and it takes an ` rclcpp::Node ` reference as a parameter.
44
- - It initializes a member variable ` dummy_parameter ` to 0.0.
44
+ - It initializes a member variable ` dummy_parameter_ ` to 0.0.
45
45
46
46
#### ` getModuleName() ` Method
47
47
File renamed without changes.
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_template_module </name >
4
+ <name >autoware_behavior_velocity_template_module </name >
5
5
<version >0.1.0</version >
6
- <description >The behavior_velocity_template_module package</description >
6
+ <description >The autoware_behavior_velocity_template_module package</description >
7
7
8
8
<maintainer email =" daniel.sanchez@tier4.jp" >Daniel Sanchez</maintainer >
9
9
Original file line number Diff line number Diff line change
1
+ <library path =" autoware_behavior_velocity_template_module" >
2
+ <class type =" autoware::behavior_velocity_planner::TemplateModulePlugin" base_class_type =" autoware::behavior_velocity_planner::PluginInterface" />
3
+ </library >
Original file line number Diff line number Diff line change 26
26
#include < utility>
27
27
#include < vector>
28
28
29
- namespace behavior_velocity_planner
29
+ namespace autoware :: behavior_velocity_planner
30
30
{
31
31
using tier4_autoware_utils::getOrDeclareParameter;
32
32
33
33
TemplateModuleManager::TemplateModuleManager (rclcpp::Node & node)
34
34
: SceneModuleManagerInterface(node, getModuleName())
35
35
{
36
36
std::string ns (getModuleName ());
37
- dummy_parameter = getOrDeclareParameter<double >(node, ns + " .dummy" );
37
+ dummy_parameter_ = getOrDeclareParameter<double >(node, ns + " .dummy" );
38
38
}
39
39
40
40
void TemplateModuleManager::launchNewModules (
@@ -56,8 +56,9 @@ TemplateModuleManager::getModuleExpiredFunction(
56
56
};
57
57
}
58
58
59
- } // namespace behavior_velocity_planner
59
+ } // namespace autoware:: behavior_velocity_planner
60
60
61
61
#include < pluginlib/class_list_macros.hpp>
62
62
PLUGINLIB_EXPORT_CLASS (
63
- behavior_velocity_planner::TemplateModulePlugin, behavior_velocity_planner::PluginInterface)
63
+ autoware::behavior_velocity_planner::TemplateModulePlugin,
64
+ behavior_velocity_planner::PluginInterface)
Original file line number Diff line number Diff line change 27
27
#include < functional>
28
28
#include < memory>
29
29
30
- namespace behavior_velocity_planner
30
+ namespace autoware :: behavior_velocity_planner
31
31
{
32
32
/* *
33
33
* @brief Constructor for the TemplateModuleManager class.
@@ -37,7 +37,7 @@ namespace behavior_velocity_planner
37
37
*
38
38
* @param node A reference to the ROS node.
39
39
*/
40
- class TemplateModuleManager : public SceneModuleManagerInterface
40
+ class TemplateModuleManager : public ::behavior_velocity_planner:: SceneModuleManagerInterface
41
41
{
42
42
public:
43
43
explicit TemplateModuleManager (rclcpp::Node & node);
@@ -53,7 +53,7 @@ class TemplateModuleManager : public SceneModuleManagerInterface
53
53
const char * getModuleName () override { return " template" ; }
54
54
55
55
private:
56
- double dummy_parameter {0.0 };
56
+ double dummy_parameter_ {0.0 };
57
57
58
58
/* *
59
59
* @brief Launch new modules based on the provided path.
@@ -84,10 +84,11 @@ class TemplateModuleManager : public SceneModuleManagerInterface
84
84
* The TemplateModulePlugin class is used to integrate the TemplateModuleManager into the Behavior
85
85
* Velocity Planner.
86
86
*/
87
- class TemplateModulePlugin : public PluginWrapper <TemplateModuleManager>
87
+ class TemplateModulePlugin
88
+ : public ::behavior_velocity_planner::PluginWrapper<TemplateModuleManager>
88
89
{
89
90
};
90
91
91
- } // namespace behavior_velocity_planner
92
+ } // namespace autoware:: behavior_velocity_planner
92
93
93
94
#endif // MANAGER_HPP_
Original file line number Diff line number Diff line change 21
21
22
22
#include < string>
23
23
24
- namespace behavior_velocity_planner
24
+ namespace autoware :: behavior_velocity_planner
25
25
{
26
26
27
27
TemplateModule::TemplateModule (
@@ -49,4 +49,4 @@ bool TemplateModule::modifyPathVelocity(
49
49
return false ;
50
50
}
51
51
52
- } // namespace behavior_velocity_planner
52
+ } // namespace autoware:: behavior_velocity_planner
Original file line number Diff line number Diff line change 21
21
#include < utility>
22
22
#include < vector>
23
23
24
- namespace behavior_velocity_planner
24
+ namespace autoware :: behavior_velocity_planner
25
25
{
26
26
using autoware_auto_planning_msgs::msg::PathWithLaneId;
27
+ using ::behavior_velocity_planner::SceneModuleInterface;
28
+ using ::behavior_velocity_planner::StopReason;
27
29
28
30
class TemplateModule : public SceneModuleInterface
29
31
{
@@ -64,6 +66,6 @@ class TemplateModule : public SceneModuleInterface
64
66
motion_utils::VirtualWalls createVirtualWalls () override ;
65
67
};
66
68
67
- } // namespace behavior_velocity_planner
69
+ } // namespace autoware:: behavior_velocity_planner
68
70
69
71
#endif // SCENE_HPP_
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments