The problem you are seeing lies in this section of code:
The questions you have to ask yourself are: What is the robot doing? What do I want it to do? What is this code telling the robot to do?
Remember, the robot will do only and exactly what you program it to do; it does not make assumptions.
Hint: Usually when a robot continues an action, it is stuck in a loop and the condition to stop it cannot be met.
_________________Check out our
Blog! And our
Facebook page!
Need help? Take a look at our
Wiki and our
Forums.I just met you,
And this is crazy,
But here's my code now,
So fix it, maybe? ~ Carly Rae Jepsen parody