View Single Post
  #23   Spotlight this post!  
Unread 28-11-2012, 17:14
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: 947
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: Command Based JAVA - Basic Tutorial

Quote:
Originally Posted by Joe Ross View Post
You'd also have to add it to every other command that requires that subsystem, which gets messy.
I haven't given a lot of thought to the ramifications, but you could make the location sensors its own Subsystem, which no commands "require". You should still be able to reference the "location system" in other commands to ask it for data, should be safe if you don't modify anything.

Meanwhile, your location system always just runs a default command that maintains the location udpates.