View Single Post
  #2   Spotlight this post!  
Unread 17-09-2015, 22:21
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 990
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: What happens to commands when disabled?

Answer to what a command does when the robot is disabled is in the Javadoc for one of the methods of the Command class: http://first.wpi.edu/FRC/roborio/rel...f269d3ec63faa8

As long as you have a call to run the Scheduler in DisabledPeriodic it will cancel any commands that you haven't run the above method on, run the commands you have (without motors moving) and continue to poll any OI stuff you have mapped and schedule appropriate commands (assuming they are set to run when disabled).