View Single Post
  #1   Spotlight this post!  
Unread 30-01-2013, 19:22
Fifthparallel Fifthparallel is offline
Registered User
AKA: Sam Chen
FRC #1410
 
Join Date: Dec 2012
Rookie Year: 2011
Location: Denver, CO
Posts: 65
Fifthparallel is an unknown quantity at this point
Requires() in the Command-Based Framework

Does the Requires() function in the command class preclude any other command that also uses parts of the subsystem? Can anybody explain how this works better? The workshop videos and the comments in the headers are too vague to understand the control system, imo.

EDIT:: Given that I have commands that are manipulating multiple parts of a subsystem, do any of them need to Require() the subsystem? Or, should I be refactoring things to be smaller so that I can still Require but not run into a problem?
__________________
sudo chmod u+x helloworld.sh
gotta start somewhere.

Last edited by Fifthparallel : 30-01-2013 at 19:32.
Reply With Quote