View Single Post
  #4   Spotlight this post!  
Unread 01-02-2014, 00:33
BigJ BigJ is offline
Registered User
AKA: Josh P.
FRC #1675 (Ultimate Protection Squad)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Milwaukee, WI
Posts: 945
BigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond repute
Re: Parallel commands that depend on the same subsystem?

If A and B both "require" C in your case, either you are trying to control the same physical parts of the robot (motor controllers, solenoids, etc) with 2 commands (bad and can have unexpected results), or your subsystem has 2 different (sets of) physical parts that the commands are controlling (in which case you should refactor said subsystem into 2 subsystems).
Reply With Quote