ravens/gripper.py
def check_grasp(self):
        """Check a grasp for picking success.

        If picking fails, then robot doesn't do the place action. For rigid
        items: index 2 in getConstraintInfo returns childBodyUniqueId. For
        deformables, check the length of the anchors.
        """
        pick_deformable = False
        if self.def_grip_anchors is not None:
            pick_deformable = len(self.def_grip_anchors) > 0
        return (not self.contact_constraint is None) or pick_deformable
Check a grasp for picking success.

        If picking fails, then robot doesn't do the place action. For rigid
        items: index 2 in getConstraintInfo returns childBodyUniqueId. For
        deformables, check the length of the anchors.
        
Check a grasp for picking success.
If picking fails, then robot doesn't do the place action. For rigid
items: index 2 in getConstraintInfo returns childBodyUniqueId. For
deformables, check the length of the anchors.
Check a grasp for picking success . If picking fails then robot doesn ' t do the place action . For rigid items : index 2 in getConstraintInfo returns childBodyUniqueId . For deformables check the length of the anchors .
def check_grasp(self):
        pick_deformable = False
        if self.def_grip_anchors is not None:
            pick_deformable = len(self.def_grip_anchors) > 0
        return (not self.contact_constraint is None) or pick_deformable
def check_grasp ( self ) : pick_deformable = False if self . def_grip_anchors is not None : pick_deformable = len ( self . def_grip_anchors ) > 0 return ( not self . contact_constraint is None ) or pick_deformable
Check a grasp for picking success.
Check a grasp for picking success .
"""Check a grasp for picking success.

        If picking fails, then robot doesn't do the place action. For rigid
        items: index 2 in getConstraintInfo returns childBodyUniqueId. For
        deformables, check the length of the anchors.
        """
self