Boe bot navigation at a t-junction of maze
Chaotic
Posts: 1
Hi I am trying to make a boe bot with the bs2 module go around a maze using three sharp ir sensors. At a t-junction, I want it to turn right on the first run, left on the second and based on the two turns, it should take the path that does not have any dead ends.
For this I used a program counter which is initialised to 0 and gets incremented when a t-junction is encountered. So when the program counter is 0 (first run), its turns right, when its 1, its turns left and so on. But for some reason, it doesn't quite work. The boe-bot always goes right at the junction.
For this I used a program counter which is initialised to 0 and gets incremented when a t-junction is encountered. So when the program counter is 0 (first run), its turns right, when its 1, its turns left and so on. But for some reason, it doesn't quite work. The boe-bot always goes right at the junction.
Comments