View Single Post
  #4   Spotlight this post!  
Unread 14-02-2008, 14:10
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

Quote:
Originally Posted by Dad1279 View Post
So if the quadrature encoders start an interrupt routine, I don't have to worry about it stealing overhead from the operator control? Interrupts will be stopped?
If you use Optical Quad Encoder in Autonomous, the interrupts [edit]will[/edit] continue in Operator.
However, I think I'll go test that to be sure some other EasyC behavior isn't cropping up...

PPS: It's going to depend on how the WPILIB kernal is setup, so restarting the user process may leave the interrupts running. I'll test it when I get near a controller and report back.

PPSS: Background processes do continue between the Autonomous & Operator blocks.
__________________
"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:24. Reason: Incorrect answer