Quote:
Originally Posted by Ether
The output of your feedback node in that snippet never changes.
|
Nor is it supposed to. If I recall correctly, the OP wanted something to do with total time elapsed since the start of auto mode (i.e. drive motor A for 7 seconds, then turn it off). The snippet will calculate the
total time elapsed since the first iteration (not the time elapsed since the previous iteration, which is what I think you interpreted it to be). Make sense?
However, I probably could have phrased my explanation of the code better. Saying
change in timer value probably implied change over one iteration, rather than over total execution. I intended the latter.