From 97933129e173e8fa4c5a720f1d129aa194a695bd Mon Sep 17 00:00:00 2001 From: Ar-Ray-code Date: Mon, 27 Nov 2023 21:34:14 +0900 Subject: [PATCH] reaname plugin --- panel_detector_plugins/CMakeLists.txt | 2 +- .../{publish_center.hpp => publish_center_plugin.hpp} | 0 .../src/{publish_center.cpp => publish_center_plugin.cpp} | 2 +- .../{test_publish_center.cpp => test_publish_center_plugin.cpp} | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename panel_detector_plugins/include/panel_detector_plugins/{publish_center.hpp => publish_center_plugin.hpp} (100%) rename panel_detector_plugins/src/{publish_center.cpp => publish_center_plugin.cpp} (90%) rename panel_detector_plugins/test/src/{test_publish_center.cpp => test_publish_center_plugin.cpp} (94%) diff --git a/panel_detector_plugins/CMakeLists.txt b/panel_detector_plugins/CMakeLists.txt index 6d97c33..c830763 100644 --- a/panel_detector_plugins/CMakeLists.txt +++ b/panel_detector_plugins/CMakeLists.txt @@ -25,7 +25,7 @@ if(BUILD_TESTING) find_package(ament_cmake_gmock REQUIRED) set(TEST_TARGETS - test_publish_center) + test_publish_center_plugin) foreach(TARGET ${TEST_TARGETS}) ament_add_gtest(${TARGET} test/src/${TARGET}.cpp) target_link_libraries(${TARGET} ${PROJECT_NAME} ${OpenCV_LIBRARIES}) diff --git a/panel_detector_plugins/include/panel_detector_plugins/publish_center.hpp b/panel_detector_plugins/include/panel_detector_plugins/publish_center_plugin.hpp similarity index 100% rename from panel_detector_plugins/include/panel_detector_plugins/publish_center.hpp rename to panel_detector_plugins/include/panel_detector_plugins/publish_center_plugin.hpp diff --git a/panel_detector_plugins/src/publish_center.cpp b/panel_detector_plugins/src/publish_center_plugin.cpp similarity index 90% rename from panel_detector_plugins/src/publish_center.cpp rename to panel_detector_plugins/src/publish_center_plugin.cpp index 3cb045a..7a848f1 100644 --- a/panel_detector_plugins/src/publish_center.cpp +++ b/panel_detector_plugins/src/publish_center_plugin.cpp @@ -1,4 +1,4 @@ -#include "panel_detector_plugins/publish_center.hpp" +#include "panel_detector_plugins/publish_center_plugin.hpp" namespace panel_detector_plugins { diff --git a/panel_detector_plugins/test/src/test_publish_center.cpp b/panel_detector_plugins/test/src/test_publish_center_plugin.cpp similarity index 94% rename from panel_detector_plugins/test/src/test_publish_center.cpp rename to panel_detector_plugins/test/src/test_publish_center_plugin.cpp index 77268a2..f632046 100644 --- a/panel_detector_plugins/test/src/test_publish_center.cpp +++ b/panel_detector_plugins/test/src/test_publish_center_plugin.cpp @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include class TestPanelDetectorClass : public ::testing::Test