A Visuomotor Coordination Model for Obstacle Recognition