|
LabVIEW & autonomous "remembers" old values?
In our autonomous code we have a stacked sequence that does various things. For example one of our first frames lifts the robot's arm and the next goes forward a predetermined amount of encoder clicks.
While testing the code we experienced some (erratic) odd behaviour. Occasionally, when we start autonomous mode, the robot will start two sequences at once, i.e. start lifting and start driving. So far we haven't been able to pin down exactly when this happens, but my personal hypothesis is that it does this when we stop the earlier autonomous runs early (start autonomous, hit disable, start autonomous again).
A mentor from a nearby team mentioned, in passing, that he thought it was a "feature" of labVIEW where it "remembered" the old values that things held before. Besides this clue we are completely at a loss. We've tried building over USB and unplugging the cable, building twice in a row, building and using "run as startup" all to no avail.
Does anyone have any idea on what might be happening?
|