Skip to content
Work in progress. This library and its docs are new and still changing, and some parts are not yet tested on a real robot. If something is wrong or unclear,tell us with a short GitHub form.

Pick your template

For: a team that starts its robot code. You need: the library in your robot project (Add the library). If you are new to the library, start at Pick your start: short pages for the same choice, one per start.

A template is robot code you copy and then change. Start from the one that looks most like your robot: you delete less and type less. Most of them (all but the last row) are a robot in five files: Robot.java, Tunables.java, Controls.java, Actions.java and an autos folder (The five files explains them).

Some have extra files: a finder that knows the robot (lessonbot/DriveTuner.java, odometrybot/OdometryTuner.java, turretbot/HoodFinder.java and ShotTuner.java), or Pedro’s numbers (pedrobot/PedroConstants.java). Copy them with the rest.

Your robot looks like this: start from that

Section titled “Your robot looks like this: start from that”
Your robot looks like… Start from What it has
anything, and its configuration is on the Driver Station ./gradlew :sim:newRobot (Blank slate, way A) five files made for you from your configuration, with each part’s line and TODO marks, and every setting in Tunables.java as DEFAULT or MEASURE (the two words)
a mecanum drive and an intake, no configuration yet quickstart (Blank slate, way B) the smallest robot, with STEP marks on every line to change
a mecanum drive, an intake, a lift and a claw lessonbot the example robot of The five files and Add to your robot, and its Drive Tuner
goBILDA’s FTC StarterBot (BIOBUZZ) gobildabot tank drive, intake with two corner wheels, flywheel and “windmill” feeder; goBILDA’s own names
goBILDA’s FTC StarterBot with Mecanum Wheels (BIOBUZZ, Strafer chassis) gobildastraferbot mecanum drive, intake with two corner wheels, flywheel and “windmill” feeder; goBILDA’s own names
REV’s DUO FTC Starter Bot (BIOBUZZ) revbot tank drive, intake, flywheel and CR-servo feeder, the pollen pusher (“poker”); REV’s own names
AndyMark’s Robits BIOBUZZ StarterBot andymarkbot tank drive, roller intake, the catapult (see the note below); AndyMark’s own names
Studica’s FTC Starter Bot (BIOBUZZ) studicabot tank drive, intake, flywheel and servo flap (see the note below); Studica’s own names
a tank drive and a flywheel shooter flywheelbot intake on from the start, a deploy servo, a flywheel the driver speeds up and down, a servo feeder, a webcam and whole-robot aim (no turret)
a mecanum drive with a turret and a camera turretbot a Limelight that the turret follows, speed and hood angle from distance with a POLLEN and a NECTAR table (a hood servo, Hood Finder), a buzz when on target, a folding claw, a Shot Tuner (Add a launcher)
a turret shooter AND a lift with a wrist and a claw (two parts that share space) v2bot team 8938’s 2026-27 designs: a turret on a magnetic home switch (+/-190 degrees), a hood, odometry, a piece count, a Viper-Slide lift with a wrist and a claw, the lifter’s steps as actions, and an interlock rule that keeps the turret out of the back while the wrist holds the claw low behind the robot
a mecanum drive with odometry (Pinpoint, OTOS or dead wheels) odometrybot driveTo field points, the Odometry Tuner (Add odometry)
a mecanum drive with odometry and Pedro Pathing pedrobot odometrybot plus paths (Add Pedro paths); add Pedro to the project first (Add Pedro paths)
you already use the older six-file starter kit starter (Starter kit) EasyTeleOp and EasyAuto; kept for teams that use it. New teams: use a row above

If you are not sure: use :sim:newRobot if your configuration is ready, and quickstart if it is not. You can copy single lines from the other templates later (for example the launcher line from flywheelbot).

The kit bots use the same configuration names as each seller’s own code, so the files run on that kit as it is. Where each number comes from, and what each kit bot’s code does differently (buttons, guessed numbers): The BIOBUZZ starter bots (REV, goBILDA, AndyMark, Studica). Two kit mechanisms are not parts of the library, so their templates use the closest part and say so in Robot.java:

  • AndyMark’s catapult: the library has no catapult. The template drives its motor as an Indexer that runs for a set time per press. Tune that time so one press is one throw. The library cannot tell when the catapult is wound, so it cannot wait for “ready” as a flywheel does.
  • Studica’s flywheel: the launcher cannot take the 2:1 gear between the motor and the wheels. The flywheel speed in Tunables.java is the motor’s (the wheels turn at half of it). Tune it by watching shots. The Maverick motors and the servo are not in the parts catalog: Robot.java describes them with Studica’s numbers (Parts not in the catalog).

If you used :sim:newRobot, skip this part: it writes the files into TeamCode for you. For every other template, follow Copy example files into TeamCode: the package lines, the imports, the @Disabled lines and the OpMode names.

Then build. Check the motor directions with the wheels off the ground (Robot.java). Check every part with the Hardware Check: Check the hardware.

Numbers: every number in Tunables.java is a starting value. Find the real ones with the finders. The hub saves a number you change live on the robot (in the tuning menu). It keeps using that saved value, even after you edit the number in Tunables.java, and another hub does not have it. So copy each new value back into Tunables.java. INIT lists the values that differ.

Try it first in the simulator. The kit bots have robot files. Run one, then pick “REV Bot TeleOp” (Simulator guide). -PteamCode=none runs the library’s example, not your copy.

Where: Android Studio’s Terminal tab, in the ftc-helper-lib folder (type cd ftc-helper-lib first). (Which folder)

./gradlew :sim:run -Probot=sim/robots/starter-bot-rev.properties -PteamCode=none

Your copy in the simulator. Run your TeamCode with the kit’s measured robot file:

Where: Android Studio’s Terminal tab, in the ftc-helper-lib folder (type cd ftc-helper-lib first). (Which folder)

./gradlew :sim:run -Probot=sim/robots/starter-bot-rev.properties -PteamCode=../TeamCode

You can also copy that file to simulator/robot.properties in your robot project. Then you do not need -Probot. Use the kit’s file. A file from :sim:fromRobot guesses an 18 x 18 in robot. Then the REV, AndyMark and Studica bots start “overlapping the field wall” on BLUE.

What the simulator cannot show yet (so you know the problem is not in your copy):

  • The REV, AndyMark and Studica bots do not shoot in the simulator: their robot files have no shot line. Their flywheels may also never say READY, because the example speeds are higher than the simulated motor reaches. Tune the speed on the real robot.
  • An autonomous whose start(...) gives no spot (only a note and a heading) starts where the last program left the robot. Press Back to start (Control Hub panel, Robot tab) before you run it.
  • Some INIT lines are normal in the simulator: !! Drive not tuned: runs in the simulator only (on the robot, the autonomous waits for the Drive Tuner), a turret’s Turret : no angle from a program before: ... (turn it to its start angle on the robot), and a camera’s limelight lighting : trying ... until it sees a tag.

The five files: what each file is for. Then Add to your robot: one page per part.

Something wrong on this page? Tell us with a short GitHub form.