Files overview - SGFRobots/TestBot GitHub Wiki

Overview of each file and its purpose

Main.java

All this file does is start up the robot. Nothing ever needs to be changed here.

RobotContainer.java

Create instances of subsystems and commands. Will be the main file to make robot move. Create instances of controllers and assign buttons to commands.

Robot.java

Control each gamestage: teleOp, autonomous, disabled, test. Won't use this file much?

Constants.java

Keep all constant variables in this file for easy access

Util.java

???

Subsystem folder

Each file in this folder represents a physical subsystem. Files will create instances of hardware such as motors, sensors, encoders, etc. The files will have functions to operate the system. Subsystem info

Command folder

Each file in this folder represents an action of the robot. All these files do is to access and call functions from the subsystem files. Command info