View Single Post
  #4   Spotlight this post!  
Unread 02-02-2017, 00:14
msonnier msonnier is offline
Engineering Mentor
FRC #2992 (SS Prometheus)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: United States
Posts: 10
msonnier is an unknown quantity at this point
Re: Autonomous won't do *anything* ?

Is your default command Interruptible? If the default command on the subsystem is not Interruptible, then any new commands including your Autonomous command will not execute until that default command ends.

Since what you have is a drivetrain, I'm guessing your default command does some kind of Teleop read of the joysticks to drive the bot around -- and probably will never terminate on its own. You may need to make sure this default command can be interrupted by using the setInterruptible(boolean interruptible) method.

Without seeing the code of your default command, however, it's hard to tell whats going on in your case.
Reply With Quote