View Single Post
  #2   Spotlight this post!  
Unread 23-02-2016, 23:23
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Autonomous Timer Issue

I'm sorry I'm tired but going off of this bit of text

Quote:
but it will not stop.
i think you want to put a

Code:
setTimeout(timeToPause)
in your initialize() method of the command (not command group) (though I think you can set the timeout from the command group too? just do like

Code:
AutonCommand c = new AutonCommand()
c.setTimeout(1)
addSequential(c)
if i remember correctly.
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
Reply With Quote