A Study on Real-Time Obstacle Avoidance of Mobile Robot