Command Based - TAMSFormers5212/TAMSformers-Database GitHub Wiki
Each subsystem and command class has both a .h file and a .cpp file.
Subsystems contain a group of parts that work together in one system as a part of the overall robot. Common subsystems include the drivetrain, an arm, elevator, intake, shooter, and climber. The subsystem will define what motors, sensors, and variables it uses to function. Additionally, it is going to need methods that expose the functionality of the motors and interpret logic based on information given from elsewhere and its sensors.
Commands
Apparently triggers are the better way to do things comapred to using tons of commands. We haven't used them, but the logic is described [here]<- insert CD link