From 0f6d3c927c8da7075e52d4ed26deb484ef7c0fc2 Mon Sep 17 00:00:00 2001
From: Alopez <alopez@iri.upc.edu>
Date: Wed, 12 Jul 2023 17:46:16 +0200
Subject: [PATCH] Added human pose classification msg. Fixex bug in remote
 control action

---
 CMakeLists.txt                    | 1 +
 action/remote_control.action      | 2 +-
 msg/human_pose_classification.msg | 8 ++++++++
 3 files changed, 10 insertions(+), 1 deletion(-)
 create mode 100644 msg/human_pose_classification.msg

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d5ccfe2..24c4721 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -52,6 +52,7 @@ find_package(catkin REQUIRED COMPONENTS
 add_message_files(
   FILES
   target_state.msg
+  human_pose_classification.msg
 )
 
 ## Generate services in the 'srv' folder
diff --git a/action/remote_control.action b/action/remote_control.action
index ca62745..1a9ebff 100644
--- a/action/remote_control.action
+++ b/action/remote_control.action
@@ -20,5 +20,5 @@ int32 err_code # error code
 geometry_msgs/PoseStamped person_pose # person pose
 string room # current room
 ---
-bool continue # Flag to continue with the action or to abort it
+bool continue_mission # Flag to continue with the action or to abort it
 ---
diff --git a/msg/human_pose_classification.msg b/msg/human_pose_classification.msg
new file mode 100644
index 0000000..e22c3c7
--- /dev/null
+++ b/msg/human_pose_classification.msg
@@ -0,0 +1,8 @@
+Header              header      # Header 
+##### Person pose code
+uint8 UNKNOWN=0 
+uint8 SIT=1
+uint8 STANDING=2
+uint8 LYING=3
+
+int32 pose # person pose code
-- 
GitLab