View Single Post
  #3   Spotlight this post!  
Unread 14-02-2012, 20:48
NS_Radication's Avatar
NS_Radication NS_Radication is offline
Student
AKA: Marco Schoener
FRC #1369 (Minotaur)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Tampa
Posts: 88
NS_Radication is an unknown quantity at this point
Re: Need some quick advice

Quote:
Originally Posted by shank948 View Post
First, Timer.delay(x) waits for x milliseconds.
Second, I can see a lot of potential for watchdog errors with this code, since it is written like normal, top-to-bottom code as opposed to the looping thread that is used for FRC.
I'm not the best at articulating my ideas so feel free to ask any other questions.
Your simplest bet would be to make a button/control for each aspect(belts, kicker,shooter), even though that may be harder for the driver to remember.
By the way, x is not for milliseconds, it is for seconds. The robot will delay without anything happening, besides spikes, if something is implemented with this as a wait statement.

Just a tip.
__________________
Team 1369
Senior
Head Programmer (Java)
Head Electrician
Reply With Quote