All Types

org.firstinspires.ftc.teamcode.teleop.AbsolutePositioningOpMode
org.firstinspires.ftc.teamcode.autonomous.AutoOpMode

The autonomous op mode.

org.firstinspires.ftc.teamcode.autonomous.AutoOpModeCrater

Autonomous op mode to use in case the robot cannot determine its position on the crater side.

org.firstinspires.ftc.teamcode.autonomous.AutoOpModeDepot

Autonomous op mode to use in case the robot cannot determine its position on the depot side.

org.firstinspires.ftc.teamcode.autonomous.AutoOpModeFallback

Autonomous op mode to use in case the normal one completely borks.

org.firstinspires.ftc.teamcode.autonomous.AutoOpModeFallbackOnCraterSide

Autonomous op mode to use in case there is a chance of collision with the other team's robot.

org.firstinspires.ftc.teamcode.teleop.deprecated.BasicOpMode

This file contains an example of an iterative (Non-Linear) "OpMode". An OpMode is a 'program' that runs in either the autonomous or the teleop period of an FTC match. The names of OpModes appear on the menu of the FTC Driver Station. When an selection is made from the menu, the corresponding OpMode class is instantiated on the Robot Controller and executed. This particular OpMode just executes a basic Tank Drive Teleop for a two wheeled robot It includes all the skeletal structure that all iterative OpModes contain. Use Android Studios to Copy this Class, and Paste it into your team's code folder with a new name. Remove or comment out the @Disabled line to add this opmode to the Driver Station OpMode list

org.firstinspires.ftc.teamcode.autonomous.ClaimDepotOpMode
org.firstinspires.ftc.teamcode.tests.ContinuousRotationServoTestOpMode
com.qualcomm.robotcore.hardware.DcMotor (extensions in package org.firstinspires.ftc.teamcode.utils)
org.firstinspires.ftc.teamcode.movement.DriveMotors

Public interface representing the set of methods every single drive system is guaranteed to implement. For example, both a regular two wheel drive and a mecanum drive implement these same methods. This makes it useful for creating op modes that work for both systems.

Throughout DriveMotors and its subclasses, you will find methods referring to two similar yet distinct concepts: power and speed. Power refers to driving a motor by sending a given amount of power to it. Speed refers to intelligently controlling a motor by constantly making adjustments to power so that the motor moves in a consistent manner. Power does not require an encoder; speed does.

You do not construct DriveMotors directly; instead, you use one of its subclasses.

org.firstinspires.ftc.teamcode.movement.ElevatorExtake

Extake comprised of an elevator that extends and retracts a rotatable bin.

org.firstinspires.ftc.teamcode.tests.ElevatorExtenderTestOpMode

Tests REV Core Hex Motor on LinearMotion Extender

org.firstinspires.ftc.teamcode.movement.ElevatorIntake

Intake comprised of an elevator that extends and retracts a rotatable bin and roller.

org.firstinspires.ftc.teamcode.examples.ExampleIterativeOpModeJava

A bare-bones iterative op mode in Java. Runs by repeatedly calling loop over and over again. Good for Tele-Op op modes.

org.firstinspires.ftc.teamcode.examples.ExampleIterativeOpModeKotlin

A bare-bones iterative op mode. Runs by repeatedly calling loop over and over again. Good for Tele-Op op modes.

org.firstinspires.ftc.teamcode.examples.ExampleLinearOpModeJava

A bare-bones linear op mode in Java. Runs by calling a method once and is slightly simpler to implement than an iterative op mode. Good for Autonomous op modes.

org.firstinspires.ftc.teamcode.examples.ExampleLinearOpModeKotlin

A bare-bones linear op mode. Runs by calling a method once and is slightly simpler to implement than an iterative op mode. Good for Autonomous op modes.

org.firstinspires.ftc.teamcode.movement.Extake

Interface representing the set of methods every extake is guaranteed to implement. It is currently empty.

org.firstinspires.ftc.teamcode.utils.Factory

Interface representing a factory that creates a standard Hardware instance. Most hardware classes will have companion objects implementing this interface.

org.firstinspires.ftc.teamcode.sensing.Gyro

