A robot cannot reach its full potential if one of these areas is not fully developed. Artificial Intelligence is just what the words mean. It is the task of creating the intelligence that we humans are born with and add to it over time and simulate in a computer environment. To understand the previous statement, the term intelligence must be defined. The difficulty in AI lies in the fact that it is hard for humans to understand how we used common sense to solve a problem and then, replicate it.
Computer science is the task of writing a program, a set of instructions, for the robot to follow.
There are two approaches to writing these programs. In the traditional approach, the robot, first, gathers input from sensors and uses that input to construct a map of its surroundings and its position relative to them. In the modeling process, the robot uses the information from multiple sensors and its algorithm to determine what information is inconsistent and then compromises on what the world looks like. The robot plans the series actions it will have to execute to achieve a given goal and executes those actions by sending information back to the hardware. The second way resulted from research done by Rodney Brooks and The Mobile Robot Group at MIT Artificial Intelligence Laboratory.