The Radar is perhaps the most vital parts of your robot. Without it targeting effectively is impossible, and movement is purely random. Just like movement and targting there are many simple and complex algorithms for radar control. In most robots the radar takes up the smallest portion of code.