Thread: Hail Mary hang?
View Single Post
  #6   Spotlight this post!  
Unread 07-03-2013, 20:38
kylelanman's Avatar
kylelanman kylelanman is offline
Programming Mentor
AKA: Kyle
FRC #2481 (Roboteers)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Tremont Il
Posts: 186
kylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to all
Re: Hail Mary hang?

Quote:
Originally Posted by Iaquinto.Joe View Post
Thank you so much! We have used notifiers before and it didn't occur to me to use them for this. Good luck at your competitions!
Sticking with the command based approach. We created a command with a timeout of how long you want to wait from when the match starts. You schedule the command on teleop init. The IsFinished function returns IsTimedOut. Init and Execute are empty. Put the code to start the hail mary climb in the End function.

It's simple and it works.
__________________
"May the coms be with you"

Is this a "programming error" or a "programmer error"?

Reply With Quote