ravens/tasks/defs_cloth.py
def is_item_covered(self):
        """For cloth-cover, if it's covered, it should NOT be in the mask."""
        _, _, object_mask = self.get_object_masks(self.env)
        assert len(self.block_IDs) == 1, self.block_IDs
        block = self.block_IDs[0]
        return 1 - float(block in object_mask)
For cloth-cover, if it's covered, it should NOT be in the mask.
For cloth-cover, if it's covered, it should NOT be in the mask.
For cloth - cover if it ' s covered it should NOT be in the mask .
def is_item_covered(self):
        _, _, object_mask = self.get_object_masks(self.env)
        assert len(self.block_IDs) == 1, self.block_IDs
        block = self.block_IDs[0]
        return 1 - float(block in object_mask)
def is_item_covered ( self ) : _ , _ , object_mask = self . get_object_masks ( self . env ) assert len ( self . block_IDs ) == 1 , self . block_IDs block = self . block_IDs [ 0 ] return 1 - float ( block in object_mask )
For cloth-cover, if it's covered, it should NOT be in the mask.
For cloth - cover if it ' s covered it should NOT be in the mask .
"""For cloth-cover, if it's covered, it should NOT be in the mask."""
self