diff --git a/CMakeLists.txt b/CMakeLists.txt index 90143eaeda228f39dafa1ed22c3be2e0ae7fd498..014f5dc326fb1b56b17478b3f86b299ef1643414 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,7 @@ find_package(catkin REQUIRED actionlib message_generation std_msgs geometry_msgs add_message_files( FILES ObjectDesignator.msg + ShapeSize.msg ) add_action_files(DIRECTORY action FILES diff --git a/action/Query.action b/action/Query.action index ad9617a39b409989adbf28394f20190189f53084..1907a25115e252733b6af7dd5b1ec6bdc2e2fb10 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 4139bf8cc299ecd1123157b939b265db8674e02e..5357a6a8c62e707a6e9f8ae22de3f84435d369d9 100644 --- a/msg/ObjectDesignator.msg +++ b/msg/ObjectDesignator.msg @@ -1,10 +1,20 @@ # Object Description -string uid # Object's unique identifier -string type # Object's type -string[] shape # Object's possible shapes -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 -string[] poseSource # Object's possible sources (e.g. camera0) \ No newline at end of file +string uid # Object's unique identifier +string type # Object's type +string[] shape # Object's possible shapes +ShapeSize[] 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 +string[] pose_source # 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[] attribute + +# 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 diff --git a/msg/ShapeSize.msg b/msg/ShapeSize.msg new file mode 100644 index 0000000000000000000000000000000000000000..f8fed5025ac5004be45395b085a1eeaa6ea2bd9e --- /dev/null +++ b/msg/ShapeSize.msg @@ -0,0 +1,5 @@ +#This message stores several shape sizes. The actual type of shape can be accessed +# through the object-designator. + +geometry_msgs/Vector3 dimensions #For example box sizes can be stored here +float32 radius #Radius for a circle, sphere, cylinder, etc. \ No newline at end of file