Remove unused variables
This commit is contained in:
parent
8c5d015414
commit
39e17ca5b7
@ -87,7 +87,6 @@ class Policy:
|
|||||||
filtered_grasps, filtered_qualities = [], []
|
filtered_grasps, filtered_qualities = [], []
|
||||||
for grasp, quality in zip(grasps, qualities):
|
for grasp, quality in zip(grasps, qualities):
|
||||||
pose = self.T_base_task * grasp.pose
|
pose = self.T_base_task * grasp.pose
|
||||||
R, t = pose.rotation, pose.translation
|
|
||||||
tip = pose.rotation.apply([0, 0, 0.05]) + pose.translation
|
tip = pose.rotation.apply([0, 0, 0.05]) + pose.translation
|
||||||
if self.bbox.is_inside(tip):
|
if self.bbox.is_inside(tip):
|
||||||
grasp.pose = pose
|
grasp.pose = pose
|
||||||
|
Loading…
x
Reference in New Issue
Block a user