From 46a35f48fef508f05612c9a15f076e9a58bedd88 Mon Sep 17 00:00:00 2001
From: Naser Azizi <naser1@uni-bremen.de>
Date: Thu, 15 Jun 2023 13:13:06 +0200
Subject: [PATCH] Refinement of the query and the object designator to support
 more interface capabilities

---
 action/Query.action      | 12 ++++++++++++
 msg/ObjectDesignator.msg | 12 ++++++++++--
 2 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/action/Query.action b/action/Query.action
index ad9617a..1907a25 100644
--- a/action/Query.action
+++ b/action/Query.action
@@ -1,7 +1,19 @@
 #goal
+
+# the type of the query, like 'detect', 'track',...
+string type
+
+# a generic string description if the object designators can't represent the requested information. 
+# This could for example be a natural language statement if a specific, non-object centric event is happening in the scene
+string description
+
 ObjectDesignator obj
 ---
 #result
+
+# a generic string description what has been detected in the scene
+string description
+
 ObjectDesignator[] res
 ---
 #feedback
diff --git a/msg/ObjectDesignator.msg b/msg/ObjectDesignator.msg
index 3f46cc2..94cb7f7 100644
--- a/msg/ObjectDesignator.msg
+++ b/msg/ObjectDesignator.msg
@@ -2,11 +2,19 @@
 
 string uid                              # Object's unique identifier
 string type                             # Object's type
-string[] description                    # Object's description 
 string[] shape                          # Object's possible shapes
+ObjectSize shape_size                   # Object's possible sizes like dimensions or radius
 string[] color                          # Object's possible colors
 string location                         # Object's location
 string size                             # Object's size
 geometry_msgs/PoseStamped[] pose        # Object's possible 6D-poses
-ObjectSize objectSize                   # Object's possible sizes like dimensions or radius
 string[] poseSource                     # Object's possible sources (e.g. camera0)
+
+# The following fields should only be used, if you can not represent one of your object properties
+# in the previous fields.
+#
+# A generic string list of attributes that describe a certain quality or characteristic
+string[] attributes
+
+# More general form of the attributes field. This field can be used for a more general description of the object itself.
+string[] description
\ No newline at end of file
-- 
GitLab