|
Re: Leaving Autonomous
I checked and the kernal does maintain the interrupt schedule created in the Autonomous block.
Sorry for the misinformation.
So to answer your question, you will have to stop the Quad Encoder as your first step in the Operator block.
Put the call before the while(1) loop, as it only needs to be called once.
This'll be true for any of the sensor commands with a "Stop" option (Encoder, Gear tooth, Ultrasonic, Gyro, Accelerometer, Interrupt Watcher).
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 14-02-2008 at 21:28.
|