From 81c6f0f6eed32c97c96e7b0deb8a5ee6054cbfcd Mon Sep 17 00:00:00 2001
From: Jennifer Buehler <jennifer.e.buehler@gmail.com>
Date: Tue, 8 Mar 2016 22:29:38 +0100
Subject: [PATCH] added start of automated grasp execution

---
 object_msgs/srv/ObjectInfo.srv | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/object_msgs/srv/ObjectInfo.srv b/object_msgs/srv/ObjectInfo.srv
index 6eef2b8..8e8bdcf 100644
--- a/object_msgs/srv/ObjectInfo.srv
+++ b/object_msgs/srv/ObjectInfo.srv
@@ -9,8 +9,16 @@ bool get_geometry
 ---
 
 # true if object exists and information is
-# stored in field 'object'
+# stored in field 'object'. If false, the
+# error_code contains more information about the error.
 bool success
 
 # information about the object
 Object object
+
+# error code if success is false
+byte error_code
+
+byte NO_ERROR=0
+byte OBJECT_NOT_FOUND=1
+byte OTHER_ERROR=2
-- 
GitLab