3D sensors for flexible automation of robot grippers