|
Re: Switching from Autonomous to Tele-op
Yes, the Closes are handled with a Refnum Get straight to a Close.
There are some already in Finish.vi to guide you.
The fundamental difference between Autonomous Independent.vi and Teleop.vi is that Auto gets called only once, so you want to stay in there until you've done all you want to, while Tekeop gets called ~50 times a second, so you'll be back again and again.
In teleop if you leave everything, but just remove the While loop it'll be fine.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 22-01-2011 at 23:01.
|