2026 09 22 - Dutton-Christian-Robotics/Learning-to-Code GitHub Wiki
To Accomplish
- Writing an op mode
- Important FTC Java basics
- Things you get
- HardwareMap
- DcMotor
- Telemetry
- Types
- Autonomous vs TeleOp
- OpMode: init, start, loop, stop
- LinearOpMode: runOpMode, waitForStart, opModeIsActive
- Runs until all code is done
- First driving opmode
- Create folder: TeamCode/src/org.firstinspires.ftc.teamcode/dcs15815
- copy from repository
- motor power
- motor direction
- waitForStart
- LEAVE OFF TO START: sleep
- DRY
- move repeated motor code into function
- Improvements