Skip to content

Commit da5bc79

Browse files
yuki-takagi-66KhalilSelyan
authored and
KhalilSelyan
committed
refactor(crosswalk_traffic_light_estimator)!: add autoware_ prefix (#7365)
* add prefix Signed-off-by: Yuki Takagi <yuki.takagi@tier4.jp>
1 parent bd70cf0 commit da5bc79

File tree

14 files changed

+22
-21
lines changed

14 files changed

+22
-21
lines changed

.github/CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ map/util/lanelet2_map_preprocessor/** anh.nguyen.2@tier4.jp kento.yabuuchi.2@tie
106106
perception/bytetrack/** manato.hirabayashi@tier4.jp yoshi.ri@tier4.jp
107107
perception/cluster_merger/** dai.nguyen@tier4.jp shunsuke.miura@tier4.jp yukihiro.saito@tier4.jp
108108
perception/compare_map_segmentation/** abrahammonrroy@yahoo.com dai.nguyen@tier4.jp yukihiro.saito@tier4.jp
109-
perception/crosswalk_traffic_light_estimator/** satoshi.ota@tier4.jp shunsuke.miura@tier4.jp tao.zhong@tier4.jp
109+
perception/autoware_crosswalk_traffic_light_estimator/** satoshi.ota@tier4.jp shunsuke.miura@tier4.jp tao.zhong@tier4.jp
110110
perception/detected_object_feature_remover/** tomoya.kimura@tier4.jp
111111
perception/detected_object_validation/** dai.nguyen@tier4.jp shintaro.tomie@tier4.jp shunsuke.miura@tier4.jp yoshi.ri@tier4.jp yukihiro.saito@tier4.jp
112112
perception/detection_by_tracker/** taekjin.lee@tier4.jp yoshi.ri@tier4.jp yukihiro.saito@tier4.jp

launch/tier4_perception_launch/launch/traffic_light_recognition/traffic_light.launch.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<arg name="external/traffic_signals" default="/perception/traffic_light_recognition/external/traffic_signals"/>
1818
<arg name="output/traffic_signals" default="/perception/traffic_light_recognition/traffic_signals"/>
1919
<arg name="use_crosswalk_traffic_light_estimator" default="true" description="output pedestrian's traffic light signals"/>
20-
<arg name="crosswalk_traffic_light_estimator_param_file" default="$(find-pkg-share crosswalk_traffic_light_estimator)/config/crosswalk_traffic_light_estimator.param.yaml"/>
20+
<arg name="crosswalk_traffic_light_estimator_param_file" default="$(find-pkg-share autoware_crosswalk_traffic_light_estimator)/config/crosswalk_traffic_light_estimator.param.yaml"/>
2121
<arg name="image_number" default="1" description="choose image raw number(1-2)"/>
2222
<arg name="namespace1" default="camera6"/>
2323
<arg name="namespace2" default="camera7"/>
@@ -158,7 +158,7 @@
158158
</group>
159159

160160
<group if="$(var use_crosswalk_traffic_light_estimator)">
161-
<node pkg="crosswalk_traffic_light_estimator" exec="crosswalk_traffic_light_estimator_node" name="crosswalk_traffic_light_estimator" output="screen">
161+
<node pkg="autoware_crosswalk_traffic_light_estimator" exec="crosswalk_traffic_light_estimator_node" name="crosswalk_traffic_light_estimator" output="screen">
162162
<remap from="~/input/vector_map" to="/map/vector_map"/>
163163
<remap from="~/input/route" to="/planning/mission_planning/route"/>
164164
<remap from="~/input/classified/traffic_signals" to="$(var judged/traffic_signals)"/>

launch/tier4_perception_launch/package.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
<buildtool_depend>ament_cmake_auto</buildtool_depend>
1313
<buildtool_depend>autoware_cmake</buildtool_depend>
1414

15+
<exec_depend>autoware_crosswalk_traffic_light_estimator</exec_depend>
1516
<exec_depend>autoware_map_based_prediction</exec_depend>
1617
<exec_depend>cluster_merger</exec_depend>
1718
<exec_depend>compare_map_segmentation</exec_depend>
18-
<exec_depend>crosswalk_traffic_light_estimator</exec_depend>
1919
<exec_depend>detected_object_feature_remover</exec_depend>
2020
<exec_depend>detected_object_validation</exec_depend>
2121
<exec_depend>detection_by_tracker</exec_depend>

perception/crosswalk_traffic_light_estimator/CMakeLists.txt perception/autoware_crosswalk_traffic_light_estimator/CMakeLists.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.5)
2-
project(crosswalk_traffic_light_estimator)
2+
project(autoware_crosswalk_traffic_light_estimator)
33

44
find_package(autoware_cmake REQUIRED)
55
autoware_package()
@@ -10,12 +10,12 @@ autoware_package()
1010

1111
include_directories()
1212

13-
ament_auto_add_library(crosswalk_traffic_light_estimator SHARED
13+
ament_auto_add_library(autoware_crosswalk_traffic_light_estimator SHARED
1414
src/node.cpp
1515
)
1616

17-
rclcpp_components_register_node(crosswalk_traffic_light_estimator
18-
PLUGIN "traffic_light::CrosswalkTrafficLightEstimatorNode"
17+
rclcpp_components_register_node(autoware_crosswalk_traffic_light_estimator
18+
PLUGIN "autoware::crosswalk_traffic_light_estimator::CrosswalkTrafficLightEstimatorNode"
1919
EXECUTABLE crosswalk_traffic_light_estimator_node
2020
)
2121

perception/crosswalk_traffic_light_estimator/include/crosswalk_traffic_light_estimator/node.hpp perception/autoware_crosswalk_traffic_light_estimator/include/autoware_crosswalk_traffic_light_estimator/node.hpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef CROSSWALK_TRAFFIC_LIGHT_ESTIMATOR__NODE_HPP_
16-
#define CROSSWALK_TRAFFIC_LIGHT_ESTIMATOR__NODE_HPP_
15+
#ifndef AUTOWARE_CROSSWALK_TRAFFIC_LIGHT_ESTIMATOR__NODE_HPP_
16+
#define AUTOWARE_CROSSWALK_TRAFFIC_LIGHT_ESTIMATOR__NODE_HPP_
1717

1818
#include <rclcpp/rclcpp.hpp>
1919
#include <tier4_autoware_utils/ros/debug_publisher.hpp>
@@ -36,7 +36,7 @@
3636
#include <unordered_map>
3737
#include <utility>
3838
#include <vector>
39-
namespace traffic_light
39+
namespace autoware::crosswalk_traffic_light_estimator
4040
{
4141

4242
using autoware_map_msgs::msg::LaneletMapBin;
@@ -117,6 +117,6 @@ class CrosswalkTrafficLightEstimatorNode : public rclcpp::Node
117117
std::shared_ptr<DebugPublisher> pub_processing_time_;
118118
};
119119

120-
} // namespace traffic_light
120+
} // namespace autoware::crosswalk_traffic_light_estimator
121121

122-
#endif // CROSSWALK_TRAFFIC_LIGHT_ESTIMATOR__NODE_HPP_
122+
#endif // AUTOWARE_CROSSWALK_TRAFFIC_LIGHT_ESTIMATOR__NODE_HPP_

perception/crosswalk_traffic_light_estimator/launch/crosswalk_traffic_light_estimator.launch.xml perception/autoware_crosswalk_traffic_light_estimator/launch/crosswalk_traffic_light_estimator.launch.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
limitations under the License.
1212
-->
1313
<launch>
14-
<arg name="crosswalk_traffic_light_estimator_param_file" default="$(find-pkg-share crosswalk_traffic_light_estimator)/config/crosswalk_traffic_light_estimator.param.yaml"/>
14+
<arg name="crosswalk_traffic_light_estimator_param_file" default="$(find-pkg-share autoware_crosswalk_traffic_light_estimator)/config/crosswalk_traffic_light_estimator.param.yaml"/>
1515

16-
<node pkg="crosswalk_traffic_light_estimator" exec="crosswalk_traffic_light_estimator_node" name="crosswalk_traffic_light_estimator" output="screen">
16+
<node pkg="autoware_crosswalk_traffic_light_estimator" exec="crosswalk_traffic_light_estimator_node" name="crosswalk_traffic_light_estimator" output="screen">
1717
<remap from="~/input/vector_map" to="/map/vector_map"/>
1818
<remap from="~/input/route" to="/planning/mission_planning/route"/>
1919
<remap from="~/input/classified/traffic_signals" to="classified/traffic_signals"/>

perception/crosswalk_traffic_light_estimator/package.xml perception/autoware_crosswalk_traffic_light_estimator/package.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0"?>
22
<package format="2">
3-
<name>crosswalk_traffic_light_estimator</name>
3+
<name>autoware_crosswalk_traffic_light_estimator</name>
44
<version>0.1.0</version>
5-
<description>The crosswalk_traffic_light_estimator package</description>
5+
<description>The autoware_crosswalk_traffic_light_estimator package</description>
66

77
<maintainer email="satoshi.ota@tier4.jp">Satoshi Ota</maintainer>
88
<maintainer email="shunsuke.miura@tier4.jp">Shunsuke Miura</maintainer>

perception/crosswalk_traffic_light_estimator/src/node.cpp perception/autoware_crosswalk_traffic_light_estimator/src/node.cpp

+5-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14-
#include "crosswalk_traffic_light_estimator/node.hpp"
14+
#include "autoware_crosswalk_traffic_light_estimator/node.hpp"
1515

1616
#include <lanelet2_extension/regulatory_elements/Forward.hpp>
1717
#include <lanelet2_extension/utility/message_conversion.hpp>
@@ -21,7 +21,7 @@
2121
#include <utility>
2222
#include <vector>
2323

24-
namespace traffic_light
24+
namespace autoware::crosswalk_traffic_light_estimator
2525
{
2626
namespace
2727
{
@@ -538,8 +538,9 @@ void CrosswalkTrafficLightEstimatorNode::removeDuplicateIds(TrafficSignalArray &
538538
signals.end());
539539
}
540540

541-
} // namespace traffic_light
541+
} // namespace autoware::crosswalk_traffic_light_estimator
542542

543543
#include <rclcpp_components/register_node_macro.hpp>
544544

545-
RCLCPP_COMPONENTS_REGISTER_NODE(traffic_light::CrosswalkTrafficLightEstimatorNode)
545+
RCLCPP_COMPONENTS_REGISTER_NODE(
546+
autoware::crosswalk_traffic_light_estimator::CrosswalkTrafficLightEstimatorNode)

0 commit comments

Comments
 (0)