In general, the notion of robots can be associated with living things in the form of human or animal movements made of several metal elements and driven by electric power. There are several types of robots today, such as wheeled, legged, and humanoid robots. The robot is controlled manually and automatically. In controlling the automatic robot, an avoiding system is needed so that the robot doe…