View Single Post
  #2   Spotlight this post!  
Unread 18-01-2016, 12:01
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 Not Working

Well just from looking at the command (assuming its running properly), you're running it for a total of 0 seconds (because you're instantly returning "true" for "isFinished"). I'd recommend a setTimeout() and isTimedOut() (? don't remember the name of these functions, its been two years since ive done command based programming) to set the command to a specific time interval.


Also, there's no evidence that you ever tried to debug the issue. I recommend that you post System.out.println() calls to trace where your code is running to detect where your issue is. Is the command being initialized properly? Is isFinished() being called? Is execute() being called? Are the talons valid? Chief can't help you competition-time.
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

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