Quote:
Originally Posted by shank948
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.