View Single Post
  #5   Spotlight this post!  
Unread 14-02-2008, 21:19
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,854
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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.