View Single Post
  #4   Spotlight this post!  
Unread 04-04-2014, 19:31
bvisness's Avatar
bvisness bvisness is offline
Programming Mentor, Former Driver
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Woodbury, MN
Posts: 181
bvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of light
Re: Best Way(s) to Implement a Delay in Command Groups

Our team uses the same approach mentioned by Joey1939. I've attached the .java file for the command we use. (You might want to just copy/paste the important bits - there's a lot of unnecessary RobotBuilder crap in here that we never cleaned out.)

We call it in command groups like so:

Code:
addSequential(new Delay(1.25));
Attached Files
File Type: java Delay.java (1.7 KB, 25 views)
Reply With Quote