Update
This commit is contained in:
parent
f91e4ab46b
commit
9404635df6
@ -20,7 +20,7 @@ class tf_service():
|
|||||||
def _callback(self, data):
|
def _callback(self, data):
|
||||||
# Get index
|
# Get index
|
||||||
for object_name in self._nodes:
|
for object_name in self._nodes:
|
||||||
print(object_name)
|
# print(object_name)
|
||||||
object_idx = data.name.index(object_name)
|
object_idx = data.name.index(object_name)
|
||||||
# Get baxter_base pose and object pose w.r.t. gazebo world
|
# Get baxter_base pose and object pose w.r.t. gazebo world
|
||||||
object_pose = data.pose[object_idx]
|
object_pose = data.pose[object_idx]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user