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.

Search every class and method

The Javadoc lists every public class, method and setting of the library, with what it does, its inputs and what it gives back. The library makes it from the explanations in the code (Javadoc comments), so it matches the version you have. It has a search box: type a name (parkWithSeconds, PositionMotor, slow) to jump to it.

The reference pages explain each part, with examples. The Javadoc is for looking one method up. For “how do I…?” questions, with code to copy, see the cookbook.

Online: crossbotics.com/ftc-helper/reference (the newest release).

Or make it on your computer, for the version you have.

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

Terminal window
./gradlew :library:reference

Then open library/build/reference/index.html in a browser. Making it needs the same setup as building the library (Contributing). Your robot project never makes it by itself, so it adds no time to your robot’s builds.

Each class page starts with what the class is for, often with a short example. Below it, each method shows its name and inputs (move(double inches, double directionDeg, double maxPower)) and a sentence on what it does. Then it shows each input (@param) and what it gives back (@return). The word before each input is its type: String is text, double is a number with a decimal point. You call a “static” method on the class (Action.named("Score")), and the others on an object you made (robot.lift.goTo("high")).

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