From 3383e0cb88914720afe4b3e1586d5e7600ef257b Mon Sep 17 00:00:00 2001 From: Yuki Takagi Date: Fri, 7 Jun 2024 19:37:49 +0900 Subject: [PATCH] fix Signed-off-by: Yuki Takagi --- vehicle/autoware_external_cmd_converter/CMakeLists.txt | 2 +- .../include/external_cmd_converter/node.hpp | 2 +- .../launch/external_cmd_converter.launch.py | 2 +- vehicle/autoware_external_cmd_converter/src/node.cpp | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/vehicle/autoware_external_cmd_converter/CMakeLists.txt b/vehicle/autoware_external_cmd_converter/CMakeLists.txt index 4ea0786128235..27a256ea775c5 100644 --- a/vehicle/autoware_external_cmd_converter/CMakeLists.txt +++ b/vehicle/autoware_external_cmd_converter/CMakeLists.txt @@ -9,7 +9,7 @@ ament_auto_add_library(autoware_external_cmd_converter SHARED ) rclcpp_components_register_node(autoware_external_cmd_converter - PLUGIN "autoware_external_cmd_converter::ExternalCmdConverterNode" + PLUGIN "autoware::external_cmd_converter::ExternalCmdConverterNode" EXECUTABLE external_cmd_converter_node ) diff --git a/vehicle/autoware_external_cmd_converter/include/external_cmd_converter/node.hpp b/vehicle/autoware_external_cmd_converter/include/external_cmd_converter/node.hpp index f0ad4ddff598d..23bad7312f262 100644 --- a/vehicle/autoware_external_cmd_converter/include/external_cmd_converter/node.hpp +++ b/vehicle/autoware_external_cmd_converter/include/external_cmd_converter/node.hpp @@ -30,7 +30,7 @@ #include #include -namespace autoware_external_cmd_converter +namespace autoware::external_cmd_converter { using GearCommand = autoware_vehicle_msgs::msg::GearCommand; using Control = autoware_control_msgs::msg::Control; diff --git a/vehicle/autoware_external_cmd_converter/launch/external_cmd_converter.launch.py b/vehicle/autoware_external_cmd_converter/launch/external_cmd_converter.launch.py index 95c5cd8f2159f..3ad308a1413ff 100644 --- a/vehicle/autoware_external_cmd_converter/launch/external_cmd_converter.launch.py +++ b/vehicle/autoware_external_cmd_converter/launch/external_cmd_converter.launch.py @@ -106,7 +106,7 @@ def generate_launch_description(): component = ComposableNode( package="autoware_external_cmd_converter", - plugin="autoware_external_cmd_converter::ExternalCmdConverterNode", + plugin="autoware::external_cmd_converter::ExternalCmdConverterNode", name="external_cmd_converter", remappings=[ _create_mapping_tuple("in/external_control_cmd"), diff --git a/vehicle/autoware_external_cmd_converter/src/node.cpp b/vehicle/autoware_external_cmd_converter/src/node.cpp index 8e499e27852b0..c203a27e1fdaa 100644 --- a/vehicle/autoware_external_cmd_converter/src/node.cpp +++ b/vehicle/autoware_external_cmd_converter/src/node.cpp @@ -19,7 +19,7 @@ #include #include -namespace autoware_external_cmd_converter +namespace autoware::external_cmd_converter { ExternalCmdConverterNode::ExternalCmdConverterNode(const rclcpp::NodeOptions & node_options) : Node("external_cmd_converter", node_options) @@ -251,7 +251,7 @@ bool ExternalCmdConverterNode::checkRemoteTopicRate() return true; } -} // namespace autoware_external_cmd_converter +} // namespace autoware::external_cmd_converter #include -RCLCPP_COMPONENTS_REGISTER_NODE(autoware_external_cmd_converter::ExternalCmdConverterNode) +RCLCPP_COMPONENTS_REGISTER_NODE(autoware::external_cmd_converter::ExternalCmdConverterNode)