A neural network model of avoidance and approach behaviors for mobile robots