A VLSI sensory-motor architecture for an obstacle avoidance task in an unstructured environment