|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Command Based V iterative V Custom?
I've always used iterative, and have no issues with it. Some people say command based is more intuitive, but I've always thought the opposite. I think command based lends itself to automation very well, so I'll definitely be taking a look into it during the summer/offseason. Ultimately, it's easy to try both and figure out what works best for you, just pick the one that you like the best and run with it.
|
|
#2
|
|||||
|
|||||
|
Re: Command Based V iterative V Custom?
Quote:
|
|
#3
|
||||
|
||||
|
Re: Command Based V iterative V Custom?
The design of our library is supposed to be as easy to use as Iterative robot but also supports complex scenarios you can find in command-based code but simpler to understand.
|
|
#4
|
||||
|
||||
|
Re: Command Based V iterative V Custom?
Sorry to hop on a bit late, it took me a little while to prepare what I was going to show you. If you want to look at an example of a custom coded but non-library structure, take a look here:
https://github.com/ToasterTechFRC/Toaster-Base-Bot It is built off of the iterative model but it has a structure similar to command-based. It does require a bit more knowledge of Java than entry-level but it does show how a custom structure can be created manually to fit your needs. I've also documented it as best I can. Our 2016 code (we haven't pushed our CMP code) is also on GitHub, but it is much messier and has significantly less comments although it does show how our structure can function with autonomous modes. |
|
#5
|
||||
|
||||
|
Re: Command Based V iterative V Custom?
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|