From c58faec4c97799df3ab95e55d9025aa5e8ef3e5c Mon Sep 17 00:00:00 2001 From: Max Hunt Date: Mon, 10 Feb 2020 13:51:53 +0000 Subject: [PATCH] Update --- object_tf_service.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/object_tf_service.py b/object_tf_service.py index 0f8c264..2a563a9 100755 --- a/object_tf_service.py +++ b/object_tf_service.py @@ -17,11 +17,10 @@ class tf_service(): 'id1::Brick', 'ie1::Brick'] - - def _callback(self, data): # Get index for object_name in self._nodes: + print(object_name) object_idx = data.name.index(object_name) # Get baxter_base pose and object pose w.r.t. gazebo world object_pose = data.pose[object_idx]