Log motion plan failures

This commit is contained in:
Michel Breyer 2021-11-09 23:00:59 +01:00
parent 4d5bb8c52c
commit 533e6db06d

View File

@ -151,7 +151,9 @@ class GraspController:
self.moveit.gotoL(T_base_retreat)
rospy.sleep(1.0) # Wait to see whether the object slides out of the hand
success = self.gripper.read() > 0.002
return "succeeded" if success else "failed"
return "succeeded" if success else "failed"
else:
return "no_motion_plan_found"
def create_collision_scene(self):
# Segment support surface