Skip to content

Commit 471c870

Browse files
committed
refactor: update namespace and directory structure for detection_by_tracker node
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
1 parent 30e2e6a commit 471c870

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

perception/detection_by_tracker/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ include_directories(
2424
)
2525

2626
ament_auto_add_library(${PROJECT_NAME} SHARED
27-
src/node/detection_by_tracker_node.cpp
27+
src/detection_by_tracker_node.cpp
2828
src/tracker/tracker_handler.cpp
2929
)
3030

perception/detection_by_tracker/src/tool/debugger.hpp perception/detection_by_tracker/src/debugger/debugger.hpp

+3-3
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 TOOL__DEBUGGER_HPP_
16-
#define TOOL__DEBUGGER_HPP_
15+
#ifndef DEBUGGER__DEBUGGER_HPP_
16+
#define DEBUGGER__DEBUGGER_HPP_
1717

1818
#include "autoware/universe_utils/ros/debug_publisher.hpp"
1919
#include "autoware/universe_utils/system/stop_watch.hpp"
@@ -120,4 +120,4 @@ class Debugger
120120
};
121121
} // namespace autoware::detection_by_tracker
122122

123-
#endif // TOOL__DEBUGGER_HPP_
123+
#endif // DEBUGGER__DEBUGGER_HPP_

perception/detection_by_tracker/src/node/detection_by_tracker_node.hpp perception/detection_by_tracker/src/detection_by_tracker_node.hpp

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

15-
#ifndef NODE__DETECTION_BY_TRACKER_NODE_HPP_
16-
#define NODE__DETECTION_BY_TRACKER_NODE_HPP_
15+
#ifndef DETECTION_BY_TRACKER_NODE_HPP_
16+
#define DETECTION_BY_TRACKER_NODE_HPP_
1717

18-
#include "../tool/debugger.hpp"
19-
#include "../tool/utils.hpp"
20-
#include "../tracker/tracker_handler.hpp"
2118
#include "autoware/shape_estimation/shape_estimator.hpp"
2219
#include "autoware/universe_utils/ros/published_time_publisher.hpp"
20+
#include "debugger/debugger.hpp"
2321
#include "euclidean_cluster/euclidean_cluster.hpp"
2422
#include "euclidean_cluster/utils.hpp"
2523
#include "euclidean_cluster/voxel_grid_based_euclidean_cluster.hpp"
24+
#include "tracker/tracker_handler.hpp"
25+
#include "utils/utils.hpp"
2626

2727
#include <rclcpp/rclcpp.hpp>
2828

@@ -102,4 +102,4 @@ class DetectionByTracker : public rclcpp::Node
102102
};
103103
} // namespace autoware::detection_by_tracker
104104

105-
#endif // NODE__DETECTION_BY_TRACKER_NODE_HPP_
105+
#endif // DETECTION_BY_TRACKER_NODE_HPP_

perception/detection_by_tracker/src/tool/utils.hpp perception/detection_by_tracker/src/utils/utils.hpp

+3-3
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 TOOL__UTILS_HPP_
16-
#define TOOL__UTILS_HPP_
15+
#ifndef UTILS__UTILS_HPP_
16+
#define UTILS__UTILS_HPP_
1717

1818
#include "autoware_perception_msgs/msg/object_classification.hpp"
1919

@@ -47,4 +47,4 @@ struct TrackerIgnoreLabel
4747
} // namespace utils
4848
} // namespace autoware::detection_by_tracker
4949

50-
#endif // TOOL__UTILS_HPP_
50+
#endif // UTILS__UTILS_HPP_

0 commit comments

Comments
 (0)