Quote:
Originally Posted by Tom Bottiglieri
Look at the updated documentation for 2012 WPILib. I think the command based robot is exactly what you are looking for.
|
I agree, and you can specify timeouts for commands. Look at the WPILib Cookbook and find the section on using timeouts. The stuff you're looking for is built in. It will only do the delay for a single command and everything else will keep running.
You might also check out the videos at
http://youtube.com/user/bradamiller. It explains how to write the GearsBot sample program step by step.
Brad