Hello and welcome to FTC Team 23838, or the Beta Blockheads's repository for the 2023-2024 FTC season CENTERSTAGE!
If you want to learn FTC programming, GO LOOK AT Teamcode/src/main/java/org/firstinspires/ftc/teamcode/common/RobotContainer
!!! It has really nicely explained code from last year!!
If you don't understand it and know Java, go ask someone! If you don't know Java, learn it!
FAQ:
Q: How do I program [in java]??
A: Follow this tutorial,, and do the exercises.
Q: Where are the actual programs that get run?
A: Teamcode/src/main/java/org/firstinspires/ftc/teamcode
, take a look at the readme there
Q: What's an opmode?
A: Basically, a program for the robot to run. Put your opmodes in Teamcode/src/main/java/org/firstinspires/ftc/teamcode
Q: Where is the "main" method?
A: It doesn't matter. Just put the code you want to run in an opmode, and the FTC SDK will magically make it available to run.
Q: Where are the motors and things defined?
A: For this codebase, Teamcode/src/main/java/org/firstinspires/ftc/teamcode/common/RobotContainer.java
Q: How do I run a program?
A: Make sure the program you want to run extends the LinearOpMode abstract, and also make sure it's annotated with @Autonomous
or @TeleOp
, and then run it from the driver station. Check out Teamcode/src/main/java/org/firstinspires/ftc/teamcode/common/RobotContainer