This commit is contained in:
Max Hunt 2020-02-10 13:51:53 +00:00
parent deb9fbf653
commit c58faec4c9

View File

@ -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]