|
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)
|