View Single Post
  #7   Spotlight this post!  
Unread 24-04-2016, 16:42
euhlmann's Avatar
euhlmann euhlmann is online now
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 322
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: JAVA Command Group Question

Quote:
Originally Posted by notmattlythgoe View Post
-snip-
Let's not be harsh here. @GeeTwo is correct that we'd need the code to fully understand what's going on.

---

For complicated command logic, the CommandGroup often isn't enough. What we did by NECMP this year was write our own CommandGroup-like class to run our automatic shooting logic (it was a lot prettier than the mess of CommandGroups in CommandGroups we had before).

When you have full control over how sub-commands are run, it's easy to relay the values you need. And, in terms of good programming practice, it's the best solution.
Reply With Quote