Log motion plan failures
This commit is contained in:
parent
4d5bb8c52c
commit
533e6db06d
@ -152,6 +152,8 @@ class GraspController:
|
|||||||
rospy.sleep(1.0) # Wait to see whether the object slides out of the hand
|
rospy.sleep(1.0) # Wait to see whether the object slides out of the hand
|
||||||
success = self.gripper.read() > 0.002
|
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):
|
def create_collision_scene(self):
|
||||||
# Segment support surface
|
# Segment support surface
|
||||||
|
Loading…
x
Reference in New Issue
Block a user