Public interface representing the set of methods every single gyro sensor is guaranteed to implement. This makes it useful for creating op modes that work for any gyro sensors other than the IMUGyro.

org.firstinspires.ftc.teamcode.tests.GyroTestOpMode
org.firstinspires.ftc.teamcode.sensing.IMUGyro

A Gyro instance that uses the REV Robotic Expansion's built-in gyro sensor (IMU) to obtain measurements.

org.firstinspires.ftc.teamcode.movement.Intake

Interface representing the set of methods every intake is guaranteed to implement. It is currently empty.

org.firstinspires.ftc.teamcode.tests.IntakeElevatorTestOpMode

Tests REV Core Hex Motor on both OldIntake Extender and LinearMotion

org.firstinspires.ftc.teamcode.tests.IntakeRollerTestOpMode

Tests REV Core Hex Motor on Intake Roller

org.firstinspires.ftc.teamcode.tests.JogExtenderToResetTestOpMode

Tests REV Core Hex Motor on OldIntake Roller

org.firstinspires.ftc.teamcode.movement.LinearMotion

A linear motion system driven by a DcMotor.

org.firstinspires.ftc.teamcode.teleop.deprecated.MainOpMode
org.firstinspires.ftc.teamcode.movement.MecanumDrive

Class representing four DcMotors that comprise a Mecanum drive; in other words, the drive we're using on our robot.

org.firstinspires.ftc.teamcode.teleop.MecanumFOVOpMode
org.firstinspires.ftc.teamcode.tests.MecanumTestOpMode
org.firstinspires.ftc.teamcode.sensing.MineralDetection

Wrapper class for Vuforia and TFOD. Improves code reusability. Unlike most other classes, you usually do not call standard; instead, you use its constructor.

org.firstinspires.ftc.teamcode.tests.MineralDetectionTest

This 2018-2019 OpMode illustrates the basics of using the TensorFlow Object Detection API to determine the position of the gold and silver minerals. Use Android Studio to Copy this Class, and Paste it into your team's code folder with a new name. Remove or comment out the @Disabled line to add this opmode to the Driver Station OpMode list. IMPORTANT: In order to use this OpMode, you need to obtain your own Vuforia license key as is explained below.

org.firstinspires.ftc.teamcode.sensing.MineralKnocker

This helper class was intended to assist in the creation of mineral knocking op modes. Since every use case is different, this class has been deprecated. See MineralKnockerOpMode for an example of how it was used. Do not use this class.

org.firstinspires.ftc.teamcode.autonomous.MineralKnockerOpMode
org.firstinspires.ftc.teamcode.movement.deprecated.OldIntake
org.firstinspires.ftc.teamcode.movement.deprecated.Roller
org.firstinspires.ftc.teamcode.tests.ServoTestOpMode

Tests REV Core Hex Motor on Intake Roller

org.firstinspires.ftc.teamcode.teleop.TeleOpMode
org.firstinspires.ftc.teamcode.movement.TwoWheelDrive

Class representing a simple, run-of-the-mill two wheel drive. We used to use this; now we are not.

This was one of the earliest classes made this year; I apologize in advance for the poor coding in this class.

org.firstinspires.ftc.teamcode.sensing.Vision

This class takes care of all your vision needs. Wrapper class for Vuforia that extends MineralDetection. Improves code reusability.

IMPORTANT: Use of the Vision class requires a Vuforia auth key. To learn how to set one up, browse to the VuforiaAuthKey class.

org.firstinspires.ftc.teamcode.tests.VisionLocationTestOpMode
org.firstinspires.ftc.teamcode.sensing.VuforiaAuthKey

Helper class for retrieving the Vuforia authentication key used to power MineralDetection and Vision. This class is automatically called by MineralDetection and Vision.

For security reasons, we do not include the Vuforia auth key in the repository. As such, you will have to add one yourself.

Browse to TeamCode/src/main/res/raw, and make a new file called "vuforiaauthkey.txt". Paste your Vuforia authentication key into there.

TITANIUM KNIGHTS MEMBERS: To get the authentication key, contact Anthony Li or Edward Li.