Remove unused variables

This commit is contained in:
Michel Breyer 2021-11-09 11:48:54 +01:00
parent 8c5d015414
commit 39e17ca5b7

View File

@ -87,7 +87,6 @@ class Policy:
filtered_grasps, filtered_qualities = [], []
for grasp, quality in zip(grasps, qualities):
pose = self.T_base_task * grasp.pose
R, t = pose.rotation, pose.translation
tip = pose.rotation.apply([0, 0, 0.05]) + pose.translation
if self.bbox.is_inside(tip):
grasp.pose = pose