# ftc-helper-lib docs > ftc-helper-lib is a Java helper library for FIRST Tech Challenge (FTC) robots, for students with little or no Java. These are its docs for release v0.47.0 (docs updated 2026-11-21), from https://crossbotics.com/ftc-helper/docs/. Use only classes, methods and Tunables names that these docs show. A team's own library version can be older: it is in the project's ftc-helper-lib folder (git -C ftc-helper-lib describe --tags). The full text: https://crossbotics.com/llms-small.txt (the main pages) and https://crossbotics.com/llms-full.txt (every page). ## Start - [FTC-Helper-Lib docs](https://crossbotics.com/ftc-helper/docs/): Every page of the FTC-Helper-Lib docs, release v0.47.0. - [Keep the library up to date](https://crossbotics.com/ftc-helper/docs/02-keep-up-to-date/) - [Add to your robot](https://crossbotics.com/ftc-helper/docs/add-to-robot/): Add one part at a time to the robot that drives. Each page adds one part to the five files. - [From Blocks to Java: where each block went](https://crossbotics.com/ftc-helper/docs/blocks-to-java/): Read this page if you have made programs with blocks (Scratch, FTC Blocks, or similar) but not with Java. Each block you know has a place in the robot's five files. Come back to this page with Controls.java. - [Commenting style](https://crossbotics.com/ftc-helper/docs/commenting-style/): The people reading this code are high-school students, many with little or no Java: assume a novice programmer. Comments are how they learn what each part does and WHY we wrote it that way. Every file follows this guide. - [Contributing: add or change something in the library](https://crossbotics.com/ftc-helper/docs/contributing/): Anyone on the team can improve the library. Because every robot project uses it, each change follows the same six steps, so nothing breaks and the docs and tutorials stay true. - [Signs and units](https://crossbotics.com/ftc-helper/docs/conventions/): Robot code goes wrong most often when two parts disagree about which way is "positive". This library uses ONE set of rules everywhere. Learn these, and you can read any part of it. - [Cookbook: "How do I...?"](https://crossbotics.com/ftc-helper/docs/cookbook/): Short answers to the questions students ask most, one page per topic. Each recipe has one question, a few lines of code to copy, one sentence on why, and links to the page that explains more. - [Coming from last season's code](https://crossbotics.com/ftc-helper/docs/from-last-season/): The library started from the 2025-26 (DECODE) robot code, branch codex/biobuzz-base of the team's FtcRobotController repository. This page is for programmers who know that code. If you are new to it, start with Pick your start instead. - [Simulator](https://crossbotics.com/ftc-helper/docs/simulator/): Run your real robot code on a laptop, with a pretend robot on a pretend field. - [Read Java and make your first edit](https://crossbotics.com/ftc-helper/docs/start-from-zero/) - [Starter kit: a whole robot program](https://crossbotics.com/ftc-helper/docs/starter-kit/): Six files that make a complete, competition-ready robot program: one TeleOp for both alliances, an autonomous with a menu, a hardware check, and one place for every setting. Copy them, change names and numbers, and you have a working robot. - [Pick your template](https://crossbotics.com/ftc-helper/docs/templates/) - [Tests](https://crossbotics.com/ftc-helper/docs/tests/): Check that your robot code still does its job, and that the robot itself is ready to run. - [Troubleshooting](https://crossbotics.com/ftc-helper/docs/troubleshooting/): Find your problem below. Each answer says what is wrong and what to do. Tip: copy the exact error text and search this page for it (Ctrl+F, or Cmd+F on a Mac). - [Writing style for the docs](https://crossbotics.com/ftc-helper/docs/writing-style/) ## Setup - [Set up: the tools and the library](https://crossbotics.com/ftc-helper/docs/setup/) - [Set up 1: before you start](https://crossbotics.com/ftc-helper/docs/setup/01-before-you-start/): No Java needed. - [Set up 2: install Android Studio](https://crossbotics.com/ftc-helper/docs/setup/02-android-studio/): Do it on each laptop. - [Set up 3: GitHub and the robot project](https://crossbotics.com/ftc-helper/docs/setup/03-github-and-the-project/): Do it on each laptop. - [Set up 4: add the library](https://crossbotics.com/ftc-helper/docs/setup/04-add-the-library/): Do it once per robot project, usually a mentor or the code lead. After you commit and push it, everyone who clones the project gets the library. - [Set up 5: update the hubs](https://crossbotics.com/ftc-helper/docs/setup/05-update-the-hubs/): Do it once a season, and again before an event if REV releases an update. - [Set up 6: build and install](https://crossbotics.com/ftc-helper/docs/setup/06-build-and-install/): You build the robot project and install it on the Control Hub. - [Set up 7: make the robot configuration](https://crossbotics.com/ftc-helper/docs/setup/07-robot-configuration/): Do it once per robot, and again when you add a part. - [Set up 8: every practice: pull, change, commit, push](https://crossbotics.com/ftc-helper/docs/setup/08-every-practice/): Everyone who changes code does this, every practice. - [Set up 9: the Terminal](https://crossbotics.com/ftc-helper/docs/setup/09-the-terminal/): Use this page when another page gives you a command to type. ## Pick your start - [Pick your start](https://crossbotics.com/ftc-helper/docs/pick-your-start/) - [Start from a starter bot](https://crossbotics.com/ftc-helper/docs/pick-your-start/01-starter-bot/): For a starter bot from goBILDA (tank or Strafer), REV, AndyMark or Studica. - [Start from a common setup](https://crossbotics.com/ftc-helper/docs/pick-your-start/02-common-setup/): For a robot that is like one of the library's example robots. - [Start from a blank slate](https://crossbotics.com/ftc-helper/docs/pick-your-start/03-blank-slate/): For your own robot design. - [Copy example files into TeamCode](https://crossbotics.com/ftc-helper/docs/pick-your-start/04-copy-into-teamcode/): Pages 1 to 3 send you here. Do these steps, then go back. ## Five files - [The five files: your robot's code](https://crossbotics.com/ftc-helper/docs/five-files/) - [Robot.java: what is on the robot](https://crossbotics.com/ftc-helper/docs/five-files/01-robot-java/) - [Tunables.java: the numbers](https://crossbotics.com/ftc-helper/docs/five-files/02-tunables-java/) - [Controls.java: the buttons, and the TeleOp](https://crossbotics.com/ftc-helper/docs/five-files/03-controls-java/) - [Actions.java: several parts together](https://crossbotics.com/ftc-helper/docs/five-files/04-actions-java/): An action is a list of steps that use several parts, with waits between them: "intake on, fire 3, wait until the shots are done, intake off". You write it once in Actions.java. Then one button starts it in TeleOp, and the same action is a step in an autonomous. - [autos/: your autonomous programs](https://crossbotics.com/ftc-helper/docs/five-files/05-autos/): An autonomous (auto) is the program the robot runs by itself, in the first 30 seconds of a match. autos/ is a folder. Each file in it is one autonomous, with its own name on the Driver Station. ## Controls - [Controls](https://crossbotics.com/ftc-helper/docs/controls/): The controls are what each gamepad button does in TeleOp. You write them in Controls.java, one line per button. These pages show every way a button can work, what the drivers see and feel, and how to move the library's own buttons. - [How buttons work](https://crossbotics.com/ftc-helper/docs/controls/01-how-buttons-work/): Who holds which gamepad, the four pieces of a button line, and the rules INIT checks. - [Press types](https://crossbotics.com/ftc-helper/docs/controls/02-press-types/): Every way a button can start its job, with one line of code each. - [What the drivers see and feel](https://crossbotics.com/ftc-helper/docs/controls/03-see-and-feel/): Words on the button map, buzzes, lights, and values on the screen. - [Move the library's buttons](https://crossbotics.com/ftc-helper/docs/controls/04-move-library-buttons/): Put the library's own jobs (driving, pause, the menus) on other buttons, or free them. ## Building autos - [Building autos](https://crossbotics.com/ftc-helper/docs/building-autos/): An auto (autonomous) is the program the robot runs by itself in the first 30 seconds of a match. You write it as a list of steps. These pages show every step you can use and how to put steps together. They also show how to keep multiple autos, and how to build one on a picture of the field. - [What an auto can do](https://crossbotics.com/ftc-helper/docs/building-autos/01-what-an-auto-can-do/): Every step you can put in an auto, in groups. - [Put steps together](https://crossbotics.com/ftc-helper/docs/building-autos/02-put-steps-together/): Make parts work while the robot drives, keep time to park, and drive the right way for red and blue. - [Having multiple autos](https://crossbotics.com/ftc-helper/docs/building-autos/03-multiple-autos/): Keep more than one plan, and pick the right one at the field. - [Drive to points on the field](https://crossbotics.com/ftc-helper/docs/building-autos/04-drive-to-points/): Drive to points on the field with driveTo, and go around field parts with routeTo. - [Add Pedro paths](https://crossbotics.com/ftc-helper/docs/building-autos/05-pedro-paths/): Smooth curved paths in autonomous, driven by the Pedro Pathing library. - [The auto builder: steps](https://crossbotics.com/ftc-helper/docs/building-autos/06-auto-builder-steps/): Build an auto on a picture of the field, run it with your own code, and copy the Java into your project. - [The auto builder: odometry and Pedro](https://crossbotics.com/ftc-helper/docs/building-autos/07-auto-builder-odometry-and-pedro/): Build driveTo steps and Pedro paths on the field map, run them in the simulator, and copy the Java. - [Advanced autos](https://crossbotics.com/ftc-helper/docs/building-autos/08-advanced-autos/): What the auto builder cannot write: waits for a part, choices in INIT, shared steps in Routes.java, a number for RED, and your own steps. - [Match day](https://crossbotics.com/ftc-helper/docs/building-autos/09-match-day/): Get the auto right at an event: before the event, before each match, and after it. ## Tuning - [Tuning](https://crossbotics.com/ftc-helper/docs/tuning/): Find your robot's numbers in the right order, then fix what you see on the field. - [Before you tune: the Tune and check OpMode](https://crossbotics.com/ftc-helper/docs/tuning/01-tune-and-check/): One OpMode holds every tool. Read this page once before your first finder. - [Wiring checks: motors and encoders](https://crossbotics.com/ftc-helper/docs/tuning/02-wiring-checks/): Check that every device answers, every wheel rolls forward, and every encoder cable is in its own port. - [Servo Finder: ends and positions](https://crossbotics.com/ftc-helper/docs/tuning/03-servo-finder/): Find where a servo part stops at each end, and the positions you use between them. - [Hood Finder](https://crossbotics.com/ftc-helper/docs/tuning/04-hood-finder/): Find a launcher hood's two stops, and its angles if you want them. - [Motor Finder: limits, positions, top speed](https://crossbotics.com/ftc-helper/docs/tuning/05-motor-finder/): Find a lift's, an arm's or a turret's limits and named positions, and its top speed. - [Flywheel Finder: gains and recovery](https://crossbotics.com/ftc-helper/docs/tuning/06-flywheel-finder/): Find the gains that hold a flywheel at its speed, and how fast it recovers after a shot. - [Feed Stop Finder](https://crossbotics.com/ftc-helper/docs/tuning/07-feed-stop-finder/): Find where a launcher's feed stop holds the pieces back, and where it lets one through. - [Feed Time Finder](https://crossbotics.com/ftc-helper/docs/tuning/07-feed-time-finder/): Find how long the feeder must run to get one piece into the wheel: feedSec. - [Drive Tuner: wheel size and strafe correction](https://crossbotics.com/ftc-helper/docs/tuning/08-drive-tuner/): Measure the real wheel size and how far a mecanum robot slips sideways, so autonomous moves go the right distance. - [Odometry Tuner: directions, offsets and a loop check](https://crossbotics.com/ftc-helper/docs/tuning/09-odometry-tuner/): Check which way each odometry pod counts, measure where the pods sit, and prove the pose comes back to its start. - [Move Tuner: how exactly moves stop and turns end](https://crossbotics.com/ftc-helper/docs/tuning/10-move-tuner/): Make autonomous moves stop where they should, and turns end on their heading. - [Camera lighting](https://crossbotics.com/ftc-helper/docs/tuning/11-camera-lighting/): Set up the camera so that it finds the AprilTags in every kind of light. - [Aim Tuner: camera offset](https://crossbotics.com/ftc-helper/docs/tuning/12-aim-tuner/): Make the turret or the robot aim at the middle of the goal, when the camera sits off to one side. - [Shot Tuner: the shot table](https://crossbotics.com/ftc-helper/docs/tuning/13-shot-tuner/): Find the flywheel speed (and hood angle) that hits the goal at each distance. - [Piece Tuner: what each sensor sees](https://crossbotics.com/ftc-helper/docs/tuning/14-piece-tuner/): Teach each piece sensor what each kind of game piece looks like, and what "nothing there" looks like. - [Characterizer: how the robot really moves](https://crossbotics.com/ftc-helper/docs/tuning/15-characterizer/): Measure how each motor behaves, for feedforward and for the simulator. - [Live tuning: change numbers while the robot runs](https://crossbotics.com/ftc-helper/docs/tuning/16-live-tuning/): Change a number from the gamepad while your TeleOp runs, then copy it back into Tunables.java. This is the tuning menu inside your TeleOp, not the Tune and check OpMode. - [Fix it by what you see](https://crossbotics.com/ftc-helper/docs/tuning/17-fix-by-symptom/): Something on the robot is not right. Find what you see, and change one number. ## Reference - [Reference](https://crossbotics.com/ftc-helper/docs/reference/) - [Controls.java](https://crossbotics.com/ftc-helper/docs/reference/controls/) - [Search every class and method](https://crossbotics.com/ftc-helper/docs/reference/javadoc/) - [Aim](https://crossbotics.com/ftc-helper/docs/reference/parts/aim/) - [Arm](https://crossbotics.com/ftc-helper/docs/reference/parts/arm/): An arm that swings on a hinge. A motor turns it to named angles, in degrees. It works like a Lift, but in degrees. Learn it step by step: Robot.java, the other parts. - [Camera](https://crossbotics.com/ftc-helper/docs/reference/parts/camera/): A Limelight, a webcam or a HuskyLens. It finds the alliance's goal by its AprilTags. Learn it step by step: Add a camera. - [Claw](https://crossbotics.com/ftc-helper/docs/reference/parts/claw/): A servo that opens and closes. Learn it step by step: Robot.java, the other parts. - [Drive](https://crossbotics.com/ftc-helper/docs/reference/parts/drive/): The wheels that move the robot: a mecanum drive or a tank drive. Every robot has one. Learn it step by step: Robot.java, the drive. - [Hood](https://crossbotics.com/ftc-helper/docs/reference/parts/hood/): A launcher's hood: the part that tilts to make the shot leave steeper or flatter. Any design fits: a servo or a motor with an encoder, a straight gear or a linkage, any range, either direction. It is part of a Launcher. - [Indexer](https://crossbotics.com/ftc-helper/docs/reference/parts/indexer/): A part that feeds one game piece at a time: a servo arm, a CR servo wheel, or a motor. Usually it is the feeder of a Launcher (.feeder(...)). Learn it step by step: Robot.java, add a part. - [Intake](https://crossbotics.com/ftc-helper/docs/reference/parts/intake/): A roller that takes game pieces in and pushes them out. It runs on a motor, on continuous-rotation (CR) servos, or on both. Learn it step by step: Robot.java, add a part. - [Interlock](https://crossbotics.com/ftc-helper/docs/reference/parts/interlock/) - [Launcher](https://crossbotics.com/ftc-helper/docs/reference/parts/launcher/) - [Lift](https://crossbotics.com/ftc-helper/docs/reference/parts/lift/): A slide on a motor that goes up and down to named heights. It can have a bottom switch. Learn it step by step: Robot.java, the other parts. - [Lights](https://crossbotics.com/ftc-helper/docs/reference/parts/lights/): A colored light on the robot. The drivers watch the robot, not the Driver Station. So the light shows them what they need: green when the robot is ready to fire, orange blinking when it is jammed, a white flash for each piece fired, yellow in the last 20 seconds. - [Odometry](https://crossbotics.com/ftc-helper/docs/reference/parts/odometry/) - [PathFollower and PathAt](https://crossbotics.com/ftc-helper/docs/reference/parts/path-follower/) - [Pieces and PieceSensor](https://crossbotics.com/ftc-helper/docs/reference/parts/pieces/): Which game piece is at a spot, how many the robot holds, and which one fires next. Pieces keeps the count. Each PieceSensor sees one spot: a color sensor, a distance sensor, or a second webcam. - [Positioner](https://crossbotics.com/ftc-helper/docs/reference/parts/positioner/): Any servo with named positions: a deploy, a fold-out, a gate. Learn it step by step: Robot.java, the other parts. - [Turret](https://crossbotics.com/ftc-helper/docs/reference/parts/turret/) - [Wrist](https://crossbotics.com/ftc-helper/docs/reference/parts/wrist/): A servo with named positions that tilts a claw. Learn it step by step: Robot.java, the other parts. - [The robot file](https://crossbotics.com/ftc-helper/docs/reference/robot-file/): The robot file (simulator/robot.properties in your robot project) describes your robot to the simulator. The simulator makes most of it from Robot.java (Your robot file). Every line is name = value. Text after # (after a space) is a note. - [Robot.java](https://crossbotics.com/ftc-helper/docs/reference/robot-java/) - [Scenario files](https://crossbotics.com/ftc-helper/docs/reference/scenario-files/) - [Steps for autos](https://crossbotics.com/ftc-helper/docs/reference/steps/): Every autonomous step, actions, modes, and keeping time to park. Learn it step by step: Building autos (every step, with a tested example). - [Tunables.java](https://crossbotics.com/ftc-helper/docs/reference/tunables/): How the numbers work: sections, names, DEFAULT and MEASURE, units, what INIT checks, and the tuning menu. Each part's own numbers are on its page (Each part's numbers). Learn it step by step: Tunables.java. ## Tutorials - [Build it by hand](https://crossbotics.com/ftc-helper/docs/tutorials/) - [Tutorial 01: OpMode basics with the library](https://crossbotics.com/ftc-helper/docs/tutorials/01-opmode-basics/): The five files write the OpMode for you: The five files. Write one by hand here to see the shape that every robot program has inside. - [Tutorial 02: Motors and servos](https://crossbotics.com/ftc-helper/docs/tutorials/02-motors-and-servos/): In the five files, Robot.java gets and sets up each motor and servo for you: Add a lift, Add a claw. Do it by hand here to see what that setup does, or for a part that has no module. - [Tutorial 03: Buttons](https://crossbotics.com/ftc-helper/docs/tutorials/03-buttons/): In the five files, each button is one line in Controls.java: How buttons work. Build the buttons by hand here with ControllerBindings, the layer under Controls.java, to see how a press becomes one action. - [Tutorial 04: Drive a mecanum robot](https://crossbotics.com/ftc-helper/docs/tutorials/04-drive-mecanum/): In the five files, one drive(...) line in Robot.java gives you all of this: Robot.java. Build the drive by hand here with MecanumDrive to see what that line does inside. - [Tutorial 05: Drive a standard (tank) robot](https://crossbotics.com/ftc-helper/docs/tutorials/05-drive-tank/): In the five files, one line in Robot.java sets up a tank drive: A tank drive instead. Build it by hand here with TankDrive to see the two driving styles inside. - [Tutorial 06: A fast, clear loop](https://crossbotics.com/ftc-helper/docs/tutorials/06-fast-clear-loop/): In the five files, Robot.java turns on bulk reads for you, and the screen shows each part's values: What the drivers see and feel. Build it by hand to see what a bulk read is, and what makes a loop fast or slow. - [Tutorial 07: PID: hold a lift at a height](https://crossbotics.com/ftc-helper/docs/tutorials/07-pid-lift/): In the five files, the lift part has its PID built in, with its gains in Tunables.java: Add a lift. Build it by hand to see what a PID controller does, or to hold a part that has no module. - [Tutorial 08: A lift that cannot hurt itself](https://crossbotics.com/ftc-helper/docs/tutorials/08-safe-lift/): In the five files, the lift part has its limits, homing and stick control built in: Add a lift. Build it by hand to see how software limits work, and why they do not replace hard stops. - [Tutorial 09: Autonomous by hand with AutoDrive](https://crossbotics.com/ftc-helper/docs/tutorials/09-first-auto/): In the five files, an auto is a list of steps, and the Drive Tuner finds the numbers: Building autos. Build it by hand to see how a move measures distance and turns, and why an untuned robot must not drive. - [Tutorial 10: Autonomous with mechanisms](https://crossbotics.com/ftc-helper/docs/tutorials/10-auto-with-mechanisms/): In the five files, steps start a part while the robot drives, and the INIT menu picks red or blue: Put steps together. Build it by hand to see how a part keeps working while a move waits, and how to wait safely. - [Tutorial 11: Driver assists](https://crossbotics.com/ftc-helper/docs/tutorials/11-driver-assists/) - [Tutorial 12: Organize a whole robot](https://crossbotics.com/ftc-helper/docs/tutorials/12-robot-structure/) - [Tutorial 13: Test your code without a robot](https://crossbotics.com/ftc-helper/docs/tutorials/13-testing/) - [Tutorial 14: Mechanism helpers](https://crossbotics.com/ftc-helper/docs/tutorials/14-mechanisms/) - [Tutorial 15: Telemetry, profiles and tuning](https://crossbotics.com/ftc-helper/docs/tutorials/15-telemetry-profiles-tuning/) - [Tutorial 16: Easy autonomous](https://crossbotics.com/ftc-helper/docs/tutorials/16-easy-autos/): With the five files, your autos already run on EasyAuto: Building autos. Build one by hand here to see what EasyAuto does inside, and to write an auto for a robot without the five files. - [Tutorial 17: Launcher](https://crossbotics.com/ftc-helper/docs/tutorials/17-launcher/): With the five files, the Launcher module builds all of this from Tunables.java: Add a launcher. Build it by hand here to see how a flywheel shooter works inside, or for a shooter the module does not fit. - [Tutorial 18: Vision aiming (webcam or Limelight 3A)](https://crossbotics.com/ftc-helper/docs/tutorials/18-vision-aim/): With the five files, the Camera and Aim modules do all of this from Tunables.java: Add a camera. Build it by hand here to see how a camera and aiming work inside, or for a camera setup the modules do not fit. - [Check the hardware (tutorial 19)](https://crossbotics.com/ftc-helper/docs/tutorials/19-testing-procedures/): With the five files, the Hardware Check is already in the Tune and check menu: Wiring checks. Build it by hand here to see that a whole library OpMode can be a 3-line file. Or build it to run it as its own OpMode on a robot without the five files. - [Tutorial 20: Easy TeleOp](https://crossbotics.com/ftc-helper/docs/tutorials/20-easy-teleop/): With the five files, Controls.java already runs on EasyTeleOp: Controls.java. Build one by hand here to see what EasyTeleOp does inside, and to write a TeleOp for a robot without the five files. - [Tutorial 21: Find your numbers](https://crossbotics.com/ftc-helper/docs/tutorials/21-finders/): With the five files, every finder is already in the Tune and check menu: Tuning. Build the finders by hand here to see how to make a finder OpMode. Or build one to run it as its own OpMode on a robot without the five files. ## Guides - [How it all fits together](https://crossbotics.com/ftc-helper/docs/guides/architecture/) - [Ask an AI agent about the library](https://crossbotics.com/ftc-helper/docs/guides/ask-an-ai-agent/) - [Easy autonomous modes](https://crossbotics.com/ftc-helper/docs/guides/easy-autos/) - [What runs every loop](https://crossbotics.com/ftc-helper/docs/guides/every-loop/) - [Example: drive, slow mode, and an intake that starts on](https://crossbotics.com/ftc-helper/docs/guides/example-drive-intake/) - [Extending the library](https://crossbotics.com/ftc-helper/docs/guides/extending/) - [Git and GitHub for FTC teams](https://crossbotics.com/ftc-helper/docs/guides/github/) - [How the simulator works](https://crossbotics.com/ftc-helper/docs/guides/how-the-simulator-works/): The inside of the simulator: how it moves the robot, how it plays the game, how it judges shots, and what it does not simulate. To use it, start with Simulator. - [Two parts that must not collide (interlocks)](https://crossbotics.com/ftc-helper/docs/guides/interlocks/): Some robots have two parts that share space. A turret swings over the back, and a lift rises at the back. An arm swings down where the intake folds out. A wrist sticks out past the slide. Each part on its own is safe inside its limits. Together, they can crash. - [Setting up Limelight lighting pipelines](https://crossbotics.com/ftc-helper/docs/guides/limelight-lighting/) - [A new season: what to do](https://crossbotics.com/ftc-helper/docs/guides/new-season/) - [Non-blocking code: keep the loop running](https://crossbotics.com/ftc-helper/docs/guides/non-blocking/) - [Parts catalog: motors, servos, wheels and rollers](https://crossbotics.com/ftc-helper/docs/guides/parts-catalog/) - [Profiles: practice vs competition](https://crossbotics.com/ftc-helper/docs/guides/profiles/) - [Your robot in the simulator: the robot-file skill](https://crossbotics.com/ftc-helper/docs/guides/robot-file-skill/) - [The BIOBUZZ starter bots: robot files and code](https://crossbotics.com/ftc-helper/docs/guides/starter-bots/) - [Setting up a turret](https://crossbotics.com/ftc-helper/docs/guides/turret-setup/): Teams build turrets in many ways. Answer the seven questions below about yours. Each answer gives you the exact line for Robot.java and the lines for Tunables.java. A summary table, four complete examples, how to find each number, what the INIT screen shows, and common mistakes follow. - [Use only what you need](https://crossbotics.com/ftc-helper/docs/guides/use-only-what-you-need/) - [Your own code at INIT, ▶, every loop and STOP](https://crossbotics.com/ftc-helper/docs/guides/your-own-code/) ## Modules - [Auto module](https://crossbotics.com/ftc-helper/docs/modules/auto/): Package: com.crossbotics.ftchelper.auto - [Control module](https://crossbotics.com/ftc-helper/docs/modules/control/): Package: com.crossbotics.ftchelper.control - [Core module](https://crossbotics.com/ftc-helper/docs/modules/core/): Package: com.crossbotics.ftchelper.core - [Drive module](https://crossbotics.com/ftc-helper/docs/modules/drive/): Package: com.crossbotics.ftchelper.drive - [Finders module](https://crossbotics.com/ftc-helper/docs/modules/finders/): Package: com.crossbotics.ftchelper.finders - [Gamepad module](https://crossbotics.com/ftc-helper/docs/modules/gamepad/): Package: com.crossbotics.ftchelper.gamepad - [Hardware module](https://crossbotics.com/ftc-helper/docs/modules/hardware/): Package: com.crossbotics.ftchelper.hardware - [Launcher module](https://crossbotics.com/ftc-helper/docs/modules/launcher/): Package: com.crossbotics.ftchelper.launcher - [Match module](https://crossbotics.com/ftc-helper/docs/modules/match/): Package: com.crossbotics.ftchelper.match - [Mechanism module](https://crossbotics.com/ftc-helper/docs/modules/mechanism/): Package: com.crossbotics.ftchelper.mechanism - [Odometry module](https://crossbotics.com/ftc-helper/docs/modules/odometry/): Package: com.crossbotics.ftchelper.odometry (the Robot.java line, Odometry, is in com.crossbotics.ftchelper.robot). - [Pedro module (Pedro Pathing)](https://crossbotics.com/ftc-helper/docs/modules/pedro/): Package: com.crossbotics.ftchelper.pedro, in the pedro folder. It is an optional add-on: the core library never needs it. The step that uses it, follow(...), is in Steps. - [Robot module](https://crossbotics.com/ftc-helper/docs/modules/robot/) - [Safety module](https://crossbotics.com/ftc-helper/docs/modules/safety/): Package: com.crossbotics.ftchelper.safety - [Telemetry module](https://crossbotics.com/ftc-helper/docs/modules/telemetry/): Package: com.crossbotics.ftchelper.telemetry - [TeleOp module](https://crossbotics.com/ftc-helper/docs/modules/teleop/): Package: com.crossbotics.ftchelper.teleop - [Testing module](https://crossbotics.com/ftc-helper/docs/modules/testing/): Package: com.crossbotics.ftchelper.testing - [Test kit module](https://crossbotics.com/ftc-helper/docs/modules/testkit/): Package: com.crossbotics.ftchelper.testkit - [Tuning module](https://crossbotics.com/ftc-helper/docs/modules/tuning/): Package: com.crossbotics.ftchelper.tuning - [Util module](https://crossbotics.com/ftc-helper/docs/modules/util/): Package: com.crossbotics.ftchelper.util - [Vision module](https://crossbotics.com/ftc-helper/docs/modules/vision/): Package: com.crossbotics.ftchelper.vision ## Design - [Possible later work](https://crossbotics.com/ftc-helper/docs/design/possible-work/): The mentor has put off these ideas on purpose. None is planned yet: each needs the mentor's go-ahead before anyone starts. The newest is at the end. When one is done or dropped, remove it here and say so in the CHANGELOG. - [Design study: swerve drives](https://crossbotics.com/ftc-helper/docs/design/swerve/): Status: study only, no code. Written 2026-10-21 against v0.15.0 (main). It helps the mentor decide whether to build swerve support. ## Add to robot - [Add a lift](https://crossbotics.com/ftc-helper/docs/add-to-robot/01-lift/): A slide on a motor that goes up and down to named heights, like "low" and "high". - [Add an arm](https://crossbotics.com/ftc-helper/docs/add-to-robot/02-arm/): An arm that swings on a hinge. A motor turns it to named angles, like "pickup" and "score". - [Add a claw and other servo parts](https://crossbotics.com/ftc-helper/docs/add-to-robot/03-claw/): A servo that goes to named positions: a claw that opens and closes, a wrist that tilts, or a fold-out. - [Add an intake](https://crossbotics.com/ftc-helper/docs/add-to-robot/04-intake/): A roller that takes game pieces in and pushes them out. It runs on a motor, or on continuous-rotation servos. - [Add a launcher](https://crossbotics.com/ftc-helper/docs/add-to-robot/05-launcher/): A flywheel that shoots game pieces, and the part that feeds it one piece at a time. - [Add a turret](https://crossbotics.com/ftc-helper/docs/add-to-robot/06-turret/): A part that turns the launcher to aim, inside its limits, by hand or following the goal. - [Add a camera](https://crossbotics.com/ftc-helper/docs/add-to-robot/07-camera/): A camera that finds your alliance's goal by its AprilTags, so the robot can aim and pick its shot speed. - [Add lights](https://crossbotics.com/ftc-helper/docs/add-to-robot/08-lights/): A colored light that tells the drivers what the robot knows: ready to fire, full, a mode on, the last 20 seconds. - [Add odometry](https://crossbotics.com/ftc-helper/docs/add-to-robot/09-odometry/): A sensor that knows where the robot is on the field, so autonomous can drive to field points. - [Make parts work together](https://crossbotics.com/ftc-helper/docs/add-to-robot/10-parts-together/): One button moves the lift, the arm and the claw in order, and a safety rule keeps the arm and the lift from hitting each other. ## Cookbook - [The basics](https://crossbotics.com/ftc-helper/docs/cookbook/01-the-basics/): The files, where each line goes, and the words you will meet. Read this first if you are new to Java. - [Driving](https://crossbotics.com/ftc-helper/docs/cookbook/02-driving/) - [Buttons and gestures](https://crossbotics.com/ftc-helper/docs/cookbook/03-buttons/): All button recipes go in Controls.java, inside buttons(...). That method runs once, at INIT, and each line plugs a job into a button. Every line ends with ;. .says("...") is the text on the button map. - [Mechanisms](https://crossbotics.com/ftc-helper/docs/cookbook/04-mechanisms/) - [Game pieces](https://crossbotics.com/ftc-helper/docs/cookbook/05-game-pieces/) - [Aiming and shooting](https://crossbotics.com/ftc-helper/docs/cookbook/06-aiming-and-shooting/): The robot does these jobs for the drivers, so they can focus on driving and firing. They all use one idea: the camera first, the odometry as a backup (Aim). Odometry is how the robot tracks its own position on the field. - [Turrets and interlocks](https://crossbotics.com/ftc-helper/docs/cookbook/07-turrets-and-interlocks/) - [Actions](https://crossbotics.com/ftc-helper/docs/cookbook/08-actions/): An action is a list of steps that use several parts, with waits between them. It never makes the robot wait, because it does a little every loop. Actions go in Actions.java, one method each. The same action works on a button and in an autonomous. - [Autonomous](https://crossbotics.com/ftc-helper/docs/cookbook/09-autonomous/): An autonomous is one file in autos/: a list of named steps. Distances are in inches (1 foot = 12 inches, so 2 feet = 24). Directions are in degrees, and power is from 0 to 1. - [Several autos and choosing one](https://crossbotics.com/ftc-helper/docs/cookbook/10-several-autos/) - [Odometry and driveTo](https://crossbotics.com/ftc-helper/docs/cookbook/11-odometry/) - [Pedro paths](https://crossbotics.com/ftc-helper/docs/cookbook/12-pedro-paths/): Pedro Pathing drives smooth curves. It needs the pedro folder in your project (add Pedro), a mecanum drive and tuned odometry. Paths use the same field numbers as driveTo. - [Telemetry](https://crossbotics.com/ftc-helper/docs/cookbook/13-telemetry/) - [Lights](https://crossbotics.com/ftc-helper/docs/cookbook/14-lights/) - [Tuning and finders](https://crossbotics.com/ftc-helper/docs/cookbook/15-tuning/) - [Simulator](https://crossbotics.com/ftc-helper/docs/cookbook/16-simulator/) ## Simulator - [Start it and drive](https://crossbotics.com/ftc-helper/docs/simulator/01-start-and-drive/): Start the simulator, run an OpMode, and drive the pretend robot. - [Your robot file](https://crossbotics.com/ftc-helper/docs/simulator/02-your-robot-file/): The simulator learns your robot from one text file. It makes that file from your Robot.java, and marks each number it had to guess. - [Make it match your robot](https://crossbotics.com/ftc-helper/docs/simulator/03-make-it-match-your-robot/): Give the simulator your robot's real size, wheels and parts, so the pretend robot fits, scores and bumps like yours. - [Watch an autonomous](https://crossbotics.com/ftc-helper/docs/simulator/04-watch-an-autonomous/): Run your autonomous in the simulator, watch where it goes and what it scores, and read its report. ## Tests - [Record a test](https://crossbotics.com/ftc-helper/docs/tests/01-record-a-test/): Drive your robot on the simulator page once, and the simulator writes a test that checks the same job after every change. - [Run all your tests](https://crossbotics.com/ftc-helper/docs/tests/02-run-all-your-tests/): Run every test in your robot project with one button or one command, after every change to your code. - [Checks before practice and matches](https://crossbotics.com/ftc-helper/docs/tests/03-checks-before-practice-and-matches/): Check the real robot in a fixed order, from the laptop to the field, and print the checklists for the pit.