Work in progress. These tools are new and still changing. We have not tested some parts on a real robot yet. Please test them on your robot and tell us what works and what does not.

crossbotics

Resources for FTC Teams

Free tools for FIRST Tech Challenge teams, from an FTC mentor.

FTC-Helper-Lib:
Simplify Java Coding for FTC

Get a robot driving
public class Robot extends RobotDefinition {
    public Intake intake;
    public Launcher launcher;

    @Override
    protected void define() {
        drive(Drive.tank("left_drive", "right_drive")
                .motor("gobilda-5203-312").wheelMm(96)
                .reversed("right_drive"));
        intake = add(Intake.motor("intake"));
        launcher = add(Launcher.flywheel("launcher", "gobilda-5203-6000")
                .feeder(Indexer.crServo("windmill").reversed()));
    }
}

Free and open source. Add FTC-Helper-Lib to your robot project, then learn it one tutorial at a time.

Get a robot driving Add it to your robot projectStart the tutorials

Calling testers: try it on your robot

Most of this is tested only in the simulator. Pick a short test that fits your robot (any kit or your own), run it, and tell us how it went with one form.

Pick a test for your robotSee what still needs a robot

FTC-Helper-Lib Simplify Java Coding for FTC

A free Java library: each robot job in one or two lines. Made for students new to Java.

Version 0.47.0 · FTC SDK 12.0 (2026-27 BIOBUZZ) · Android Studio

Read the docs The simulator guide

R304: software from past seasons, and software made before Kickoff, is allowed.

The same code, two ways

Left: the plain FTC SDK. Right: FTC-Helper-Lib.

Field-centric mecanum driving with a slow trigger.

Plain FTC SDK 29 lines
DcMotor fl = hardwareMap.get(DcMotor.class, "front_left");
DcMotor fr = hardwareMap.get(DcMotor.class, "front_right");
DcMotor bl = hardwareMap.get(DcMotor.class, "back_left");
DcMotor br = hardwareMap.get(DcMotor.class, "back_right");
fl.setDirection(DcMotor.Direction.REVERSE);
bl.setDirection(DcMotor.Direction.REVERSE);
for (DcMotor m : new DcMotor[] {fl, fr, bl, br})
    m.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);
IMU imu = hardwareMap.get(IMU.class, "imu");
imu.initialize(new IMU.Parameters(new RevHubOrientationOnRobot(
        RevHubOrientationOnRobot.LogoFacingDirection.UP,
        RevHubOrientationOnRobot.UsbFacingDirection.FORWARD)));
imu.resetYaw();

waitForStart();
while (opModeIsActive()) {
    if (gamepad1.back) imu.resetYaw();
    double y = -gamepad1.left_stick_y, x = gamepad1.left_stick_x;
    double turn = gamepad1.right_stick_x;
    double h = imu.getRobotYawPitchRollAngles().getYaw(AngleUnit.RADIANS);
    double fx = x * Math.cos(-h) - y * Math.sin(-h);
    double fy = x * Math.sin(-h) + y * Math.cos(-h);
    double speed = gamepad1.left_trigger > 0.5 ? 0.3 : 1.0;
    double d = Math.max(Math.abs(fy) + Math.abs(fx) + Math.abs(turn), 1);
    fl.setPower((fy + fx + turn) / d * speed);
    bl.setPower((fy - fx + turn) / d * speed);
    fr.setPower((fy - fx - turn) / d * speed);
    br.setPower((fy + fx - turn) / d * speed);
}

The rotation math, motor directions and power scaling, all by hand.

With FTC-Helper-Lib 10 lines
// Robot.java
drive(Drive.mecanum("front_left", "front_right", "back_left", "back_right")
        .imu("imu", LogoFacingDirection.UP, UsbFacingDirection.FORWARD));

// Controls.java: the whole TeleOp
@TeleOp(name = "TeleOp")
public class Controls extends ControlMap<Robot> {
    @Override protected boolean startFieldCentric() { return true; }
    @Override protected void buttons(Robot robot, Pad g1, Pad g2) { }
}

Free, with no extra code:

  • Motor directions and brake, set for you
  • Wheel powers scaled for you
  • Pause with a tap of BACK
  • A clear INIT message for a wrong name

Try your robot without a robot: the simulator

A real TeleOp, running on a laptop.

Your real OpModes, on a laptop, in a browser.

  • The BIOBUZZ field in 3D, with physics
  • The game's rules and a live score
  • Your robot's real size, checked against the limits
  • Drive it with a keyboard or gamepad

The simulator guide

Plan an autonomous on the field

In the simulator

  • Place steps or draw a Pedro path
  • Run it with your real code
  • Copy the Java

On the web

  • Simple steps for any robot
  • Pedro paths for mecanum
  • Copy the Java, print a setup card

Features

Robot parts

Add each part of your robot in one line, with safety built in.

  • Motors and servos One line each, and a clear message when a name is wrong.
  • Buttons Tap, hold, double-tap and pairs, all on one gamepad button.
  • Mecanum and tank drive Robot- or field-centric driving, with slow mode built in.
  • Lifts and arms Named heights, and limits it never goes past, on one or two motors.
  • Intakes In, out and on/off on any button; jams cleared by themselves.
  • Game pieces counted Sensors count the pieces held, and the intake stops at four.
  • A light for the drivers Shows your alliance before the match, then flashes for each shot.
  • Interlocks Two parts can never hit each other, whoever moves them.

Shooting

From the flywheel to the aim, with tools to tune every shot.

  • Flywheel, hood and feeder Speed in RPM. Coordinates multiple components of your firing system.
  • Turrets On a motor, a servo or a CR servo, with safe limits or a slip ring.
  • AprilTag aiming A webcam or Limelight finds the goal; odometry takes over when it cannot.
  • Whole-robot aim With no turret, the drive turns the whole robot to face the goal.
  • Shot Tuner Mark hits and misses, and it keeps the speed that scores best.

Autonomous

Write the plan once as a list of steps; the library runs the match.

  • Autonomous steps Moves, turns and actions in order, with the 30-second timer and a report.
  • Red and blue One plan for both alliances, flipped for you on mirrored fields.
  • Odometry A Pinpoint, an OTOS or dead wheels tell the robot where it is.
  • Pedro paths Smooth lines and curves across the field, with no stops between them.
  • Plan it on a map Place the steps on the field, and the builder writes the Java for you.
  • Ready, aim, fire Spin up before the drive, and an aim that looks around for the goal.

Build, tune, test

Start small, add parts as you build them, and test without the robot.

  • Five files The whole robot: its parts, numbers, buttons and autonomous modes.
  • Add parts one at a time The library skips a part that is not built yet, so the rest still runs.
  • Your own code Add code at INIT, START, every loop and STOP, or write the whole OpMode yourself with the library's robot.
  • Live tuning Change numbers from the gamepad while the robot runs.
  • Every number explained One page for every setting: what it does and how to find it.
  • Tune and check Includes a tuning OpMode to fine-tune values specific to your unique robot.
  • Tests on a laptop Pretend motors and servos check your code with no robot.
  • Cookbook More than 100 short answers to “how do I...?”, with code to copy.
  • Update library button One click to the newest version, with what changed.

See every feature

Start here