From 81e1eaff9fae76fe4093c18c27a12f6ac2185d68 Mon Sep 17 00:00:00 2001
From: Tommy Persson <@tommy.persson@liu.se>
Date: Mon, 8 Nov 2021 17:06:44 +0100
Subject: [PATCH] Adding messages for gestures

---
 CMakeLists.txt                 | 5 ++++-
 msg/GestureClassification.msg  | 2 ++
 msg/StartGestureClassifier.msg | 2 ++
 msg/StopGestureClassifier.msg  | 1 +
 4 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100644 msg/GestureClassification.msg
 create mode 100644 msg/StartGestureClassifier.msg
 create mode 100644 msg/StopGestureClassifier.msg

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d0e5839..9aa289c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -245,7 +245,10 @@ add_message_files(
   NsGimbalCommand.msg  
   Gimbal.msg  
   NsGimbal.msg
-  GimbalTestCommand.msg    
+  GimbalTestCommand.msg
+  StartGestureClassifier.msg
+  StopGestureClassifier.msg 
+  GestureClassification.msg 
 )
 
 ## Generate services in the 'srv' folder
diff --git a/msg/GestureClassification.msg b/msg/GestureClassification.msg
new file mode 100644
index 0000000..175a9b0
--- /dev/null
+++ b/msg/GestureClassification.msg
@@ -0,0 +1,2 @@
+float32[] probabilities
+lrs_msgs_common/CVLImage image
\ No newline at end of file
diff --git a/msg/StartGestureClassifier.msg b/msg/StartGestureClassifier.msg
new file mode 100644
index 0000000..6c11c0d
--- /dev/null
+++ b/msg/StartGestureClassifier.msg
@@ -0,0 +1,2 @@
+lrs_msgs_common/BoundingBoxCVL bbox  # If width or heigh is -1 then bbox is not specified
+bool return_target
\ No newline at end of file
diff --git a/msg/StopGestureClassifier.msg b/msg/StopGestureClassifier.msg
new file mode 100644
index 0000000..47705c6
--- /dev/null
+++ b/msg/StopGestureClassifier.msg
@@ -0,0 +1 @@
+string stop_msg
-- 
GitLab