A moving device (70) determines an obstacle virtual existence region (72) of a simple graphic approximating a detected obstacle (71) to detect the obstacle (71) in a real time and determine a smooth avoidance path by calculation, thereby performing collision prediction.