In this article i will discuss about solving maze that's mean maze solving algorithms.
These are some basic maze solving algorithms. Lets talk about left hand rule.
These algorithms are match to line maze or wall maze. So you have to get the the idea. Then you can implement it your environment.
In left hand rule, you have priorities that you have to consider when you getting an action.
If you remember, previously we analyzed all the actions of the robots.
So now you can prioritize the actions with left hand rule.
It simply says if you have possibility to go left then go left, if not check the forward is clear if yes go straight. If not check the right if yes go right if not get 180' turn.
Finally the choices would be like that.I think now you are clear with this concept.
In next article i will do a simulation , then you can clearly understand secret behind this concept.
Comments
Post a Comment