|
Re: Robot "twitching?"
FIRE is inappropriate for use in Teleop because of the delays embedded inside.
This code that calls it should be moved to a loop in Periodic Tasks.vi where such things belong.
The reason you're seeing the behavior that you are, is because you are losing control when Teleop essentially freezes up while processing your FIRE sequence. The last commands sent to Tank Drive will stick until the FIRE sequence completes.
Susequent joystick movements (like going to neutral) won't be processed by Teleop until the FIRE sequence is finished 3+ seconds later.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 09-02-2013 at 11:25.
|