The Robot Code
The robot was coded entirely in Java using the Android Studio IDE, which differs to the more beginner-friendly blocks IDE provided by FTC. Although blocks allows the programmer to make basic code for the robot, it lacks the many useful functionalities of Java.
The project is stored on an online repository host called GitHub, you can find the 2024-2025 season repository here. It is reccomended to store code in an online repository to prevent an accident where code is lost and unable to be recovered. Github and many other repositories, uses a file versioning tool called git, which is reccomended to use in order to preserve file history to revert changes if needed or to use as a record for progress for the portfolio. Both "git" and "GitHub" are free and will prevent any accidental code loss.
The repository is forked from the original FtcRobotController. We expand upon this code in TeamCode/src/main/java/org/firstinspires/ftc/teamcode, as per FTC's instructions. The robot is built on one initial class called RobotBase.java, which is used in all TeleOp classes as it provides reusable methods and variables reused in in AutoJava.java and DriveJava.java. DriveJava is simple and mainly provides a for loop that iterates over each gamepad button to check if it is active, if it is the corresponding interaction is activated (i.e. moving the joystick up triggers the wheels moving forward). For AutoJava see the below section.

Autonomous and The Debugger
The robot was coded entirely in Java using the Android Studio IDE, which differs to the more beginner-friendly blocks IDE provided by FTC. Although blocks allows the programmer to make basic code for the robot, it simplifies Java and thus removes many pieces of useful functionality of Java.
The project is stored on an online repository host called GitHub, you can find the 2024-2025 season repository here. It is reccomended to store code in an online repository to prevent an accident where code is lost and unable to be recovered. Github and many other repositories, uses a file versioning tool called git, which is reccomended to use in order to preserve file history to revert changes if needed or to use as a progress record for the portfolio. Both "git" and "GitHub" are free and will prevent any accidental code loss.
The repository is forked from the original FtcRobotController. We expand upon this code in TeamCode/src/main/java/org/firstinspires/ftc/teamcode, as per FTC's instructions. The robot is built on one initial class called RobotBase.java, which is used in all TeleOp classes as it provides reusable methods and variables reused in in AutoJava.java and DriveJava.java. DriveJava is simple and mainly provides a for loop that iterates over each gamepad button to check if it is active, if it is the corresponding interaction is activated (i.e. moving the joystick up triggers the wheels moving forward). For AutoJava see the below section.
