From 2d6d738a8253cad65ef62fd66753bf7447f18697 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu> Date: Fri, 23 Sep 2022 11:25:31 +0200 Subject: [PATCH] new message for external landmark detection --- CMakeLists.txt | 14 ++++++++++++++ msg/LandmarkDetection.msg | 2 ++ msg/LandmarkDetectionArray.msg | 2 ++ 3 files changed, 18 insertions(+) create mode 100644 msg/LandmarkDetection.msg create mode 100644 msg/LandmarkDetectionArray.msg diff --git a/CMakeLists.txt b/CMakeLists.txt index ab5f0ec..3ca56f0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,11 +15,25 @@ find_package(catkin REQUIRED COMPONENTS tf tf_conversions tf2_ros + message_generation ) ## System dependencies are found with CMake's conventions find_package(wolfcore REQUIRED) +## Generate messages in the 'msg' folder +add_message_files( + FILES + LandmarkDetection.msg + LandmarkDetectionArray.msg +) + +## Generate added messages and services with any dependencies listed here +generate_messages( + DEPENDENCIES + geometry_msgs + std_msgs +) ################################### ## catkin specific configuration ## diff --git a/msg/LandmarkDetection.msg b/msg/LandmarkDetection.msg new file mode 100644 index 0000000..00a6c95 --- /dev/null +++ b/msg/LandmarkDetection.msg @@ -0,0 +1,2 @@ +geometry_msgs/PoseWithCovariance pose +int32 id \ No newline at end of file diff --git a/msg/LandmarkDetectionArray.msg b/msg/LandmarkDetectionArray.msg new file mode 100644 index 0000000..d59391d --- /dev/null +++ b/msg/LandmarkDetectionArray.msg @@ -0,0 +1,2 @@ +Header header +LandmarkDetection[] detections \ No newline at end of file -- GitLab