From 6d717a166dd341bb7b0e04638d89ed3970f66e93 Mon Sep 17 00:00:00 2001
From: Tommy Persson <tommy.persson@liu.se>
Date: Wed, 8 Jun 2022 16:53:44 +0200
Subject: [PATCH] Moving.

---
 CMakeLists.txt              | 2 ++
 msg/UuidCompressedImage.msg | 6 ++++++
 msg/UuidImage.msg           | 8 ++++++++
 3 files changed, 16 insertions(+)
 create mode 100644 msg/UuidCompressedImage.msg
 create mode 100644 msg/UuidImage.msg

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8949c0a..6a6db49 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -251,6 +251,8 @@ add_message_files(
   GestureClassification.msg
   LoopSelCommand.msg
   GimbalInfo.msg
+  UuidImage.msg
+  UuidCompressedImage.msg
 )
 
 ## Generate services in the 'srv' folder
diff --git a/msg/UuidCompressedImage.msg b/msg/UuidCompressedImage.msg
new file mode 100644
index 0000000..792f01a
--- /dev/null
+++ b/msg/UuidCompressedImage.msg
@@ -0,0 +1,6 @@
+std_msgs/Header header  # it's a copy of image's header but is needed for message synchronisation
+string uuid
+string uncompressed_uuid # uuid if the corresponding uncompressed uuid image
+sensor_msgs/CompressedImage image
+
+
diff --git a/msg/UuidImage.msg b/msg/UuidImage.msg
new file mode 100644
index 0000000..d5ad407
--- /dev/null
+++ b/msg/UuidImage.msg
@@ -0,0 +1,8 @@
+# encapsulation of an standard image
+
+std_msgs/Header header  # it's a copy of image's header but is needed for message synchronisation
+string uuid
+string compressed_uuid # corresponding compressed image uuid
+sensor_msgs/Image image
+
+
-- 
GitLab