Framework

FRC Java Tutorial Video Video tutorial docs
How code runs:
- Connect computer via USB
- Automatically runs
main()class - Automatically calls
startRobot()method- starting point for the applications
- built in class from WPI
Robotclass constructor is the input parameter tostartRobot()stored asrobotSupplier- it is used as an input constructor
- robot is started in
startRobotwith commandrunRobot(robotSupplier)- new robot object is created
robot.startCompetition()command is run- runs a
while loopthat will have commands run on robot at all times-
TimedRobotconstructor callsperiodic function
-
- starts
robotInit()- creates new class
RobotContainer()- This is where button bindings are defined :)
- creates new class
- runs a