Ann for learning robot contact surface shape