Geoffrey McRae
Geoffrey McRae
I can also confirm this fault, initially I thought it was just me missing the pin...
A minimal code example would be somewhat helpful to anyone wanting to debug this.
While not exactly solving the persistence issue many issues with a turtle that tracks its state come when execution is terminated before it has an opportunity to save it's state...
It should be noted that an issue with this solution is that it wont remove IPs that should be auto unblocked after the timeout expires.
Then clearly you are limiting yourself to the one task you have in mind and are closed minded as to other uses turtles can have. GPS will only give you...
1) I fully understand what a state machine is, and how one works. 2) You are still yet again assuming that the save will happen after the condition. ``` if...
You are assuming that the conditional will still be valid on restart of the script... lets say it's counting movement, no GPS and the conditional is `if turtle.forward()`. When the...
> For example. If the turtle was making pixel art This is just it, there are scenarios where "just moving a little" is not a viable option. Or what if...
> And if you use a GPS then moving a little doesn't matter. Again, you are assuming that GPS is an acceptable solution. > My suggestion is simply structuring the...
My proposal simply adds a persistent action counter which can be used to determine if the last action such as a move/dig, etc was successful or not. How the user...