http://s7.directupload.net/file/d/3086/wu5drgm6_png.htm
On this picture you can see my scenario. I want to collect this single battery with the robot. The robot has to go the left way, it is against the way the clock runs.
My first impressions were to check with a "while-loop" if there is a battery on the field and then to check where the walls are..
Can anyone help me with the code please? I am not able to write it in a right way :(

