Adding Commands and Subsystems - Java
A newly created command based robot project will have a set of default files and packages that were provided by the template. Using these files will make it easy to extend the default program into a custom robot program for your application.
Add a new Subsystem class instance. Right-click on the subsystem package, and select New Subsystem. If it is not there, then select New Other (as shown above), then select subsystem. In the future, subsystem will be a choice on the New menu. Name the subsystem in the next dialog that pops up and click Finish.
To learn more about defining subsystems, see the Simple Susbsystems article.
The procedure to add commands is similar to adding subsystems (above), except select New Command from the menu (or New Other...), then Command.
To learn more about creating commands, see the Creating Simple Commands article.