This code, represents a trial to implement the braitenberg avoidance algorithm on Khepera III environment and adapt the algorithm to the capabilities of the robot, as well to manipulate the moving obstacles in addition to the fixed obstacles