From 52581c959c4f86300a46b1540e6c79ca51abf749 Mon Sep 17 00:00:00 2001 From: Taekjin LEE Date: Wed, 26 Jun 2024 11:59:45 +0900 Subject: [PATCH] refactor: move the node header to src Signed-off-by: Taekjin LEE --- .../include/autoware_tracking_object_merger/utils/utils.hpp | 1 - .../src/decorative_tracker_merger_node.cpp | 2 +- .../decorative_tracker_merger_node.hpp | 6 +++--- 3 files changed, 4 insertions(+), 5 deletions(-) rename perception/tracking_object_merger/{include/autoware_tracking_object_merger => src}/decorative_tracker_merger_node.hpp (95%) diff --git a/perception/tracking_object_merger/include/autoware_tracking_object_merger/utils/utils.hpp b/perception/tracking_object_merger/include/autoware_tracking_object_merger/utils/utils.hpp index 7aeeb4ecc04dd..eb288c4e853ad 100644 --- a/perception/tracking_object_merger/include/autoware_tracking_object_merger/utils/utils.hpp +++ b/perception/tracking_object_merger/include/autoware_tracking_object_merger/utils/utils.hpp @@ -17,7 +17,6 @@ #ifndef AUTOWARE_TRACKING_OBJECT_MERGER__UTILS__UTILS_HPP_ #define AUTOWARE_TRACKING_OBJECT_MERGER__UTILS__UTILS_HPP_ -// #include #include "autoware/universe_utils/geometry/geometry.hpp" #include diff --git a/perception/tracking_object_merger/src/decorative_tracker_merger_node.cpp b/perception/tracking_object_merger/src/decorative_tracker_merger_node.cpp index d1f80412afcd2..6f65941c0a747 100644 --- a/perception/tracking_object_merger/src/decorative_tracker_merger_node.cpp +++ b/perception/tracking_object_merger/src/decorative_tracker_merger_node.cpp @@ -14,7 +14,7 @@ #define EIGEN_MPL2_ONLY -#include "autoware_tracking_object_merger/decorative_tracker_merger_node.hpp" +#include "decorative_tracker_merger_node.hpp" #include "autoware_tracking_object_merger/association/solver/ssp.hpp" #include "autoware_tracking_object_merger/utils/utils.hpp" diff --git a/perception/tracking_object_merger/include/autoware_tracking_object_merger/decorative_tracker_merger_node.hpp b/perception/tracking_object_merger/src/decorative_tracker_merger_node.hpp similarity index 95% rename from perception/tracking_object_merger/include/autoware_tracking_object_merger/decorative_tracker_merger_node.hpp rename to perception/tracking_object_merger/src/decorative_tracker_merger_node.hpp index 8aebad913d53e..ae19f51876490 100644 --- a/perception/tracking_object_merger/include/autoware_tracking_object_merger/decorative_tracker_merger_node.hpp +++ b/perception/tracking_object_merger/src/decorative_tracker_merger_node.hpp @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef AUTOWARE_TRACKING_OBJECT_MERGER__DECORATIVE_TRACKER_MERGER_NODE_HPP_ -#define AUTOWARE_TRACKING_OBJECT_MERGER__DECORATIVE_TRACKER_MERGER_NODE_HPP_ +#ifndef DECORATIVE_TRACKER_MERGER_NODE_HPP_ +#define DECORATIVE_TRACKER_MERGER_NODE_HPP_ #include "autoware/universe_utils/ros/debug_publisher.hpp" #include "autoware/universe_utils/ros/published_time_publisher.hpp" @@ -133,4 +133,4 @@ class DecorativeTrackerMergerNode : public rclcpp::Node } // namespace autoware::tracking_object_merger -#endif // AUTOWARE_TRACKING_OBJECT_MERGER__DECORATIVE_TRACKER_MERGER_NODE_HPP_ +#endif // DECORATIVE_TRACKER_MERGER_NODE_HPP_