The robotic buggy is baed on the arduino mega and has a single ultrasonic sensor at the front with two sharp IR sensors on either side.
I want to implement the bug 2 algorithm but I have not idea how to begin. I've looked at the source code on this this site but it makes no sense to me.
Does anyone know of any sources that provides simple to follow instructions on how to implement the algorithm?