Thread: Hail Mary hang?
View Single Post
  #4   Spotlight this post!  
Unread 07-03-2013, 12:51
UriF UriF is offline
Registered User
FRC #2213
 
Join Date: Jan 2012
Location: Israel
Posts: 27
UriF is an unknown quantity at this point
Re: Hail Mary hang?

You wouldn't need to check the time constantly, you can simply set a Notifier up at the start of Operator period (outside of the OperatorControl loop, of course), and have it timeout after 2:15 minutes (not sure if that's how long operator period is).

Check out the Notifer class and its usage, I'm sure you will understand.
Reply With Quote