Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- a - Variable in class com.crossbotics.ftchelper.robot.Pad
-
Face buttons.
- A - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Btn
- accelerations(double[], double[]) - Static method in class com.crossbotics.ftchelper.finders.CharacterizeMath
-
Speeds-up (acceleration) at each moment, counts per second per second: the slope of a straight line through the speeds within WINDOW_SEC each side (a least-squares slope: it smooths the noise).
- accelSec() - Method in class com.crossbotics.ftchelper.finders.CharacterizeMath.Fit
-
Seconds to reach about 63% of a new speed (kA / kV): how quickly it speeds up.
- action(Action) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Steps.action(Action, double)with up to 10 seconds. - action(Action, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Runs an action from Actions.java and waits until it is done (at most
timeoutSec). - Action - Class in com.crossbotics.ftchelper.robot
-
Steps that use several parts together, written once (in
Actions.java) and started by a button in TeleOp or used as a step in an autonomous. - ACTION - Enum constant in enum class com.crossbotics.ftchelper.robot.Feature.Kind
-
An action, for an autonomous (
.action(...)) or a TeleOp button (g1.y.press(...)). - actionTimeoutSec - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
Each move or turn gives up after this many seconds.
- add(double, double) - Method in class com.crossbotics.ftchelper.launcher.ShotTable
-
Adds a point with no hood angle (its hood number is 0 and means nothing).
- add(double, double, double) - Method in class com.crossbotics.ftchelper.launcher.ShotTable
-
Adds a measured point (distance in inches, RPM, hood in degrees).
- add(double, double, String) - Method in class com.crossbotics.ftchelper.finders.ShotPoints.DistanceAverage
-
A fresh reading.
- add(Subsystem...) - Method in class com.crossbotics.ftchelper.core.Subsystems
-
Adds parts.
- add(TargetObservation, long) - Method in class com.crossbotics.ftchelper.vision.DistanceFilter
-
One step: give the camera's goal now (null when it is not seen).
- add(T) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Adds a mechanism and hands it back, so it can go in a field:
lift = add(Lift.slide("lift")); - addChoices(InitMenu) - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
Extra INIT choices, e.g.
- addChoices(InitMenu) - Method in class com.crossbotics.ftchelper.robot.Auto
- addInitTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
Extra lines for the Driver Station during INIT (before START), every INIT loop.
- addInitTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.robot.Auto
- addInitTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.robot.ControlMap
- addInitTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
Extra lines for the Driver Station during INIT (before START), every INIT loop.
- addOwn(T) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Your own part, run with the library's parts: its
update()every loop after START (after the library's parts, so it sees this loop's commands), and itsstop()at STOP and whenever the robot pauses (BACK, seeRobotDefinition.pauseAll()): so a motor in it stops with the rest. - addSec(double) - Method in class com.crossbotics.ftchelper.testkit.PretendClock
-
Moves the time forward.
- addTelemetry(RobotTelemetry) - Method in interface com.crossbotics.ftchelper.core.Subsystem
-
Adds this part's lines to the telemetry.
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.core.Subsystems
-
Adds every part's telemetry.
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.FinderResults
-
Shows the lines under a "Copy into your code" heading (nothing if empty).
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
Shows measured / target RPM and READY; shots seen and the battery (volts, F scale) in debug mode; a warning for a fault or a low battery.
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
Shows the state, shots left and READY; problems as warnings; then the flywheel, feeder and hood.
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.launcher.MotorFeeder
-
A JAMMED warning; "feeding" or "idle" in debug mode.
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.launcher.ServoFeeder
-
"idle", "pushing" or "returning", in debug mode.
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.launcher.ShotStats
-
The newest piece and the volley summary, as debug lines (PRACTICE profile only).
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Shows the angle and AIMED; warnings for faults, not homed, and out of range; the target in debug mode.
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.match.InitMenu
-
Shows the menu.
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
Shows its state on the Driver Station: warnings first, then target and position; more in debug mode.
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
Shows the target name; in debug mode also the raw position (and degrees, if set up).
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.mechanism.SpinMotor
-
Shows the state; a warning while it backs out of a jam; speed and jam count in debug mode.
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.mechanism.SpinServo
-
Shows the power (or "stopped"); the angle in debug mode if there is a sensor.
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.odometry.PoseTracker
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.robot.Camera
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.robot.ControlMap
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.robot.Hood
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.robot.Indexer
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.robot.Intake
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.robot.Launcher
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.robot.Lights
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.robot.Module
-
The part's telemetry line; each module adds its own.
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.robot.MotorPositions
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.robot.Pieces
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.robot.PieceSensor
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.robot.ServoPositions
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.robot.Turret
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
Extra lines for the Driver Station, every loop.
- addTelemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.tuning.TuningMenu
-
Shows the menu (only when open).
- addTelemetry(RobotTelemetry) - Method in interface com.crossbotics.ftchelper.vision.TargetSource
-
Shows a warning if the camera is not working, and, when debug lines are on (the PRACTICE profile), its status and every target it sees.
- addTelemetry(RobotTelemetry, String) - Method in class com.crossbotics.ftchelper.finders.Chooser
-
Shows one page of the list around the choice.
- addWarnings(RobotTelemetry) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Only the warnings of
Turret.addTelemetry(com.crossbotics.ftchelper.telemetry.RobotTelemetry)(a fault, not homed, a target out of range), for code that writes its own line for the turret (the robot module's Turret does). - adjust(int) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Changes the speed by
stepsxstepRpm(e.g. - adjustPush(int) - Method in class com.crossbotics.ftchelper.robot.Indexer
-
A push servo: moves the push position by
stepsxTunables pushStep(0.01): + = further from rest (a longer push), - = nearer rest. - ageMs(long) - Method in class com.crossbotics.ftchelper.vision.TargetObservation
-
Milliseconds since the picture was taken: how old the picture is.
- ageSec() - Static method in class com.crossbotics.ftchelper.match.MatchMemory
-
Seconds since
MatchMemory.remember(com.crossbotics.ftchelper.match.Alliance, com.crossbotics.ftchelper.util.FieldPose)was called (very large if never). - ageSec() - Static method in class com.crossbotics.ftchelper.util.PoseStore
-
Seconds since the pose was saved.
- aim() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Where the goal is (the camera first, the odometry as a backup), whole-robot aim and how far off the aim is.
- Aim - Class in com.crossbotics.ftchelper.robot
-
Where the goal is, for everything that aims: the camera first, the odometry as a backup.
- AIM_TIMEOUT_SEC - Static variable in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
-
The longest RB waits for the robot to turn to the goal (seconds): then no shot, and a note says why.
- Aim.Source - Enum Class in com.crossbotics.ftchelper.robot
-
Where the goal's direction and distance come from now.
- Aim.Stage - Enum Class in com.crossbotics.ftchelper.robot
-
How far along the aim is, for the Driver Station line, lights or a buzz: each stage includes the ones before.
- aimAt(double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Turns to a robot-relative angle (0 = forward, counterclockwise +), the safe way round.
- aimAt(double) - Method in class com.crossbotics.ftchelper.robot.Turret
-
Turns to an angle (inside the limits) and stops following.
- aimAtGoal(String, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Points at the goal, then goes on: the whole robot turns toward it (the camera first, the odometry backup;
Tunables.Aimnumbers), or, with a turret that follows the goal, waits until the turret is aimed. - aimAtGoal(String, double, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Steps.aimAtGoal(String, double)with a sweep: when the goal is not in view, the whole robot turns slowly up tosweepDegeach way to find it (Tunables.AimsweepStepDeg15,sweepPower0.3), then aims. - aimAtTarget(TargetObservation, boolean) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Aims at a camera target, safely: only a FRESH picture is used, and each picture only once (an old or repeated picture would push the turret further and further).
- aimBy(double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Turns BY an amount from where it is now.
- AimController - Class in com.crossbotics.ftchelper.vision
-
Turns a camera target into a turn power, safely: no target, an old picture, or no bearing all give 0 (the robot never turns toward a target it cannot see now).
- AimController(double, double) - Constructor for class com.crossbotics.ftchelper.vision.AimController
-
Makes an aim controller.
- AimController(double, double, LongSupplier) - Constructor for class com.crossbotics.ftchelper.vision.AimController
-
For tests: the same, with a clock you control (nanoseconds).
- aimDeg - Variable in class com.crossbotics.ftchelper.vision.MovingShot.Result
-
Where to aim, degrees (counterclockwise + = left): with
MovingShot.onTurret()the turret angle from the robot's front; otherwise how far to turn the whole robot (0 = it faces right). - aimErrorDeg() - Method in class com.crossbotics.ftchelper.robot.Turret
-
How many degrees the turret points away from the goal now (any sign), NaN if the goal is not known (no fresh picture and no odometry).
- aimField(double, double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Points at a FIELD direction, whatever way the robot faces.
- aimMode() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Whole-robot aim (for a robot with no turret): while on, TeleOp turns the robot toward the goal and the driver keeps forward and sideways (the turn stick still wins).
- AimRumble - Class in com.crossbotics.ftchelper.gamepad
-
Buzzes the gamepad when an error is small, for example when the robot is aimed at a target.
- AimRumble(Gamepad) - Constructor for class com.crossbotics.ftchelper.gamepad.AimRumble
-
Makes one that uses the real clock.
- AimRumble(Gamepad, LongSupplier) - Constructor for class com.crossbotics.ftchelper.gamepad.AimRumble
-
Makes one with your own clock.
- aimsOnFire() - Method in class com.crossbotics.ftchelper.robot.Aim
-
True if a fire press turns the robot to the goal first (
Tunables.Aim.aimOnFire; off unless set). - aimSource() - Method in class com.crossbotics.ftchelper.robot.Turret
-
Where the following got the goal last loop: CAMERA, ODOMETRY or NONE.
- aimStep(double, double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
A step (autonomous): turn to a robot-relative angle and wait until aimed (or
timeoutSec). - AimTunerOpMode - Class in com.crossbotics.ftchelper.finders
-
Finds the camera offset for aiming: where the target sits in the camera's view when the LAUNCHER points straight at it.
- AimTunerOpMode() - Constructor for class com.crossbotics.ftchelper.finders.AimTunerOpMode
- all() - Method in class com.crossbotics.ftchelper.core.Subsystems
-
The parts, in order (read only).
- all() - Static method in class com.crossbotics.ftchelper.robot.Motors
-
Every catalog motor, in catalog order (read only; not the
Motors.custom(java.lang.String, double, double)ones). - all() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Every part, for one update() per loop (the OpMode classes do this).
- all() - Static method in class com.crossbotics.ftchelper.tuning.Tunable
-
Every tunable made so far, in the order they were made.
- alliance() - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
The alliance chosen in INIT.
- alliance() - Method in class com.crossbotics.ftchelper.match.InitMenu
-
Adds the alliance choice (starts at the alliance remembered from earlier, else BLUE).
- alliance() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
The alliance for this match (chosen in autonomous; TeleOp remembers it).
- alliance() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
The alliance autonomous chose (BLUE if no autonomous ran in the last few minutes).
- Alliance - Enum Class in com.crossbotics.ftchelper.match
-
Red or blue.
- ALLIANCE_FLASH_SEC - Static variable in class com.crossbotics.ftchelper.robot.Lights
-
How long the alliance color flashes at START and when the alliance is switched, seconds.
- allianceAtInit(boolean) - Method in class com.crossbotics.ftchelper.robot.Lights
-
The alliance at INIT on or off (on by default; see the class comment).
- allianceChanged(Alliance) - Method in class com.crossbotics.ftchelper.robot.ControlMap
- allianceChanged(Alliance) - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
Called when the alliance changes during TeleOp (
EasyTeleOp.switchAlliance()), afterEasyTeleOp.alliance()has the new one: update what uses it. - allianceColors(LightColor, LightColor) - Method in class com.crossbotics.ftchelper.robot.Lights
-
The colors for the alliance at INIT, if your light shows red or blue badly.
- allianceInInit(Key, Key) - Method in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
The INIT buttons that choose the alliance (before START).
- allianceOr(Alliance) - Static method in class com.crossbotics.ftchelper.match.MatchMemory
-
The remembered alliance if it is from this match, else
fallback. - alliancesOnOneWall() - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
True when both alliances' drivers stand at the same wall; false (default) when each alliance's drivers stand at their own wall (BIOBUZZ 2026-27 and DECODE 2025-26).
- allianceTrim() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The trim for this alliance from Tunables (
redTrimPercent,blueTrimPercent), percent. - alongRowIn(int) - Method in class com.crossbotics.ftchelper.vision.TagGroup
-
The tag's place along the row (inches from the middle, + = right as printed), NaN if not in the group.
- alongside(Action) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Starts an action and goes on at once: it runs during the next steps.
- alsoLight(String...) - Method in class com.crossbotics.ftchelper.robot.Lights
-
More lights of the same kind that always show the same as this one: the same color, blinking and flashes, every loop.
- alsoMotor(String) - Method in class com.crossbotics.ftchelper.robot.MotorPositions
-
A second motor on the same lift or arm (a slide with a motor on each side, an arm driven from both ends).
- alsoMotorReversed(String) - Method in class com.crossbotics.ftchelper.robot.MotorPositions
-
MotorPositions.alsoMotor(java.lang.String), with the second motor turning the other way from the first for the same power (two motors that face each other, mirror images: the usual way on a two-sided slide). - alsoMotors() - Method in class com.crossbotics.ftchelper.robot.EncoderMotor
-
The motors that get the same power at the same moment (pushed together with it), maybe none.
- alsoPowers(DcMotorSimple) - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
A second motor on the same mechanism (two motors on one lift, one on each side): from now on it gets the very same power as this one, every time, limits and stops included.
- alsoReversed(int) - Method in class com.crossbotics.ftchelper.robot.EncoderMotor
-
True if that motor (one of
EncoderMotor.alsoMotors()) turns the other way in Robot.java. - alsoServo(String) - Method in class com.crossbotics.ftchelper.robot.Indexer
-
Like
Indexer.alsoServoReversed(java.lang.String), for a second servo that turns the same way as the first. - alsoServo(String) - Method in class com.crossbotics.ftchelper.robot.ServoPositions
-
Like
ServoPositions.alsoServoReversed(java.lang.String), for a second servo mounted facing the same way as the first (it turns the same way, not mirrored). - alsoServoReversed(String) - Method in class com.crossbotics.ftchelper.robot.Indexer
-
A second push servo that moves with this one, mirrored: two arms, one on each side, that pinch together behind the piece and push it in.
- alsoServoReversed(String) - Method in class com.crossbotics.ftchelper.robot.ServoPositions
-
A second servo that moves with this one, mirrored: the other side of a two-servo part, for example a claw with a servo for each finger, or an arm with a servo on each side.
- analog(String, double, double) - Method in class com.crossbotics.ftchelper.testkit.PretendDevices
-
Sets a pretend analog input (an absolute encoder): volts now, out of
maxVolts(3.3 on a REV hub). - analogEncoder(String) - Method in class com.crossbotics.ftchelper.robot.Turret
-
A CR servo turret's absolute encoder on an analog port (e.g.
- angle() - Method in class com.crossbotics.ftchelper.robot.Hood
-
Where the hood is now: measured (a motor) or estimated from the time (a servo), like
Turret.angle(). - angle() - Method in class com.crossbotics.ftchelper.robot.Turret
-
The angle now, degrees (-180 to 180 for a
Turret.continuous()turret). - angle(String, double) - Method in class com.crossbotics.ftchelper.robot.Shape
-
An arm on a servo: its angle at a named position (from Tunables.java).
- angleAimMode() - Method in class com.crossbotics.ftchelper.robot.Aim
-
The angle aim: while it is on, the aim (whole robot or turret) points
Tunables.Aim.goalFrontIninches in front of the goal's tags, the way they face, not at the tags. - AngleDevice - Interface in com.crossbotics.ftchelper.mechanism
-
Anything that goes to an angle and can say when it is there: a servo with degrees set up (
PositionServo), a launcher's hood on a servo or a motor with an encoder (robot.Hood), or your own part (a CR servo with an absolute encoder). - Angles - Class in com.crossbotics.ftchelper.util
-
Angle helpers, in degrees.
- angleSensor(HardwareMap, String, double) - Method in class com.crossbotics.ftchelper.mechanism.SpinServo
-
Adds an angle sensor (an analog input, e.g.
- answers(HuskyLens) - Static method in class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
Asks the camera "are you there?" and checks its answer.
- applied(double, double) - Method in class com.crossbotics.ftchelper.odometry.CameraPoseFix
-
A correction was applied to the odometry: the recorded poses move with it, so a later picture (taken before it) does not count the same error again.
- apply(double) - Method in class com.crossbotics.ftchelper.drive.ReverseDrive
-
Use on forward and strafe only.
- applyTo(PidController) - Method in class com.crossbotics.ftchelper.tuning.PidTunables
-
Copies the current values into the controller.
- arcade(double, double) - Method in class com.crossbotics.ftchelper.drive.TankDrive
-
Arcade drive: one value for forward, one for turning.
- arcade(double, double, double) - Static method in class com.crossbotics.ftchelper.drive.DifferentialMixer
-
"Arcade" drive: one stick for forward, one for turning.
- arcade(double, double, double) - Method in class com.crossbotics.ftchelper.drive.TankDrive
-
Arcade drive with a speed multiplier 0 to 1 (for a slow mode).
- arm() - Static method in class com.crossbotics.ftchelper.robot.Shape
-
A part that swings about a hinge (an intake that folds, an arm).
- Arm - Class in com.crossbotics.ftchelper.robot
-
An arm that swings on one motor (or two, one at each end of its shaft:
MotorPositions.alsoMotor(java.lang.String)), with named angles in degrees. - arrivals() - Method in class com.crossbotics.ftchelper.robot.PieceSensor
-
How many separate pieces it has seen arrive (a new piece, a different kind right behind, a distance dip).
- atEnd() - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
Your own code at the very end (STOP, the end, or an error), after the wheels and every part are stopped: e.g.
- atEnd() - Method in class com.crossbotics.ftchelper.robot.Auto
- atEnd() - Method in class com.crossbotics.ftchelper.robot.ControlMap
- atEnd() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
Your own code at the very end (STOP, the end, or an error), after the wheels and every part are stopped: e.g.
- atIn(double, double, double) - Method in class com.crossbotics.ftchelper.robot.Shape
-
Shape.atMm(double, double, double)in inches. - atInit(Runnable) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Code of your own that runs once in INIT, right after the library made every part's hardware (for example: reset a counter, read a switch, set the lights).
- atInit(R) - Method in class com.crossbotics.ftchelper.robot.Auto
-
Your own code for this autonomous only, once in INIT after the robot is set up (do not put it in
steps: that is read several times). - atIntake() - Method in class com.crossbotics.ftchelper.robot.Pieces
-
What the intake sensor sees now (NONE without one).
- atMm(double, double, double) - Method in class com.crossbotics.ftchelper.robot.Shape
-
Where it is, in mm from its parent: forward, left, up (the parent: the chassis, or
Shape.on(com.crossbotics.ftchelper.robot.Module<?>)). - atMotorLimit() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
True when the trimmed shot speed is cut to the motor's top speed (more trim up does nothing).
- atReady() - Method in class com.crossbotics.ftchelper.robot.Pieces
-
What the ready sensor sees now (NONE without one).
- atSecondsLeft(double, Runnable) - Method in class com.crossbotics.ftchelper.robot.ControlMap
-
Runs a job once, when this many seconds of TeleOp are left, e.g.
- atStart(Supplier<Action>) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
An action that runs once, right after START, in autonomous and in TeleOp (for example a servo that pushes the intake into place).
- atStop(Runnable) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Code of your own that runs once when the OpMode ends: STOP, the end of an autonomous, or an error.
- atTarget() - Method in class com.crossbotics.ftchelper.control.PidController
-
True if the last error was within the tolerance.
- auto() - Method in class com.crossbotics.ftchelper.core.RobotConfig
-
Autonomous tuning (wheel size, encoder counts, ...).
- auto(HardwareMap) - Static method in class com.crossbotics.ftchelper.hardware.BulkReads
-
Turns on AUTO bulk reads on every hub.
- Auto<R> - Class in com.crossbotics.ftchelper.robot
-
One autonomous, in one short file: the list of
Steps. - Auto() - Constructor for class com.crossbotics.ftchelper.robot.Auto
- AUTO_SECONDS - Static variable in class com.crossbotics.ftchelper.match.MatchTimer
-
FTC autonomous length (seconds).
- AUTO_STEP - Enum constant in enum class com.crossbotics.ftchelper.robot.Feature.Kind
-
A step in an autonomous (
Steps), e.g. - AutoContext - Interface in com.crossbotics.ftchelper.auto
-
What a running
AutoStepcan use. - autoDrive() - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
The drive, for custom steps.
- AutoDrive - Class in com.crossbotics.ftchelper.drive
-
Autonomous moves for a mecanum OR standard (tank) robot, using the wheel encoders and the IMU.
- AutoDrive(AutoDriveConfig, boolean, double, DcMotorEx, DcMotorEx, DcMotorEx, DcMotorEx, DoubleSupplier, Runnable, BooleanSupplier, Runnable, Consumer<String>, LongSupplier) - Constructor for class com.crossbotics.ftchelper.drive.AutoDrive
-
For tests and simulations (no robot needed): everything AutoDrive needs, given directly.
- AutoDrive(LinearOpMode, DriveConfig, AutoDriveConfig, IMU) - Constructor for class com.crossbotics.ftchelper.drive.AutoDrive
-
Sets up the four drive motors (encoders reset, RUN_USING_ENCODER, brake, power 0).
- AutoDrive(LinearOpMode, DriveConfig, AutoDriveConfig, IMU, BooleanSupplier) - Constructor for class com.crossbotics.ftchelper.drive.AutoDrive
-
Like
AutoDrive(LinearOpMode, DriveConfig, AutoDriveConfig, IMU), with your own "keep going" check: for an OpMode that runs inside another one (a finder inside "Tune and check"), whose ownopModeIsActive()is always false. - AutoDrive.Result - Enum Class in com.crossbotics.ftchelper.drive
-
How a move ended.
- autoDriveConfig() - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
The autonomous tuning.
- AutoDriveConfig - Class in com.crossbotics.ftchelper.drive
-
Tuning for
AutoDrive(autonomous encoder and IMU moves). - AutoDriveConfig() - Constructor for class com.crossbotics.ftchelper.drive.AutoDriveConfig
- autoExposure() - Method in class com.crossbotics.ftchelper.robot.Camera
-
Venue lighting for a webcam: tries the camera's own automatic exposure, then 3, 6 and 12 ms, in INIT and keeps the one that sees the most AprilTags.
- autoExposure() - Method in class com.crossbotics.ftchelper.vision.WebcamTags
-
Venue lighting: tries
WebcamTags.DEFAULT_EXPOSURES_MS(the camera's own automatic exposure, then 3, 6 and 12 ms) in INIT and keeps the one whose pictures see the most AprilTags. - autoExposure(long...) - Method in class com.crossbotics.ftchelper.robot.Camera
-
Venue lighting for a webcam: tries these exposures (milliseconds; 0 = the camera's own automatic exposure) in INIT and keeps the one that sees the most AprilTags.
- autoExposure(long...) - Method in class com.crossbotics.ftchelper.vision.WebcamTags
-
Venue lighting: tries these exposures one after the other in INIT, counts the pictures that see AprilTags with each, and keeps the best one.
- AUTOMATIC - Enum constant in enum class com.crossbotics.ftchelper.robot.Feature.Kind
-
On by itself: nothing to write.
- autonomous() - Static method in class com.crossbotics.ftchelper.match.MatchTimer
-
A 30-second autonomous timer.
- autoPipelines(int...) - Method in class com.crossbotics.ftchelper.robot.Camera
-
Venue lighting for a Limelight: tries these pipelines in INIT and keeps the one that sees the most AprilTags (set each one up on the Limelight's web page for a kind of light).
- autoPipelines(int...) - Method in class com.crossbotics.ftchelper.vision.LimelightTags
-
Venue lighting: tries these pipelines one after the other in INIT, counts the pictures that see AprilTags with each, and keeps the best one.
- AutoRoutine - Class in com.crossbotics.ftchelper.auto
-
An autonomous written as a list of named steps.
- AutoRoutine(LinearOpMode) - Constructor for class com.crossbotics.ftchelper.auto.AutoRoutine
-
Makes a routine for your OpMode.
- AutoRoutine(BooleanSupplier, Runnable, Telemetry) - Constructor for class com.crossbotics.ftchelper.auto.AutoRoutine
-
For tests and simulations: what "running" and "idle" mean, and the telemetry.
- AutoStep - Interface in com.crossbotics.ftchelper.auto
-
One step of an autonomous routine: "drive 24 inches", "raise the lift", "wait 1 second".
- average(double) - Method in class com.crossbotics.ftchelper.finders.ShotPoints.DistanceAverage
-
The average of the readings in the last
ShotPoints.DistanceAverage.WINDOW_SECseconds; NaN if there are none. - axis(String) - Method in class com.crossbotics.ftchelper.robot.Shape
-
The line it turns about: "up", "down", "forward", "back", "left" or "right".
B
- b - Variable in class com.crossbotics.ftchelper.robot.Pad
-
Face buttons.
- B - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Btn
- back - Variable in class com.crossbotics.ftchelper.robot.Pad
-
BACK and START.
- back(String, double, double) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Drives backward:
move(label, inches, 180, maxPower). - back(String, double, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Drives backward, without turning.
- BACK - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Btn
- BACK_HOLD_SEC - Static variable in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
How long BACK is held to reset "forward" when a tap of BACK has another job, seconds.
- BACK_LEFT - Static variable in class com.crossbotics.ftchelper.drive.MecanumMixer
-
Index of each wheel in the arrays this class returns.
- BACK_RIGHT - Static variable in class com.crossbotics.ftchelper.drive.MecanumMixer
-
Index of each wheel in the arrays this class returns.
- BackgroundWorker - Class in com.crossbotics.ftchelper.util
-
Runs slow jobs (a network request, a camera setting) on a separate thread, so the robot's loop never waits for them.
- BackgroundWorker(String) - Constructor for class com.crossbotics.ftchelper.util.BackgroundWorker
-
Starts the worker thread (a daemon: it never keeps the app alive).
- backLeft - Variable in class com.crossbotics.ftchelper.drive.DriveConfig
-
Configuration name of the back-left motor.
- backLeftReversed - Variable in class com.crossbotics.ftchelper.drive.DriveConfig
-
True = this motor is reversed.
- backRight - Variable in class com.crossbotics.ftchelper.drive.DriveConfig
-
Configuration name of the back-right motor.
- backRightReversed - Variable in class com.crossbotics.ftchelper.drive.DriveConfig
-
True = this motor is reversed.
- backTap() - Method in class com.crossbotics.ftchelper.robot.ControlMap
- backTap() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
What a tap of the pause button (BACK) does, or null (default): then BACK resets "forward".
- backward() - Method in class com.crossbotics.ftchelper.mechanism.SpinServo
-
Spins backward at the
SpinServo.powerpower. - battery(double) - Method in class com.crossbotics.ftchelper.finders.FinderResults
-
Notes the battery's volts at START, for the saved file's header ("battery 12.7 V").
- battery(double) - Method in class com.crossbotics.ftchelper.testkit.PretendDevices
-
The battery the hubs read, volts (default: none, NaN).
- battery(DoubleSupplier) - Method in class com.crossbotics.ftchelper.tuning.TuningMenu
-
The battery reader (e.g.
- BATTERY_FILTER_SEC - Static variable in class com.crossbotics.ftchelper.launcher.Flywheel
-
The battery used is the HIGHEST reading of the last this-many seconds.
- BATTERY_READ_SEC - Static variable in class com.crossbotics.ftchelper.hardware.Hw
-
How often
Hw.batteryReader(com.qualcomm.robotcore.hardware.HardwareMap)asks the hubs again, seconds. - BATTERY_READ_SEC - Static variable in class com.crossbotics.ftchelper.launcher.Flywheel
-
How often the battery is read, seconds.
- BATTERY_STALE_SEC - Static variable in class com.crossbotics.ftchelper.hardware.Hw
-
A
Hw.batteryReader(com.qualcomm.robotcore.hardware.HardwareMap)answer older than this (seconds) is not used (NaN). - batteryCompensation(DoubleSupplier, double) - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
Battery compensation: every
Flywheel.BATTERY_READ_SECs it reads the battery and gives the hub F x (nominalVolts / volts), kept toFlywheel.MIN_F_SCALE..Flywheel.MAX_F_SCALE, sent again only when that changes by more than 2%. - batteryMatters() - Method in class com.crossbotics.ftchelper.finders.CharacterizerOpMode
- batteryMatters() - Method in class com.crossbotics.ftchelper.finders.DriveTunerOpMode
- batteryMatters() - Method in class com.crossbotics.ftchelper.finders.FinderOpMode
-
True for a finder whose numbers depend on the battery (a power, a gain, a speed): it shows the battery, warns below
TuningMenu.LOW_BATTERY_VOLTS, and says the volts next to its results. - batteryMatters() - Method in class com.crossbotics.ftchelper.finders.MoveTunerOpMode
- batteryMatters() - Method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
- batteryReader() - Method in interface com.crossbotics.ftchelper.robot.Devices
-
The battery's voltage for code that runs every loop (the launcher's battery compensation): on the robot
Hw.batteryReader(com.qualcomm.robotcore.hardware.HardwareMap), which asks the hubs on the library's helper thread and never waits; in tests (no hardwareMap) it asksDevices.batteryVolts()directly. - batteryReader(HardwareMap) - Static method in class com.crossbotics.ftchelper.hardware.Hw
-
The battery's voltage for code that runs every loop: a reader that never waits.
- batteryVolts() - Method in interface com.crossbotics.ftchelper.robot.Devices
-
The battery's voltage now (volts), from the hubs (
Hw.batteryVolts(com.qualcomm.robotcore.hardware.HardwareMap)); NaN with no voltage sensor (tests). - batteryVolts() - Method in class com.crossbotics.ftchelper.testkit.PretendDevices
- batteryVolts(HardwareMap) - Static method in class com.crossbotics.ftchelper.hardware.Hw
-
The battery's voltage now, from the hubs' voltage sensors (the lowest reading, as the Characterizer does: every hub is on the same battery).
- bearingDeg - Variable in class com.crossbotics.ftchelper.vision.TargetObservation
-
Degrees to turn to face the target.
- bearingDeg(double, double, double, double) - Static method in class com.crossbotics.ftchelper.vision.CameraTilt
-
The target's direction along the floor.
- beforeDriving(Runnable) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Code to run when a step starts driving the wheels (move, turn, driveTo...).
- best() - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Tally
-
The try with the best hit ratio: {speed RPM, hood degrees (NaN = no hood)}.
- bestRpm() - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Tally
-
The speed of
ShotPoints.Tally.best(), NaN if nothing went in yet. - bigger() - Method in class com.crossbotics.ftchelper.finders.NudgeStep
-
D-pad right: the next bigger step (stays at the biggest).
- biggerTurns() - Method in class com.crossbotics.ftchelper.robot.Parts.ServoPart
-
Which way a bigger position turns it, as the seller states it ("clockwise" or "counterclockwise"), or null when the seller does not say.
- bind(ControllerBindings) - Method in class com.crossbotics.ftchelper.finders.AimTunerOpMode
- bind(ControllerBindings) - Method in class com.crossbotics.ftchelper.finders.CameraFixCheckOpMode
- bind(ControllerBindings) - Method in class com.crossbotics.ftchelper.finders.CharacterizerOpMode
- bind(ControllerBindings) - Method in class com.crossbotics.ftchelper.finders.DriveTunerOpMode
- bind(ControllerBindings) - Method in class com.crossbotics.ftchelper.finders.EncoderCheckOpMode
- bind(ControllerBindings) - Method in class com.crossbotics.ftchelper.finders.FeedStopFinderOpMode
- bind(ControllerBindings) - Method in class com.crossbotics.ftchelper.finders.FeedTimeFinderOpMode
- bind(ControllerBindings) - Method in class com.crossbotics.ftchelper.finders.FinderOpMode
-
Binds gamepad 1 buttons.
- bind(ControllerBindings) - Method in class com.crossbotics.ftchelper.finders.FlywheelFinderOpMode
- bind(ControllerBindings) - Method in class com.crossbotics.ftchelper.finders.HoodFinderOpMode
- bind(ControllerBindings) - Method in class com.crossbotics.ftchelper.finders.MotorDirectionCheckOpMode
- bind(ControllerBindings) - Method in class com.crossbotics.ftchelper.finders.MotorFinderOpMode
- bind(ControllerBindings) - Method in class com.crossbotics.ftchelper.finders.MoveTunerOpMode
- bind(ControllerBindings) - Method in class com.crossbotics.ftchelper.finders.OdometryTunerOpMode
- bind(ControllerBindings) - Method in class com.crossbotics.ftchelper.finders.PieceTunerOpMode
- bind(ControllerBindings) - Method in class com.crossbotics.ftchelper.finders.ServoFinderOpMode
- bind(ControllerBindings) - Method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
- bindButtons(ControllerBindings, ControllerBindings) - Method in class com.crossbotics.ftchelper.robot.ControlMap
- bindButtons(ControllerBindings, ControllerBindings) - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
Your buttons.
- bindHold(ControllerBindings.Pad, ControllerBindings.Btn, Runnable) - Method in class com.crossbotics.ftchelper.gamepad.ControllerBindings
-
Runs
whileHeldevery loop while the button is down. - bindPress(ControllerBindings.Pad, ControllerBindings.Btn, Runnable) - Method in class com.crossbotics.ftchelper.gamepad.ControllerBindings
-
Runs
onPressonce each time the button goes down. - bindRelease(ControllerBindings.Pad, ControllerBindings.Btn, Runnable) - Method in class com.crossbotics.ftchelper.gamepad.ControllerBindings
-
Runs
onReleaseonce each time the button comes back up. - bindToggle(ControllerBindings.Pad, ControllerBindings.Btn, Runnable, Runnable) - Method in class com.crossbotics.ftchelper.gamepad.ControllerBindings
-
Each press flips between ON and OFF.
- bindTriggerAxis(ControllerBindings.Pad, ControllerBindings.Trigger, DoubleConsumer) - Method in class com.crossbotics.ftchelper.gamepad.ControllerBindings
-
Gives the trigger's value (0 to 1) to
useevery loop. - bindTriggerHold(ControllerBindings.Pad, ControllerBindings.Trigger, Runnable) - Method in class com.crossbotics.ftchelper.gamepad.ControllerBindings
-
Runs
whileHeldevery loop while the trigger is past the threshold. - bindTriggerPress(ControllerBindings.Pad, ControllerBindings.Trigger, Runnable) - Method in class com.crossbotics.ftchelper.gamepad.ControllerBindings
-
Runs
onPressonce each time the trigger goes past the threshold (default 0.5). - bindTriggerRelease(ControllerBindings.Pad, ControllerBindings.Trigger, Runnable) - Method in class com.crossbotics.ftchelper.gamepad.ControllerBindings
-
Runs
onReleaseonce each time the trigger comes back under the threshold. - bindTriggerToggle(ControllerBindings.Pad, ControllerBindings.Trigger, Runnable, Runnable) - Method in class com.crossbotics.ftchelper.gamepad.ControllerBindings
-
Each pull flips between ON and OFF, like
ControllerBindings.bindToggle(com.crossbotics.ftchelper.gamepad.ControllerBindings.Pad, com.crossbotics.ftchelper.gamepad.ControllerBindings.Btn, java.lang.Runnable, java.lang.Runnable)for a button. - biobuzz() - Static method in class com.crossbotics.ftchelper.vision.TagGroup
-
BIOBUZZ (2026-27): the 4 tags under each CELL, the same groups and names as the FTC SDK 12.0's tag library (AprilTagGameDatabase.getBioBuzzTagLibrary(), manual section 9.9).
- blend - Variable in class com.crossbotics.ftchelper.odometry.CameraPoseFix.Settings
-
The share of the difference applied per picture (0.2 = a fifth).
- BLINK_HZ - Static variable in class com.crossbotics.ftchelper.robot.Lights
-
Blinks per second when none is given.
- blinkin(String) - Static method in class com.crossbotics.ftchelper.robot.Lights
-
A REV Blinkin LED Driver (REV-11-1105) on a servo port, driving an LED strip (5 V addressable or 12 V).
- blinking() - Method in class com.crossbotics.ftchelper.robot.Lights.Rule
-
Blinks on and off, 2 times a second.
- blinking(double) - Method in class com.crossbotics.ftchelper.robot.Lights.Rule
-
Blinks on and off this many times a second.
- blinkinPattern() - Method in enum class com.crossbotics.ftchelper.robot.LightColor
-
The REV Blinkin LED Driver (REV-11-1105) pattern that shows this color: a solid color.
- blinkinPattern(LightColor, RevBlinkinLedDriver.BlinkinPattern) - Method in class com.crossbotics.ftchelper.robot.Lights
-
A REV Blinkin only: show this pattern for this color (e.g.
- BLUE - Enum constant in enum class com.crossbotics.ftchelper.match.Alliance
- BLUE - Enum constant in enum class com.crossbotics.ftchelper.robot.LightColor
-
Blue.
- bottomSwitch(String) - Method in class com.crossbotics.ftchelper.robot.Arm
-
A touch sensor at the
minend: pressing it sets the angle to 0. - bottomSwitch(String) - Method in class com.crossbotics.ftchelper.robot.Lift
-
A touch sensor at the bottom of the travel.
- box(double, double, double, double) - Method in class com.crossbotics.ftchelper.robot.PieceSensor
-
Camera only: the box of the picture to read, from the center: -1 = left/bottom edge, 1 = right/top edge.
- box(String) - Static method in class com.crossbotics.ftchelper.robot.Shape
-
A part that does not move (a ramp, a tower, a hood).
- boxCount() - Method in class com.crossbotics.ftchelper.drive.FieldMap
-
How many boxes the map has.
- brake - Variable in class com.crossbotics.ftchelper.drive.DriveConfig
-
True = wheels hold still at power 0 (recommended).
- brake() - Method in class com.crossbotics.ftchelper.hardware.MotorSetup
-
At power 0 the motor resists turning (holds still).
- btn() - Method in class com.crossbotics.ftchelper.teleop.Key
-
The button, or null for a trigger.
- building - Variable in class com.crossbotics.ftchelper.testkit.PretendTelemetry
-
The lines of the screen being built (before
update()). - buildRoutine(AutoRoutine) - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
Adds the steps.
- buildRoutine(AutoRoutine) - Method in class com.crossbotics.ftchelper.robot.Auto
- BulkReads - Class in com.crossbotics.ftchelper.hardware
-
Makes sensor and encoder reads much faster with "bulk reads".
- BUTTON_MAP - Enum constant in enum class com.crossbotics.ftchelper.teleop.LibraryButtons.Job
- buttonHelp() - Method in class com.crossbotics.ftchelper.robot.ControlMap
- buttonHelp() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
The button map's lines for the help page, or null (default) for none.
- buttonMap(Key) - Method in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
The button map on the Driver Station (a tap shows it, a tap again hides it).
- ButtonNames - Class in com.crossbotics.ftchelper.gamepad
-
The names printed on the driver's own controller, for the Driver Station screen: A, B, X, Y on a Logitech or Xbox controller, and ×, ○, □, △ on a PlayStation-style one (PS4, PS5, Etpark).
- ButtonNames.Style - Enum Class in com.crossbotics.ftchelper.gamepad
-
The kind of names a controller has printed on it.
- buttons(R, Pad, Pad) - Method in class com.crossbotics.ftchelper.robot.ControlMap
-
Your buttons, after the modules' standard ones.
- buzzAtSecondsLeft() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
Seconds left when both gamepads buzz.
- buzzErrorDeg() - Method in class com.crossbotics.ftchelper.robot.Aim
-
The error the aim buzz (
rumbleWhenAimed()) uses, degrees (counterclockwise +), or NaN = no buzz. - byHand(double) - Method in class com.crossbotics.ftchelper.robot.Hood
-
By hand from a stick, every loop: -1 to 1 (up = a bigger angle),
byHandPerSecat full push.
C
- calculate(double) - Method in class com.crossbotics.ftchelper.control.SlewRateLimiter
-
Moves toward the input, but no faster than the limit.
- calculate(double, double) - Method in class com.crossbotics.ftchelper.control.PidController
-
Works out the output.
- calibrationConfirmed - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
Must be set to true before
AutoDrivewill run. - camera() - Method in class com.crossbotics.ftchelper.robot.Aim
-
The camera that aims the whole robot: the first one with
goal(...)in Robot.java, or null. - camera(String) - Static method in class com.crossbotics.ftchelper.robot.PieceSensor
-
A second webcam that looks at the spot from close by (the SDK's PredominantColorProcessor reads the main color in a box of the picture).
- Camera - Class in com.crossbotics.ftchelper.robot
-
A camera that finds AprilTags: a Limelight 3A, a webcam or a HuskyLens.
- CAMERA - Enum constant in enum class com.crossbotics.ftchelper.robot.Aim.Source
-
the camera sees the goal
- cameraFix(Camera) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
ALPHA, NOT TESTED ON A ROBOT. Corrects the odometry's x and y with the field position this Limelight works out from AprilTags (MegaTag2).
- cameraFixCamera() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
The camera given to
cameraFix(...)(alpha), or null. - CameraFixCheckOpMode - Class in com.crossbotics.ftchelper.finders
-
ALPHA. The standing test for the camera fix (
cameraFix(camera)in Robot.java): it findsturnDegBlue/turnDegRed, the turn from the Limelight's field frame to ours, and shows where the camera puts the robot, so you can check it against a tape measure. - CameraFixCheckOpMode() - Constructor for class com.crossbotics.ftchelper.finders.CameraFixCheckOpMode
- cameraOffset(double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Where the target should sit in the camera's view when the LAUNCHER points straight at it, in degrees (positive = left of the camera's center), for a camera that is not centered on the launcher.
- cameraOnBody() - Method in class com.crossbotics.ftchelper.robot.Turret
-
The camera is on the robot's body, not on the turret.
- cameraOnTurret() - Method in class com.crossbotics.ftchelper.finders.AimTunerOpMode
-
True (default) if the camera turns with the turret; false if it is on the robot body.
- CameraPoseFix - Class in com.crossbotics.ftchelper.odometry
-
ALPHA, NOT TESTED ON A ROBOT. Corrects the odometry's x and y with the field position a Limelight works out from AprilTags (MegaTag2).
- CameraPoseFix(CameraPoseFix.Settings) - Constructor for class com.crossbotics.ftchelper.odometry.CameraPoseFix
- CameraPoseFix.Result - Class in com.crossbotics.ftchelper.odometry
-
What one picture did: the correction to add (0, 0 when refused) and the words for the debug line.
- CameraPoseFix.Settings - Class in com.crossbotics.ftchelper.odometry
-
The settings, all from
Tunables.CameraFix. - CameraTilt - Class in com.crossbotics.ftchelper.vision
-
Turns what a TILTED camera measures into what a LEVEL one would: the bearing along the floor and the distance along the floor.
- canAim() - Method in class com.crossbotics.ftchelper.robot.Aim
-
True if the robot can find the goal at all: a camera with goal(...) in Robot.java, or the odometry backup.
- cancel() - Method in interface com.crossbotics.ftchelper.auto.PathJob
-
Stops the path and the wheels now.
- cancel() - Method in class com.crossbotics.ftchelper.drive.RouteDriver
-
Ends the route now.
- cancel() - Method in interface com.crossbotics.ftchelper.robot.PathFollower
-
Stops following (or holding) now and stops the wheels.
- cancel(Action) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Stops an action.
- cancelAll() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Stops every running action.
- CANCELLED - Enum constant in enum class com.crossbotics.ftchelper.drive.RouteDriver.Result
-
RouteDriver.cancel()was called. - canFieldCentric() - Method in class com.crossbotics.ftchelper.drive.DriverControls
-
True if this robot can drive field-centric: mecanum wheels and a heading.
- CAREFUL - Enum constant in enum class com.crossbotics.ftchelper.launcher.Launcher.ShotMode
- ccwPower(TargetObservation) - Method in class com.crossbotics.ftchelper.vision.AimController
-
The same power, COUNTERCLOCKWISE positive (the IMU's sign), e.g.
- ceaseFire() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The fire button is let go: the hold (or spray) adds no more.
- changeAlliance(Alliance) - Static method in class com.crossbotics.ftchelper.match.MatchMemory
-
Changes the alliance in use during TeleOp (the wrong one was chosen):
MatchMemory.chosen()becomesa, and autonomous's remembered alliance too, if there is one from this match (its age stays), so a TeleOp started again in this match gets the corrected one. - changedAsCode() - Static method in class com.crossbotics.ftchelper.tuning.Tunable
-
The values that differ from the code, as lines to copy into it: "Lift: kP = 0.0050" means
kP = 0.0050inTunables.java, classLift. - changedTunables() - Static method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
The Tunables values changed on this robot (tuning menu) that differ from Tunables.java, as lines to copy back into the code: "Tunables.Lift.kP = 0.0050 (code 0.004)".
- CharacterizeMath - Class in com.crossbotics.ftchelper.finders
-
The math behind the Characterizer: from a log of power, battery voltage and speed, it finds the motor's feedforward numbers (see control/Feedforward): power = kS x sign(speed) + kV x speed + kA x acceleration (+ kG for a lift).
- CharacterizeMath.Fit - Class in com.crossbotics.ftchelper.finders
-
One fit.
- CharacterizerOpMode - Class in com.crossbotics.ftchelper.finders
-
Measures how the real robot moves, so the simulator (and your code) can use real numbers: for the drivetrain, each lift or arm, and each flywheel, it finds the feedforward numbers (kS = power to start moving, kV = power per speed, kA = power per speeding-up, kG = power to hold a lift) and how fast a flywheel coasts down.
- CharacterizerOpMode() - Constructor for class com.crossbotics.ftchelper.finders.CharacterizerOpMode
- CharacterizerOpMode.Mechanism - Class in com.crossbotics.ftchelper.finders
-
A lift, arm or flywheel to measure.
- chassisMm(double, double, double) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
The chassis box for the simulator (it bumps into the field and the game pieces): length front to back, width side to side, height from the tiles to its top, in mm.
- check(double) - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Trials
-
Every loop, with the distance now: when the robot has moved more than
ShotPoints.Trials.SPOT_MOVE_INfrom where the marks began, they start again; shots fired at another spot and not marked yet are dropped (they belong to the old spot). - check(Object) - Method in interface com.crossbotics.ftchelper.robot.PathFollower
-
Checks a path at INIT (when the autonomous is built): throws IllegalArgumentException if this follower cannot follow it, so a mistake stops INIT and not the match.
- checkConfiguration(Devices) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
RobotDefinition.checkConfiguration(HardwareMap)with anyDevices(tests use pretend ones). - checkConfiguration(HardwareMap) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Robot.java against a robot configuration (the Hardware Check shows it): one line for each device Robot.java names that is NOT in the configuration, and what that means.
- checkInInit(RobotTelemetry) - Method in class com.crossbotics.ftchelper.robot.Camera
-
TeleOp's INIT work for this camera, for an OpMode that does not run the robot's INIT loop (the Shot Tuner): it reads the camera, so the lighting test runs, and shows its lines.
- checkLines(RouteDriver.LineCheck) - Method in class com.crossbotics.ftchelper.drive.RouteDriver
-
Gives it the map's line check (optional, but routes from
FieldMap.route(double, double, double, double)should have it). - checkPulse(double, double) - Static method in class com.crossbotics.ftchelper.hardware.ServoSetup
-
Checks a pulse range: 100 to 3000 microseconds, low below high.
- checkTunables() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Checks
Tunables.javathe way INIT does, without a robot (the simulator's:sim:fromRobotruns it): a field no part reads (INIT stops on it) and a section that looks meant for a part but is read by none (INIT warns). - choice(String) - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
An INIT choice (from
EasyAuto.addChoices(com.crossbotics.ftchelper.match.InitMenu)). - choice(String) - Method in class com.crossbotics.ftchelper.robot.Steps
-
The option chosen for this label.
- choice(String, String...) - Method in class com.crossbotics.ftchelper.match.InitMenu
-
Adds a choice from a list.
- CHOOSE_HZ - Static variable in class com.crossbotics.ftchelper.robot.Lights
-
Blinks per second of "choose the alliance" in INIT (slow: well under the 5 per second limit).
- Chooser - Class in com.crossbotics.ftchelper.finders
-
A list on the Driver Station to choose from with the D-pad (for example every servo in the configuration).
- Chooser(List<String>) - Constructor for class com.crossbotics.ftchelper.finders.Chooser
- chosen() - Static method in class com.crossbotics.ftchelper.match.MatchMemory
-
The alliance the program running now uses (autonomous's INIT menu, or TeleOp's), or null if none said.
- chosen() - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
The setting kept (0 = the first label), or -1 while still trying.
- chosenLabel() - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
The label of the kept setting, or null while still trying.
- clamp(double, double, double) - Static method in class com.crossbotics.ftchelper.util.MathUtil
-
Keeps a number inside a range.
- clamp(int, int, int) - Static method in class com.crossbotics.ftchelper.util.MathUtil
-
Same as
MathUtil.clamp(double, double, double)for whole numbers (for example encoder ticks). - claw() - Static method in class com.crossbotics.ftchelper.robot.Shape
-
Two fingers that a servo opens and closes (a
Claw's). - Claw - Class in com.crossbotics.ftchelper.robot
-
A claw on one servo:
openandclosed, plus any other positions you name. - clear() - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Tally
-
Forgets everything (a new spot, a new table, or after saving).
- clear() - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Trials
-
Forgets every shot and mark (a new table, after a save).
- clear() - Method in class com.crossbotics.ftchelper.gamepad.ControllerBindings
-
Removes every binding.
- clear() - Static method in class com.crossbotics.ftchelper.match.MatchMemory
-
Forgets everything (alliance and pose).
- clear() - Method in class com.crossbotics.ftchelper.robot.Pieces
-
Empties the count (e.g.
- clear() - Static method in class com.crossbotics.ftchelper.util.PoseStore
-
Forgets the saved pose.
- clear(List<LynxModule>) - Static method in class com.crossbotics.ftchelper.hardware.BulkReads
-
Clears the cached readings so the next read gets new values.
- clearFence() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Removes the
Turret.fence(double, double). - clearJam() - Method in interface com.crossbotics.ftchelper.launcher.Feeder
-
Forgets a jam (the launcher calls it when the driver asks to shoot again).
- clearJam() - Method in class com.crossbotics.ftchelper.launcher.MotorFeeder
-
Clears the jam flag.
- clearJam() - Method in class com.crossbotics.ftchelper.robot.Indexer
- clearReadyChecks() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
Removes every
Launcher.requireReady(java.lang.String, java.util.function.BooleanSupplier)check. - clearRules() - Method in class com.crossbotics.ftchelper.robot.Lights
-
Takes away every rule (the "otherwise" color stays).
- close() - Method in class com.crossbotics.ftchelper.robot.Claw
-
Closes it (goes to "closed").
- close() - Method in class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
Stops reading, forgets its targets and ends the helper thread.
- close() - Method in class com.crossbotics.ftchelper.vision.LimelightTags
-
Stops the Limelight, forgets its targets and ends the background worker.
- close() - Method in interface com.crossbotics.ftchelper.vision.TargetSource
-
Stops the camera and frees it.
- close() - Method in class com.crossbotics.ftchelper.vision.WebcamTags
-
Stops the camera, frees it for the next OpMode, ends the background worker, forgets its targets.
- closest(String, Collection<String>) - Static method in class com.crossbotics.ftchelper.util.Spelling
-
The known name that
nameis most likely a typo of, or null if none is close. - CLUSTER - Static variable in class com.crossbotics.ftchelper.vision.TargetObservation
-
The id used for AprilTag clusters (they have a name instead of a number).
- coast() - Method in class com.crossbotics.ftchelper.hardware.MotorSetup
-
At power 0 the motor spins freely.
- coastSec(double[], double[], double[]) - Static method in class com.crossbotics.ftchelper.finders.CharacterizeMath
-
How long a coasting motor (power 0, FLOAT) takes to slow down: the time for its speed to drop to about 37% (one "time constant"), seconds.
- code - Variable in class com.crossbotics.ftchelper.robot.Feature
-
The line to use it (Java), "" for AUTOMATIC.
- codeLines() - Method in class com.crossbotics.ftchelper.finders.ShotPoints
-
The code for these shots: "new ShotTable()" and one ".add(...)" line per shot, each with a comment saying how many went in and the speed measured, e.g.
- color() - Method in class com.crossbotics.ftchelper.robot.Lights
-
The color the rules pick now (a blinking color counts even in its dark half).
- color(String) - Static method in class com.crossbotics.ftchelper.robot.PieceSensor
-
A color sensor with a distance reading, like the REV Color Sensor V3 (configure it as "REV Color Sensor V3").
- color(String) - Method in class com.crossbotics.ftchelper.robot.Shape
-
Its color in the 3D view, e.g.
- colors() - Method in class com.crossbotics.ftchelper.robot.Camera
-
HuskyLens: look for the colors you taught it, not AprilTags.
- COLORS - Enum constant in enum class com.crossbotics.ftchelper.vision.HuskyLensCamera.Mode
-
Colors you teach (COLOR_RECOGNITION).
- com.crossbotics.ftchelper.auto - package com.crossbotics.ftchelper.auto
- com.crossbotics.ftchelper.control - package com.crossbotics.ftchelper.control
- com.crossbotics.ftchelper.core - package com.crossbotics.ftchelper.core
- com.crossbotics.ftchelper.drive - package com.crossbotics.ftchelper.drive
- com.crossbotics.ftchelper.finders - package com.crossbotics.ftchelper.finders
- com.crossbotics.ftchelper.gamepad - package com.crossbotics.ftchelper.gamepad
- com.crossbotics.ftchelper.hardware - package com.crossbotics.ftchelper.hardware
- com.crossbotics.ftchelper.launcher - package com.crossbotics.ftchelper.launcher
- com.crossbotics.ftchelper.match - package com.crossbotics.ftchelper.match
- com.crossbotics.ftchelper.mechanism - package com.crossbotics.ftchelper.mechanism
- com.crossbotics.ftchelper.odometry - package com.crossbotics.ftchelper.odometry
- com.crossbotics.ftchelper.robot - package com.crossbotics.ftchelper.robot
- com.crossbotics.ftchelper.safety - package com.crossbotics.ftchelper.safety
- com.crossbotics.ftchelper.telemetry - package com.crossbotics.ftchelper.telemetry
- com.crossbotics.ftchelper.teleop - package com.crossbotics.ftchelper.teleop
- com.crossbotics.ftchelper.testing - package com.crossbotics.ftchelper.testing
- com.crossbotics.ftchelper.testkit - package com.crossbotics.ftchelper.testkit
- com.crossbotics.ftchelper.tuning - package com.crossbotics.ftchelper.tuning
- com.crossbotics.ftchelper.util - package com.crossbotics.ftchelper.util
- com.crossbotics.ftchelper.vision - package com.crossbotics.ftchelper.vision
- comingIn(PieceSensor) - Method in class com.crossbotics.ftchelper.robot.Pieces
-
The sensor that sees each piece come in (at or just past the intake).
- comingInSensor() - Method in class com.crossbotics.ftchelper.robot.Pieces
-
The sensor given with
Pieces.comingIn(PieceSensor), or null. - COMPETITION - Enum constant in enum class com.crossbotics.ftchelper.core.Profile
-
At an event: debug telemetry off, tuning menu blocked.
- configureDriving(DriverControls) - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
Changes how driving feels, once, in INIT, right after the drive is made.
- consume() - Static method in class com.crossbotics.ftchelper.util.PoseStore
-
Returns the saved pose and clears it, so it is used only once.
- contains(int) - Method in class com.crossbotics.ftchelper.vision.TagGroup
-
True if this tag is in the group.
- continuous() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
No limits: the turret can turn round and round (a slip ring carries its wires).
- continuous() - Method in class com.crossbotics.ftchelper.robot.Turret
-
No limits: a slip ring carries the wires, so it can turn round and round.
- ControllerBindings - Class in com.crossbotics.ftchelper.gamepad
-
Connects gamepad buttons to robot actions in one place.
- ControllerBindings() - Constructor for class com.crossbotics.ftchelper.gamepad.ControllerBindings
- ControllerBindings.Btn - Enum Class in com.crossbotics.ftchelper.gamepad
-
Gamepad buttons.
- ControllerBindings.Pad - Enum Class in com.crossbotics.ftchelper.gamepad
-
Which gamepad: G1 = gamepad1 (usually the driver), G2 = gamepad2 (usually the operator).
- ControllerBindings.Trigger - Enum Class in com.crossbotics.ftchelper.gamepad
-
The two analog triggers.
- ControlMap<R> - Class in com.crossbotics.ftchelper.robot
-
The team's TeleOp and button map in one file,
Controls.java. - ControlMap() - Constructor for class com.crossbotics.ftchelper.robot.ControlMap
- convert(AprilTagDetection) - Static method in class com.crossbotics.ftchelper.vision.WebcamTags
-
Turns one SDK detection (single tag or cluster) into a TargetObservation, for a level camera.
- convert(AprilTagDetection, double) - Static method in class com.crossbotics.ftchelper.vision.WebcamTags
-
Turns one SDK detection (single tag or cluster) into a TargetObservation, for a camera tilted up by
pitchDeg(0 = level): bearing and distance along the floor (CameraTilt). - convert(AprilTagDetection, double, boolean) - Static method in class com.crossbotics.ftchelper.vision.WebcamTags
-
The same, for a camera that may be mounted upside down (
WebcamTags.upsideDown(boolean)). - copy() - Method in class com.crossbotics.ftchelper.util.FieldPose
-
A new pose with the same numbers.
- correctedDiameter(double, double, double) - Static method in class com.crossbotics.ftchelper.finders.FinderMath
-
A corrected wheel diameter after a drive test: the robot was asked for
askedinches and really wentmeasured. - correctedStrafe(double, double, double) - Static method in class com.crossbotics.ftchelper.finders.FinderMath
-
A corrected strafe correction after a sideways test: asked for
askedinches, really wentmeasured. - count() - Method in class com.crossbotics.ftchelper.launcher.ShotStats
-
Pieces fed since the OpMode started.
- count() - Method in class com.crossbotics.ftchelper.robot.Pieces
-
How many pieces the robot holds now (a piece being fed counts until it has gone).
- count(double) - Method in class com.crossbotics.ftchelper.finders.ShotPoints.DistanceAverage
-
How many readings are in the average now.
- count(String) - Method in class com.crossbotics.ftchelper.robot.Pieces
-
How many of this kind it holds.
- countChanged() - Static method in class com.crossbotics.ftchelper.tuning.Tunable
-
How many tunables use a saved value that is different from the code.
- countsPerDegree(double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Encoder counts per degree of TURRET rotation (motor counts x gear ratio / 360).
- countsPerRev - Variable in class com.crossbotics.ftchelper.robot.Motors.Kind
-
Encoder counts per turn of the output shaft (what the FTC SDK reports).
- countsPerRev() - Method in class com.crossbotics.ftchelper.finders.FlywheelFinderOpMode
-
Encoder counts per ONE turn of the flywheel.
- countsPerRev(double) - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
Encoder counts per ONE flywheel turn.
- covers(double) - Method in class com.crossbotics.ftchelper.launcher.ShotTable
-
True if the distance is inside the tested range.
- create(HardwareMap, DriveConfig, DriverHeading) - Static method in class com.crossbotics.ftchelper.drive.DriverControls
- create(HardwareMap, String) - Static method in class com.crossbotics.ftchelper.launcher.Flywheel
-
Gets the motor: coast (a flywheel must spin down freely), speed control on.
- create(HardwareMap, String) - Static method in class com.crossbotics.ftchelper.launcher.MotorFeeder
-
Gets the motor (brake, plain power).
- create(HardwareMap, String) - Static method in class com.crossbotics.ftchelper.launcher.ServoFeeder
-
Gets the servo.
- create(HardwareMap, String) - Static method in class com.crossbotics.ftchelper.launcher.Turret
-
Gets the motor (brake, encoder reset, plain power) and wraps it.
- create(HardwareMap, String) - Static method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
Gets the motor (brake, encoder reset, plain power) and wraps it.
- create(HardwareMap, String) - Static method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
Gets the servo.
- create(HardwareMap, String) - Static method in class com.crossbotics.ftchelper.mechanism.SpinMotor
-
Gets the motor (coast, plain power) and wraps it.
- create(HardwareMap, String) - Static method in class com.crossbotics.ftchelper.mechanism.SpinServo
-
Gets the servo (must be configured as a Continuous Rotation Servo).
- create(HardwareMap, String) - Static method in class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
Finds the HuskyLens in the robot configuration and wraps it.
- create(HardwareMap, String) - Static method in class com.crossbotics.ftchelper.vision.LimelightTags
-
Finds the Limelight in the robot configuration and wraps it.
- create(HardwareMap, String) - Static method in class com.crossbotics.ftchelper.vision.WebcamTags
-
Finds the webcam in the robot configuration and wraps it.
- createAimController() - Method in class com.crossbotics.ftchelper.finders.AimTunerOpMode
-
The aiming controller for turning the robot (the same gains as in your TeleOp).
- createCamera() - Method in class com.crossbotics.ftchelper.finders.AimTunerOpMode
-
Your camera.
- createCamera() - Method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
-
Your camera, or null to set the distance by hand.
- createHeading(IMU) - Method in class com.crossbotics.ftchelper.robot.ControlMap
- createHeading(IMU) - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
The driver's heading for field-centric driving: from the IMU (with autonomous's saved heading).
- createImu() - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
The IMU, set up for your hub's mounting.
- createImu() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
The IMU, for field-centric driving and "forward" from autonomous.
- createLauncher() - Method in class com.crossbotics.ftchelper.finders.AimTunerOpMode
-
Your launcher, for test shots, or null (default).
- createLauncher() - Method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
-
Your launcher (flywheel, feeder, hood), set up as in your TeleOp.
- createSubsystems() - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
Your mechanisms, kept working during every step.
- createSubsystems() - Method in class com.crossbotics.ftchelper.finders.AimTunerOpMode
-
Other mechanisms to keep updated.
- createSubsystems() - Method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
-
Other mechanisms to keep updated (for example an intake that loads the launcher).
- createSubsystems() - Method in class com.crossbotics.ftchelper.robot.Auto
- createSubsystems() - Method in class com.crossbotics.ftchelper.robot.ControlMap
- createSubsystems() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
Your mechanisms: kept updated every loop and stopped at the end.
- createTurret() - Method in class com.crossbotics.ftchelper.finders.AimTunerOpMode
-
Your turret, or null (default) to aim by turning the robot.
- crServo(String) - Static method in class com.crossbotics.ftchelper.robot.Indexer
-
A continuous-rotation servo that runs for a moment per piece.
- crServo(String) - Static method in class com.crossbotics.ftchelper.robot.Turret
-
A turret on a continuous-rotation (CR) servo.
- crServo(String) - Method in class com.crossbotics.ftchelper.testkit.PretendDevices
-
The pretend CR servo with this name (made now if needed).
- crServos(String...) - Static method in class com.crossbotics.ftchelper.robot.Intake
-
An intake on one or more CR servos (they run together).
- cueAt(double, Runnable) - Method in class com.crossbotics.ftchelper.match.MatchTimer
-
Runs
actiononce, when this many seconds are left. - current() - Static method in enum class com.crossbotics.ftchelper.core.Profile
-
The active profile (read from the saved setting the first time).
- current() - Method in class com.crossbotics.ftchelper.finders.Chooser
-
The chosen name, or null if the list is empty.
- current() - Static method in class com.crossbotics.ftchelper.match.MatchTimer
-
The match timer of the OpMode running now: the one started last since
MatchTimer.forget()(each robot is set up at INIT, which forgets the last OpMode's), or null. - current() - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
The setting being tried now (or kept), -1 before the first update.
- currentAmps - Variable in class com.crossbotics.ftchelper.testkit.PretendMotor
-
What
getCurrent(...)gives, amps. - currentSeason() - Static method in class com.crossbotics.ftchelper.vision.TagGroup
-
This season's groups (the default for
LimelightTags). - curve(double, double) - Static method in class com.crossbotics.ftchelper.gamepad.StickShaping
-
Bends the stick response so small moves give fine control and a full push still gives full power.
- custom - Variable in class com.crossbotics.ftchelper.robot.Motors.Kind
-
True for a motor described in Robot.java (
Motors.custom(java.lang.String, double, double),Motors.unknown(java.lang.String)), not from the catalog. - custom - Variable in class com.crossbotics.ftchelper.robot.Parts.ServoPart
-
True for a servo described in Robot.java (
Parts.customServo(java.lang.String, double, double)), not from the catalog. - custom(String, double, double) - Static method in class com.crossbotics.ftchelper.robot.Motors
-
Describes a motor that is not in the parts catalog, so its id works wherever a motor id goes (
Launcher.flywheel,Arm.motor,Turret.motor,Hood.motor,Drive...motor,.part(...)). - custom(Function<Devices, PoseTracker>) - Static method in class com.crossbotics.ftchelper.robot.Odometry
-
Your own pose source (e.g.
- customServo(String, double, double) - Static method in class com.crossbotics.ftchelper.robot.Parts
-
Describes a servo that is not in the parts catalog, so its id works in
.part(...): its move times (travelSec...) then start from its numbers, and the simulator turns it like the real one. - customServo(String, double, double, double, double) - Static method in class com.crossbotics.ftchelper.robot.Parts
-
Parts.customServo(String, double, double)with the seller's pulse range.
D
- deadband(double) - Method in class com.crossbotics.ftchelper.vision.AimController
-
Errors smaller than this (degrees) give 0 power and count as aimed.
- deadband(double, double) - Static method in class com.crossbotics.ftchelper.util.MathUtil
-
Ignores small values near zero.
- deadbandScaled(double, double) - Static method in class com.crossbotics.ftchelper.util.MathUtil
-
Like
MathUtil.deadband(double, double), but the output starts again from 0 at the edge of the band, so there is no sudden jump. - DeadWheelOdometry - Class in com.crossbotics.ftchelper.odometry
-
Odometry from dead wheels: unpowered omni wheels ("pods") on encoder ports.
- debug(Key, Key) - Method in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
Debug lines on/off: press
keyandwithtogether (either order, except that when one of them is the pause button, the other must go down first: hold START, then press BACK). - debug(String, Object) - Method in class com.crossbotics.ftchelper.telemetry.RobotTelemetry
-
A programmer line: only shown when debug is on.
- debug(String, String, Object...) - Method in class com.crossbotics.ftchelper.telemetry.RobotTelemetry
-
A programmer line with a format: only shown when debug is on.
- DEBUG - Enum constant in enum class com.crossbotics.ftchelper.teleop.LibraryButtons.Job
- debugSection(String) - Method in class com.crossbotics.ftchelper.telemetry.RobotTelemetry
-
A heading that only shows when debug is on.
- decimation(float) - Method in class com.crossbotics.ftchelper.vision.WebcamTags
-
Skips pixels to go faster: 2 = default, 3 = faster but shorter range, 1 = slowest, longest range.
- decrease() - Method in class com.crossbotics.ftchelper.tuning.Tunable
-
One step down.
- DEFAULT - Static variable in class com.crossbotics.ftchelper.robot.Starting
-
Use the library's starting value: worked out from the part Robot.java names (the parts catalog) where the setting depends on the part, else the library's plain default.
- DEFAULT_EXPOSURES_MS - Static variable in class com.crossbotics.ftchelper.vision.WebcamTags
-
The exposures
WebcamTags.autoExposure()tries: the camera's own (0), then 3, 6 and 12 ms. - DEFAULT_FROM_CATALOG - Static variable in class com.crossbotics.ftchelper.robot.Starting
-
The older, longer name for
Starting.DEFAULT: exactly the same. - DEFAULT_NOMINAL_VOLTS - Static variable in class com.crossbotics.ftchelper.launcher.Flywheel
-
The volts the gains are for when nothing else is said: a charged battery under load (as
Feedforward). - DEFAULT_STOP_SEC - Static variable in class com.crossbotics.ftchelper.robot.Interlock
-
The default
<part>StopSec: a motor part in BRAKE stops in about this long (seconds). - defaultValue() - Method in class com.crossbotics.ftchelper.tuning.Tunable
-
The value written in the code.
- define() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Describe the robot here: one
RobotDefinition.driveline and oneRobotDefinition.add(T)line per mechanism. - degrees() - Method in class com.crossbotics.ftchelper.drive.DriverHeading
-
The heading compared with the driver, -180 to 180 degrees.
- degrees(double, double, double, double) - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
Lets you use degrees.
- degreesOutOfRange(double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
How far past its limits a direction is, degrees: 0 if the turret can point there (some equal angle, + or - 360, is inside the limits), otherwise how far it is from the nearest limit, measured around the circle.
- degreesOver(double, double) - Method in class com.crossbotics.ftchelper.robot.Parts.ServoPart
-
How far positions 0 to 1 turn it with this pulse range.
- degreesPerMicrosecond() - Method in class com.crossbotics.ftchelper.robot.Parts.ServoPart
-
Degrees per microsecond of pulse (goBILDA 2000: 0.15); NaN when the range is not given.
- delay(double) - Method in class com.crossbotics.ftchelper.match.InitMenu
-
Adds a start delay choice, 0 to
maxSeconds, in 1-second steps. - DELETE_HOLD_SEC - Static variable in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
-
Hold BACK this long to delete the saved point here (seconds).
- describe() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Runs define() once (no hardware).
- device() - Method in class com.crossbotics.ftchelper.odometry.OtosOdometry
-
The device, for anything this class does not cover.
- device() - Method in class com.crossbotics.ftchelper.odometry.PinpointOdometry
-
The device, for anything this class does not cover.
- deviceName() - Method in class com.crossbotics.ftchelper.robot.Module
-
The main device's configuration name, e.g.
- Devices - Interface in com.crossbotics.ftchelper.robot
-
Where the modules find their motors, servos and sensors by configuration name.
- diameterMm - Variable in class com.crossbotics.ftchelper.robot.Parts.Wheel
-
Outside diameter, mm.
- diameterMm(double) - Method in class com.crossbotics.ftchelper.robot.Shape
-
A roller's or flywheel's diameter, mm, for a part not in the catalog.
- DifferentialMixer - Class in com.crossbotics.ftchelper.drive
-
The math that turns stick values into left and right powers for a standard (tank) drive.
- direction - Variable in class com.crossbotics.ftchelper.testkit.PretendCRServo
-
FORWARD or REVERSE, as set.
- direction - Variable in class com.crossbotics.ftchelper.testkit.PretendMotor
-
FORWARD or REVERSE, as set (
.reversed()sets REVERSE). - direction - Variable in class com.crossbotics.ftchelper.testkit.PretendServo
-
FORWARD or REVERSE, as set.
- disagreement() - Method in class com.crossbotics.ftchelper.robot.Aim
-
When the camera and the odometry both see the goal and their distances differ by more than
Tunables.Aim.cameraOdometryAgree(6 in): a warning (the pose drifted, or the goal point is not where the camera measures to). - displacementIn(int[], int[]) - Method in class com.crossbotics.ftchelper.drive.AutoDrive
-
How far the robot moved between two encoder readings, robot-relative: {forward inches, right inches}.
- display() - Method in class com.crossbotics.ftchelper.tuning.Tunable
-
The value as short text, e.g.
- distance - Variable in class com.crossbotics.ftchelper.launcher.ShotTable.Shot
-
The distance to the goal, the flywheel speed (RPM) and the hood angle (degrees) for it.
- distance() - Method in class com.crossbotics.ftchelper.vision.DistanceFilter
-
The distance in use now (inches), NaN if none.
- distance(String) - Static method in class com.crossbotics.ftchelper.robot.PieceSensor
-
A distance sensor looking across a channel at the far wall (REV 2m Distance Sensor: configure it as "REV 2M Distance Sensor").
- distance(String, String) - Static method in class com.crossbotics.ftchelper.util.Spelling
-
How many letters must be added, removed or changed to turn
aintob(the "edit distance"). - DistanceAverage() - Constructor for class com.crossbotics.ftchelper.finders.ShotPoints.DistanceAverage
- DistanceFilter - Class in com.crossbotics.ftchelper.vision
-
Keeps camera glitches out of a distance (for example the launcher's speed from the distance).
- DistanceFilter() - Constructor for class com.crossbotics.ftchelper.vision.DistanceFilter
-
The defaults: the middle of 5 pictures, jumps over 12 in need 3 pictures within 4 in.
- DistanceFilter(int, double, double) - Constructor for class com.crossbotics.ftchelper.vision.DistanceFilter
- distanceIn - Variable in class com.crossbotics.ftchelper.vision.MovingShot.Result
-
Inches from the shooter to the virtual goal: the distance for the launcher's speed.
- distanceIn - Variable in class com.crossbotics.ftchelper.vision.TargetObservation
-
Inches from the camera to the target, flat in the camera's own view (see above).
- distanceIn() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The distance to the goal the speed uses now (inches), NaN if none yet.
- distanceInches(Pose3D) - Static method in class com.crossbotics.ftchelper.vision.LimelightTags
-
Distance to the target in inches, flat in the camera's own view (its up/down left out; the same as the floor distance only for a level camera), NaN if there is no pose.
- distanceMm() - Method in class com.crossbotics.ftchelper.robot.PieceSensor
-
The latest distance in mm (NaN for a camera, or no reading yet).
- distanceSource() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Where that distance came from last loop: CAMERA, ODOMETRY or NONE (keeps the last speed).
- done() - Method in class com.crossbotics.ftchelper.hardware.MotorSetup
-
Sets power to 0 and gives you the motor.
- done() - Method in class com.crossbotics.ftchelper.hardware.ServoSetup
-
Gives you the servo.
- DONE - Enum constant in enum class com.crossbotics.ftchelper.drive.AutoDrive.Result
-
Reached the target.
- DONE - Enum constant in enum class com.crossbotics.ftchelper.drive.RouteDriver.Result
-
It reached the last point and heading.
- DOUBLE_TAP_SEC - Static variable in class com.crossbotics.ftchelper.robot.Pad
-
Two taps closer together than this (seconds) are a double-tap.
- doubleTap(Action) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
Pad.Button.doubleTap(Runnable)with an action. - doubleTap(Runnable) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
Two quick taps run
job(the first tap alone runs the tap job, if any). - DPAD_DOWN - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Btn
- DPAD_LEFT - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Btn
- DPAD_RIGHT - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Btn
- DPAD_UP - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Btn
- dpadDown - Variable in class com.crossbotics.ftchelper.robot.Pad
-
The D-pad.
- dpadLeft - Variable in class com.crossbotics.ftchelper.robot.Pad
-
The D-pad.
- dpadRight - Variable in class com.crossbotics.ftchelper.robot.Pad
-
The D-pad.
- dpadUp - Variable in class com.crossbotics.ftchelper.robot.Pad
-
The D-pad.
- drive() - Method in class com.crossbotics.ftchelper.core.RobotConfig
-
The drivetrain: type, motor names, directions, power limit.
- drive() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
The drivetrain as written in define().
- drive(double, double, double) - Method in class com.crossbotics.ftchelper.drive.MecanumDrive
-
Robot-centric drive: "forward" is where the robot faces.
- drive(double, double, double, double) - Method in class com.crossbotics.ftchelper.drive.DriverControls
-
Drives with numbers you worked out yourself (robot-centric), for your own controls.
- drive(double, double, double, double) - Method in class com.crossbotics.ftchelper.drive.MecanumDrive
-
Robot-centric drive with a speed multiplier (for a slow mode).
- drive(AutoDrive) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
The drivetrain for move and turn steps.
- drive(Drive) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
The drivetrain.
- drive(Gamepad) - Method in class com.crossbotics.ftchelper.robot.ControlMap
- drive(Gamepad) - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
Drives the robot from gamepad 1, every loop (not while the tuning menu is open).
- Drive - Class in com.crossbotics.ftchelper.robot
-
The drivetrain in
Robot.java: mecanum or standard (tank), its motor names, the motor and wheel, and how the Control Hub is mounted (for the IMU, the turn sensor). - driveConfig() - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
The drivetrain settings.
- driveConfig() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
The drivetrain settings.
- DriveConfig - Class in com.crossbotics.ftchelper.drive
-
The drivetrain type, the motor names and directions, and a power limit.
- DriveConfig() - Constructor for class com.crossbotics.ftchelper.drive.DriveConfig
- DriveConfig.DriveType - Enum Class in com.crossbotics.ftchelper.drive
-
The kind of drivetrain.
- driveFieldCentric(double, double, double, double) - Method in class com.crossbotics.ftchelper.drive.MecanumDrive
-
Field-centric drive at full speed scale.
- driveFieldCentric(double, double, double, double, double) - Method in class com.crossbotics.ftchelper.drive.MecanumDrive
-
Field-centric drive: "forward" is away from the driver, whichever way the robot faces.
- driveRampMax() - Method in class com.crossbotics.ftchelper.finders.CharacterizerOpMode
-
The highest power the drive and turn ramps reach (default 0.4, at most 0.5).
- DriverControls - Class in com.crossbotics.ftchelper.drive
-
Standard TeleOp driving from one gamepad, for mecanum AND standard (tank) robots, in one line per loop.
- DriverHeading - Class in com.crossbotics.ftchelper.drive
-
Which way the robot faces compared with the DRIVER, for field-centric driving.
- DriverHeading(IMU) - Constructor for class com.crossbotics.ftchelper.drive.DriverHeading
-
Makes the driver heading for this IMU.
- driveRoute(String, Supplier<FieldPose>, BooleanSupplier, BooleanSupplier, FieldMap, double, double, double, double, double) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Drives to a field point around the boxes of a
FieldMap. - driveSpeed() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
The driving speed the library's slow buttons ask for now, 0 to 1 (1 = full speed): the slow trigger (the further, the slower), a slow button held, or slow on/off.
- driveTo(String, double, double, double, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Drives to a point on the field, using the odometry, and turns to a heading at the same time (mecanum).
- driveTo(String, double, double, double, double, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Steps.driveTo(String, double, double, double, double)with your own "close enough", inches. - driveTo(String, double, double, double, double, double, PathAt...) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Steps.driveTo(String, double, double, double, double, PathAt...)with your own "close enough", inches. - driveTo(String, double, double, double, double, PathAt...) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Steps.driveTo(String, double, double, double, double)that also starts things on the way:PathAt.inchesLeft(12, ...),PathAt.fraction(0.5, ...),PathAt.near(...). - driveTo(String, Supplier<FieldPose>, double, double, double, double, double) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Drives to a field point with odometry and ends at a heading (mecanum).
- driveTo(String, Supplier<FieldPose>, BooleanSupplier, double, double, double, double, double) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
AutoRoutine.driveTo(String, java.util.function.Supplier, double, double, double, double, double); stops ifreadyturns false. - driveTo(String, Supplier<FieldPose>, BooleanSupplier, double, double, double, double, double, List<PathEvent>) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
AutoRoutine.driveTo(String, java.util.function.Supplier, BooleanSupplier, double, double, double, double, double)that also does things on the way (PathEvent): the "path" is the straight line from where the robot is at the start of the step to the point. - driveTo(Supplier<FieldPose>, double, double, double, double, double) - Method in class com.crossbotics.ftchelper.drive.AutoDrive
- driveTo(Supplier<FieldPose>, BooleanSupplier, double, double, double, double, double) - Method in class com.crossbotics.ftchelper.drive.AutoDrive
-
AutoDrive.driveTo(java.util.function.Supplier, double, double, double, double, double), checking every loop that the odometry works: ifreadyturns false, the robot stops at once (NO_ODOMETRY). - driveToKp - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
driveTo and routes: power per inch left, inside
AutoDriveConfig.driveToNearIn. - driveToMinPower - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
driveTo and routes: the smallest power inside
AutoDriveConfig.driveToNearIn, so the robot does not stall short. - driveToMinTurn - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
driveTo and routes: the smallest turn power while the heading is off, when
AutoDriveConfig.turnMinPoweris 0. - driveToNearIn - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
driveTo and routes: the last part (inches) where the speed follows the distance left.
- DriveTunerOpMode - Class in com.crossbotics.ftchelper.finders
-
Finds the autonomous drive numbers in
RobotSettings.auto(): the wheel size and (mecanum) the strafe correction. - DriveTunerOpMode() - Constructor for class com.crossbotics.ftchelper.finders.DriveTunerOpMode
- driveWith(double, double, double) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Drives with numbers in your own OpMode (for example in your own autonomous), each -1 to 1.
- driveWith(Gamepad) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Drives with a gamepad's sticks in your own OpMode, as the library's TeleOp does without its extras: left stick forward/back (and sideways on mecanum), right stick turns, the left trigger drives slowly.
- driving() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
The driving (field-centric on/off, slow mode).
- dropLast() - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Trials
-
Forgets the NEWEST shot not marked yet: a "shot" that never was (the flywheel dipped without a piece going through), so the marks stay in line with the real shots.
- dropOld(List<TargetObservation>, long, double) - Static method in class com.crossbotics.ftchelper.vision.WebcamTags
-
The observations not older than
keepMs. - dropRpm - Variable in class com.crossbotics.ftchelper.launcher.ShotStats.Shot
-
How far the speed fell below the target after the feed (RPM, 0 or more).
- dropsWhen(ServoPositions<?>, String, double) - Method in class com.crossbotics.ftchelper.robot.Shape
-
A passive arm that a servo pushes over (an intake folded up at the start): when that servo reaches the named position (three quarters of the way there), it falls to
toDegrees(its hard stop) and stays, as gravity holds it there on the robot. - duringInit(Runnable) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Code of your own that runs again and again in INIT, until START (FTC's
init_loop): for example, show a sensor on the Driver Hub so the drivers can check it before the match. - dxIn - Variable in class com.crossbotics.ftchelper.odometry.CameraPoseFix.Result
- dyIn - Variable in class com.crossbotics.ftchelper.odometry.CameraPoseFix.Result
E
- EasyAuto - Class in com.crossbotics.ftchelper.auto
-
The easiest way to write an autonomous: fill in a few methods, and list your steps.
- EasyAuto() - Constructor for class com.crossbotics.ftchelper.auto.EasyAuto
- EasyTeleOp - Class in com.crossbotics.ftchelper.teleop
-
A whole TeleOp where you only write what is special about YOUR robot: its mechanisms, the operator's buttons, and any extra screen lines.
- EasyTeleOp() - Constructor for class com.crossbotics.ftchelper.teleop.EasyTeleOp
- eject() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Starts an eject now (see
Launcher.ejectAction()). - ejectAction() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
A ready-made action: one piece out through the launcher at a low speed (
ejectRpm, 600, forejectSec, 1 s), e.g. - elapsedSec() - Method in class com.crossbotics.ftchelper.match.MatchTimer
-
Seconds since start (0 before).
- element - Variable in class com.crossbotics.ftchelper.vision.TagGroup
-
The field element the group is on, e.g.
- enabled - Variable in class com.crossbotics.ftchelper.odometry.CameraPoseFix.Settings
-
Off unless true.
- encoder(String, double) - Method in class com.crossbotics.ftchelper.robot.Turret
-
A CR servo turret's encoder on a motor port (e.g.
- EncoderCheckOpMode - Class in com.crossbotics.ftchelper.finders
-
Encoder Check: finds an encoder cable in the wrong port, or missing.
- EncoderCheckOpMode() - Constructor for class com.crossbotics.ftchelper.finders.EncoderCheckOpMode
- EncoderMotor - Class in com.crossbotics.ftchelper.robot
-
One motor of your robot as the Encoder Check sees it: its name, the direction Robot.java gives it, which way to push it, the motors that always get the same power (a lift's second motor), and whether the library reads its encoder.
- encoderMotors() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Every motor Robot.java names, for the Encoder Check (Tune and check): the drive motors first, then each part's motors (a lift's second motor rides with its first).
- encoderRead - Variable in class com.crossbotics.ftchelper.robot.EncoderMotor
-
True if the library reads this encoder (a lift, an arm, a flywheel, a motor turret or hood, a drive without odometry).
- encoderReversed() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
The encoder counts the other way (a separate encoder whose count goes down while the turret turns counterclockwise).
- encoderReversed() - Method in class com.crossbotics.ftchelper.robot.Turret
-
A CR servo turret's encoder counts the other way (down while the turret turns counterclockwise).
- end() - Method in class com.crossbotics.ftchelper.robot.Steps
-
Ends the latest
Steps.onlyIf(java.lang.String). - endPose() - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
The pose to hand to TeleOp at the end, or null (the default: the heading from the drive's IMU only).
- endPose() - Method in class com.crossbotics.ftchelper.robot.Auto
- endReverse() - Method in class com.crossbotics.ftchelper.robot.Intake
-
Ends
Intake.reverse(). - equals(Object) - Method in class com.crossbotics.ftchelper.teleop.Key
- errorDeg() - Method in class com.crossbotics.ftchelper.robot.Aim
-
How many degrees the aim is off now (any sign), NaN if unknown.
- everyLoop() - Method in class com.crossbotics.ftchelper.robot.ControlMap
- everyLoop() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
Your own code for every loop, e.g.
- everyLoop(Runnable) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Code of your own that runs once every loop after START, after the library's parts (not in INIT, not while paused).
- exposure(long, int) - Method in class com.crossbotics.ftchelper.vision.WebcamTags
-
Manual exposure (milliseconds) and gain.
F
- facingDeg - Variable in class com.crossbotics.ftchelper.vision.TargetObservation
-
Which way the target's face points, along the floor, in the camera's frame (the same frame as
TargetObservation.bearingDeg: for a camera on the robot's front, the robot's): degrees, counterclockwise +, turned to the camera's side. - facingDeg(AprilTagDetection, double, boolean, double) - Static method in class com.crossbotics.ftchelper.vision.WebcamTags
-
Which way the tag's (or the cluster's) face points along the floor, in the camera's frame (like the bearing) (degrees, + = counterclockwise, turned to the camera's side), NaN if unknown.
- failSetPower - Variable in class com.crossbotics.ftchelper.testkit.PretendMotor
-
True:
setPowerthrows, like an unplugged motor. - Feature - Class in com.crossbotics.ftchelper.robot
-
One ready-made thing the library can do for this robot (see
RobotDefinition.features()): an autonomous step or action ("Fire 2", "Aim at the goal"), a TeleOp toggle ("aim mode"), or something it does by itself ("the Goal line on the Driver Station"). - Feature.Kind - Enum Class in com.crossbotics.ftchelper.robot
-
Where it is used.
- features() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
What the library can do for this robot by itself, ready or not, worked out from Robot.java's parts (no hardware needed): the launcher's "Fire 1", "Fire 2"...
- feeder() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The indexer given with
Launcher.feeder(Indexer)(it pushes the pieces in), or null. - feeder(Indexer) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The indexer that feeds it.
- Feeder - Interface in com.crossbotics.ftchelper.launcher
-
Pushes ONE game piece into the launcher when asked.
- feederSection() - Method in class com.crossbotics.ftchelper.robot.FeedTimeTest
-
The feeder's Tunables section name (for the line to copy), or "" when it does nothing.
- Feedforward - Class in com.crossbotics.ftchelper.control
-
The power a motor needs for a speed, worked out from how the motor behaves ("feedforward"), instead of waiting for an error to build up like a PID does.
- Feedforward(double, double, double) - Constructor for class com.crossbotics.ftchelper.control.Feedforward
-
For wheels and flywheels (no gravity).
- Feedforward(double, double, double, double) - Constructor for class com.crossbotics.ftchelper.control.Feedforward
-
For a lift: kG = the power that holds it still against gravity.
- FEEDING - Enum constant in enum class com.crossbotics.ftchelper.launcher.Launcher.State
- feedOne() - Method in interface com.crossbotics.ftchelper.launcher.Feeder
-
Starts feeding one piece.
- feedOne() - Method in class com.crossbotics.ftchelper.launcher.MotorFeeder
-
Starts feeding one piece: the motor turns on now, and
MotorFeeder.update()turns it off. - feedOne() - Method in class com.crossbotics.ftchelper.launcher.ServoFeeder
-
Starts one push.
- feedOne() - Method in class com.crossbotics.ftchelper.robot.Indexer
-
Feeds one piece now (ignored while busy).
- feedSecNow() - Method in class com.crossbotics.ftchelper.robot.FeedTimeTest
-
Tunables
feedSecnow, seconds (NaN when it does nothing). - feedStop(String) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
A feed stop: a servo that holds the pieces back until a shot is allowed.
- feedStop(String, String) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
A feed stop, with its servo's catalog id: the same as
Launcher.feedStop(String), and the Feed Stop Finder can then work out how long the stop takes to open (feedStopMoveSec) from the seller's speed. - FeedStopFinderOpMode - Class in com.crossbotics.ftchelper.finders
-
Finds a launcher's feed stop positions (
Launcher.feedStop("feed_stop")in Robot.java): where it holds the pieces back, and where it lets one through. - FeedStopFinderOpMode() - Constructor for class com.crossbotics.ftchelper.finders.FeedStopFinderOpMode
- feedStopMoveSec() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Tunables
feedStopMoveSecas read at INIT (0.1 when it is not written). - feedStopName() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The feed stop's configuration name, or null.
- feedStopPart() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The feed stop servo's catalog part (
Launcher.feedStop(String, String)), or null when Robot.java gives none. - feedTest(double, double, double, double) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
For the Feed Stop Finder (Tune and check): a test feed that uses these numbers instead of the ones in Tunables.java.
- FeedTest - Class in com.crossbotics.ftchelper.robot
-
A test shot for the Feed Stop Finder: it spins the wheel, opens the feed stop like a real shot (the indexer and the pushing parts too), and measures how long the piece takes to reach the wheel.
- feedTime(double) - Method in class com.crossbotics.ftchelper.launcher.MotorFeeder
-
Seconds to run per piece (also the longest it waits for the sensor).
- FeedTimeFinderOpMode - Class in com.crossbotics.ftchelper.finders
-
Finds how long a launcher's feeder must run per shot (
feedSec), for a feeder that runs for a time: a CR servo or a motor (Launcher.feeder(Indexer.crServo("feeder"))in Robot.java), with no feed stop. - FeedTimeFinderOpMode() - Constructor for class com.crossbotics.ftchelper.finders.FeedTimeFinderOpMode
- feedTimeTest(double) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
For the Feed Time Finder (Tune and check): a test shot that runs the feeder at its
poweruntil the wheel sees the shot, and times it. - FeedTimeTest - Class in com.crossbotics.ftchelper.robot
-
A test shot for the Feed Time Finder: it spins the wheel, runs the feeder (a CR servo or a motor) at its
power, and measures how long the piece takes to reach the wheel. - feedWheel() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The feed wheel (
Launcher.feedWheel(Indexer)), or null. - feedWheel(Indexer) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
A feed wheel: a CR servo (or a motor) that moves the pieces up to the
Launcher.feeder()(a servo arm that pushes each one into the wheel, then comes back). - feedWheelOutWith(Intake) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The feed wheel runs backward while this part pushes pieces out (
intake.out()), and stops again when it stops pushing out. - fence(double, double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
A temporary range inside the limits, set every loop by an interlock rule (see the robot module's Interlock): the turret does not turn past it.
- fence(double, double) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
A second, temporary range inside the limits, in units, set every loop by an interlock rule (two parts that must not be in the same space).
- fence(double, double) - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
A second, temporary range (raw positions) set every loop by an interlock rule: the servo is not sent past it.
- fence(double, double, double, double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Turret.fence(double, double), and the most power it may use toward each side now. - fence(double, double, double, double) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
PositionMotor.fence(double, double), and the most power it may use toward each side now. - FIELD_CENTRIC - Enum constant in enum class com.crossbotics.ftchelper.teleop.LibraryButtons.Job
- FIELD_CENTRIC_DOUBLE_TAP_SEC - Static variable in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
Field-centric on/off needs a DOUBLE tap: two presses closer together than this (seconds).
- fieldCentric(Key) - Method in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
Field-centric on/off (a mecanum with an IMU or odometry).
- fieldCentricButton() - Method in class com.crossbotics.ftchelper.robot.ControlMap
- fieldCentricButton() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
The gamepad 1 button that switches field-centric driving on and off (mecanum with an IMU only).
- fieldDirection(double, double) - Static method in class com.crossbotics.ftchelper.drive.MecanumMixer
-
The robot-relative direction of a field direction.
- fieldMap() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
The map from
fieldMap(...)in Robot.java, or null if there is none. - fieldMap(FieldMap) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
The places on the field the robot must not drive through, for
s.routeTo(...)in an autonomous androute(...)in Controls.java. - FieldMap - Class in com.crossbotics.ftchelper.drive
-
The places on the field the robot must not drive through, and how to get around them: your own "keep-out" boxes, in
Robot.java. - fieldPose(Alliance, double, double, double) - Static method in class com.crossbotics.ftchelper.match.MatchMemory
-
A start spot seen from the drivers' wall, as a field position.
- FieldPose - Class in com.crossbotics.ftchelper.util
-
Where the robot is on the field: x and y in inches, heading in degrees (counterclockwise is positive, like the IMU).
- FieldPose() - Constructor for class com.crossbotics.ftchelper.util.FieldPose
-
A pose at (0, 0), heading 0.
- FieldPose(double, double, double) - Constructor for class com.crossbotics.ftchelper.util.FieldPose
-
Makes a pose from three numbers.
- fieldSighting() - Method in class com.crossbotics.ftchelper.vision.LimelightTags
-
ALPHA: the field position from the newest picture with tags, or null before the first.
- fieldSize(double) - Method in class com.crossbotics.ftchelper.drive.FieldMap
-
The field's size.
- fieldToRobot(double, double, double) - Static method in class com.crossbotics.ftchelper.drive.MecanumMixer
-
Turns a field-relative command into a robot-relative one ("field-centric" driving).
- find(String) - Static method in class com.crossbotics.ftchelper.robot.Motors
-
The motor with this id, from the catalog or described with
Motors.custom(java.lang.String, double, double); null if there is none. - FinderMath - Class in com.crossbotics.ftchelper.finders
-
The arithmetic behind the finders, kept apart so it can be tested on a laptop.
- finderName() - Method in class com.crossbotics.ftchelper.finders.AimTunerOpMode
- finderName() - Method in class com.crossbotics.ftchelper.finders.CameraFixCheckOpMode
- finderName() - Method in class com.crossbotics.ftchelper.finders.CharacterizerOpMode
- finderName() - Method in class com.crossbotics.ftchelper.finders.DriveTunerOpMode
- finderName() - Method in class com.crossbotics.ftchelper.finders.EncoderCheckOpMode
- finderName() - Method in class com.crossbotics.ftchelper.finders.FeedStopFinderOpMode
- finderName() - Method in class com.crossbotics.ftchelper.finders.FeedTimeFinderOpMode
- finderName() - Method in class com.crossbotics.ftchelper.finders.FinderOpMode
-
The finder's name, e.g.
- finderName() - Method in class com.crossbotics.ftchelper.finders.FlywheelFinderOpMode
- finderName() - Method in class com.crossbotics.ftchelper.finders.HoodFinderOpMode
- finderName() - Method in class com.crossbotics.ftchelper.finders.MotorDirectionCheckOpMode
- finderName() - Method in class com.crossbotics.ftchelper.finders.MotorFinderOpMode
- finderName() - Method in class com.crossbotics.ftchelper.finders.MoveTunerOpMode
- finderName() - Method in class com.crossbotics.ftchelper.finders.OdometryTunerOpMode
- finderName() - Method in class com.crossbotics.ftchelper.finders.PieceTunerOpMode
- finderName() - Method in class com.crossbotics.ftchelper.finders.ServoFinderOpMode
- finderName() - Method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
- FinderOpMode - Class in com.crossbotics.ftchelper.finders
-
The shared frame of every finder: INIT, a loop that never waits, the "copy into your code" lines, saving them to the results file, and stopping everything at the end (even after an error).
- FinderOpMode() - Constructor for class com.crossbotics.ftchelper.finders.FinderOpMode
- FinderResults - Class in com.crossbotics.ftchelper.finders
-
What a finder found, as lines of code ready to copy.
- FinderResults(String) - Constructor for class com.crossbotics.ftchelper.finders.FinderResults
- findServo(String) - Static method in class com.crossbotics.ftchelper.robot.Parts
-
A servo from the catalog or described with
Parts.customServo(java.lang.String, double, double); null if there is none. - findTarget(TargetSource) - Method in class com.crossbotics.ftchelper.finders.AimTunerOpMode
-
Which target to aim at.
- findTarget(TargetSource) - Method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
-
Which target the distance is measured to.
- fire() - Method in class com.crossbotics.ftchelper.robot.FeedTest
-
Fires one test piece: only when
FeedTest.isReady()and notFeedTest.isBusy(); else it does nothing. - fire() - Method in class com.crossbotics.ftchelper.robot.FeedTimeTest
-
Fires one test piece: only when
FeedTimeTest.isReady()and notFeedTimeTest.isBusy(); else it does nothing. - fire() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Fires one piece (spins up first if needed; feeds as soon as it is at speed).
- fire(int) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Fires
countpieces, one after another (no queue limit: an autonomous asks for what it means). - fireAction(int) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
A ready-made action: fires
countpieces and is done when the last one has left (or after 3 s + 2 s a piece). - fireAction(int, double) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Like
Launcher.fireAction(int), at this flywheel speed: for a robot with no camera, whose autonomous shoots from a spot it knows. - fireAllAction() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
A ready-made action: fires every piece the robot holds, then is done.
- fireAllAction(double) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Like
Launcher.fireAllAction(), at this flywheel speed (seeLauncher.fireAction(int, double)). - fired(double, double, double, double) - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Trials
-
A piece was fed: it waits to be marked.
- fireOn(Pad.Button) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Puts the fire button on
buttoninstead of RB, inControls.java: everything RB does (tap: fire one, more taps: more shots, hold: keep firing, tap then hold: spray). - fireWhileHeld() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The fire button, every loop while it is held.
- fit(double[], double[], double[], double[], boolean) - Static method in class com.crossbotics.ftchelper.finders.CharacterizeMath
-
Fits kS, kV, kA (and kG when
gravity) to a log. - fixed(Shape...) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Parts the code does not move, for the simulator:
fixed(Shape.box("ramp")...), andShape.passiveparts that belong to no module. - fixedSpeedRpm() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The speed set by
Launcher.useSpeed(double)or a fire action with a speed (RPM), NaN when none. - flag(Telemetry, String, boolean) - Static method in class com.crossbotics.ftchelper.telemetry.TelemetryHelper
-
Adds "label : yes" or "label : no".
- flash(LightColor) - Method in class com.crossbotics.ftchelper.robot.Lights
-
Flashes a color now for half a second, over every rule: from a button (
g2.a.press(() -> robot.lights.flash(LightColor.WHITE))) or at the end of an action (.then(() -> r.lights.flash(LightColor.GREEN))). - flash(LightColor, double) - Method in class com.crossbotics.ftchelper.robot.Lights
-
Flashes a color now for this long, over every rule.
- FLASH_SEC - Static variable in class com.crossbotics.ftchelper.robot.Lights
-
A flash's length when none is given: half a second.
- flightSec - Variable in class com.crossbotics.ftchelper.vision.MovingShot.Result
-
The flight time used, seconds.
- flightSec(double, double) - Method in class com.crossbotics.ftchelper.vision.MovingShot
-
How long a piece is in the air:
sec + perIn x distance, seconds. - floorDistance(double, double, double, double) - Static method in class com.crossbotics.ftchelper.vision.CameraTilt
-
The target's distance from the camera along the floor (the height difference left out).
- flywheel() - Static method in class com.crossbotics.ftchelper.robot.Shape
-
A launcher wheel not in the parts catalog: give
Shape.diameterMm(double)andShape.lengthMm(double). - flywheel(String) - Static method in class com.crossbotics.ftchelper.finders.CharacterizerOpMode.Mechanism
-
A flywheel (or any motor that may spin freely: an intake, a spinner).
- flywheel(String) - Static method in class com.crossbotics.ftchelper.robot.Shape
-
A launcher wheel, e.g.
- flywheel(String, String) - Static method in class com.crossbotics.ftchelper.robot.Launcher
-
A launcher with its flywheel on this motor.
- Flywheel - Class in com.crossbotics.ftchelper.launcher
-
A flywheel (shooter wheel) that holds a speed in RPM, says when it is ready, and notices shots.
- Flywheel(String, DcMotorEx) - Constructor for class com.crossbotics.ftchelper.launcher.Flywheel
-
Wraps a motor you already set up (RUN_USING_ENCODER).
- FlywheelFinderOpMode - Class in com.crossbotics.ftchelper.finders
-
Finds a flywheel's speed-control numbers.
- FlywheelFinderOpMode() - Constructor for class com.crossbotics.ftchelper.finders.FlywheelFinderOpMode
- flywheelPidf(double) - Static method in class com.crossbotics.ftchelper.finders.FinderMath
-
Starting speed-control gains for a flywheel from its top speed (the hub's velocity PIDF).
- folder() - Static method in class com.crossbotics.ftchelper.core.SettingsFile
-
The folder for the helper's files (settings, finder results, logs):
/sdcard/FIRST/ftc-helperon the robot. - folder() - Static method in class com.crossbotics.ftchelper.finders.FinderResults
-
The folder for results and logs: /sdcard/FIRST/ftc-helper on the robot.
- follow(Object, boolean) - Method in interface com.crossbotics.ftchelper.robot.PathFollower
-
Starts following a path.
- follow(String, Object) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Follows a path with the robot's path follower (Robot.java's
follower(...)line, e.g. - follow(String, Object, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Steps.follow(String, Object)with your own time limit, seconds. - follow(String, Object, double, PathAt...) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Steps.follow(String, Object, PathAt...)with your own time limit, seconds. - follow(String, Object, PathAt...) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Steps.follow(String, Object)that also starts things ALONG the path, while the robot keeps driving. - follower() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
The path follower as running (null before setup, or with no follower(...) line).
- follower(PathFollower.Maker) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
A path follower from another library, e.g.
- follower(HardwareMap, String, boolean) - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
A second motor on the same flywheel.
- followMode() - Method in class com.crossbotics.ftchelper.robot.Turret
-
Following the camera's goal: switch it with a button (
g2.back.toggle(robot.turret.followMode())). - followPath(String, PathJob, double) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Follows a path driven by another library (see
PathJob) and waits until it is at the end, at mosttimeoutSec. - followPath(String, PathJob, double, List<PathEvent>) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
AutoRoutine.followPath(String, PathJob, double)that also does things along the path: eachPathEventfires once, when the robot gets far enough along (checked every loop, in the order given). - followRoute(Supplier<FieldPose>, BooleanSupplier, List<double[]>, RouteDriver.LineCheck, double, double, double) - Method in class com.crossbotics.ftchelper.drive.AutoDrive
-
Drives a route of field points without stopping at the points on the way: a route from
FieldMap.route(double, double, double, double), in the odometry's frame. - follows(Camera) - Method in class com.crossbotics.ftchelper.robot.Turret
-
Follows this camera's goal (follow mode on from START).
- followsOdometry() - Method in class com.crossbotics.ftchelper.robot.Turret
-
Follows the goal with NO camera: its direction comes from the odometry (where the robot is) and
Tunables.Aim.goalX, goalY(seeAim). - followsTable() - Method in class com.crossbotics.ftchelper.robot.Hood
-
True while the angle comes from the shot table (the launcher's distance), false when it is set by hand.
- force(int, ButtonNames.Style) - Static method in class com.crossbotics.ftchelper.gamepad.ButtonNames
-
For tests and the simulator: names as if gamepad
padwere this kind (null = ask the gamepad). - forget() - Static method in class com.crossbotics.ftchelper.match.MatchTimer
-
Forgets the last OpMode's timer (done at every INIT, before the new one starts).
- forgetAllForTests() - Static method in class com.crossbotics.ftchelper.tuning.Tunable
-
For JUnit tests only: forgets every tunable in memory (they are shared by the whole app, so one test's robot would otherwise see another's numbers).
- forgetAngles() - Static method in class com.crossbotics.ftchelper.robot.Turret
-
Forgets every remembered turret angle (tests, or a tool that knows the turret was moved).
- forgetSaved() - Method in class com.crossbotics.ftchelper.drive.DriverHeading
-
Clears the heading autonomous saved.
- format() - Method in class com.crossbotics.ftchelper.match.MatchTimer
-
The time left as text, like the field clock: "1:23".
- forSeconds(double) - Method in class com.crossbotics.ftchelper.robot.Lights.Rule
-
For
Lights.Rule.whenStarts(java.util.function.BooleanSupplier)andLights.Rule.whenCountGoesUp(java.util.function.IntSupplier): how long the flash lasts (default 0.5 s). - forward() - Method in class com.crossbotics.ftchelper.hardware.MotorSetup
-
Positive power turns the motor the normal way (this is the default).
- forward() - Method in class com.crossbotics.ftchelper.mechanism.SpinServo
-
Spins forward at the
SpinServo.powerpower. - forward(String, double, double) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Drives forward:
move(label, inches, 0, maxPower). - forward(String, double, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Drives forward, without turning.
- fraction() - Method in class com.crossbotics.ftchelper.auto.PathEvent.Progress
-
How much of the path is done, 0 (start) to 1 (end).
- fraction(double, Action) - Static method in class com.crossbotics.ftchelper.robot.PathAt
-
PathAt.fraction(double, String, Runnable)with an action from Actions.java. - fraction(double, String, Runnable) - Static method in class com.crossbotics.ftchelper.robot.PathAt
-
When this much of the WHOLE path is done (all its parts counted): 0.5 = halfway, 0.25 = a quarter of the way.
- free() - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
No job: it stays free (a placeholder to replace with a job).
- free() - Method in class com.crossbotics.ftchelper.robot.Pad.Stick
-
No job: it stays free (a placeholder to replace with a job).
- freeRpm - Variable in class com.crossbotics.ftchelper.robot.Motors.Kind
-
Top speed with no load, RPM.
- freshReadingsForTests(boolean) - Static method in class com.crossbotics.ftchelper.safety.SafeMotor
-
For tests that move a pretend motor with no time passing: true = read the encoder and switches every time; false = the normal 3 ms reuse.
- freshRobotApp() - Static method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Forgets everything the library keeps from one program to the next in one robot app, as if the robot had just been turned on: the alliance, pose and report from the last autonomous (
MatchMemory), each turret's last angle (keepAngle), each launcher's last trim, the last autonomous'smirrorForRed(), and the numbers tuned in the tuning menu (in memory; a saved settings file stays). - fromCode(String, double, double) - Static method in class com.crossbotics.ftchelper.tuning.Tunable
-
Like
Tunable.number(java.lang.String, double, double), for a number written in the team's code (the robot in five files uses it for everyTunables.javafield). - fromOdometry() - Method in class com.crossbotics.ftchelper.robot.Aim
-
The goal worked out from the odometry: its direction from the robot's front (degrees, counterclockwise + = to the LEFT, like a camera's bearing) and its distance from the robot's center (inches).
- fromOdometry() - Method in class com.crossbotics.ftchelper.vision.TargetObservation
-
True if this target came from the odometry (
TargetObservation.ODOMETRY), not from a camera. - FRONT_LEFT - Static variable in class com.crossbotics.ftchelper.drive.MecanumMixer
-
Index of each wheel in the arrays this class returns.
- FRONT_RIGHT - Static variable in class com.crossbotics.ftchelper.drive.MecanumMixer
-
Index of each wheel in the arrays this class returns.
- frontLeft - Variable in class com.crossbotics.ftchelper.drive.DriveConfig
-
Configuration name of the front-left motor (tank: the left motor, or the front one of two).
- frontLeftReversed - Variable in class com.crossbotics.ftchelper.drive.DriveConfig
-
True = this motor is reversed.
- frontRight - Variable in class com.crossbotics.ftchelper.drive.DriveConfig
-
Configuration name of the front-right motor (tank: the right motor, or the front one of two).
- frontRightReversed - Variable in class com.crossbotics.ftchelper.drive.DriveConfig
-
True = this motor is reversed.
- FULL_PULSE_HIGH_US - Static variable in class com.crossbotics.ftchelper.hardware.ServoSetup
-
The pulse for position 1 with
ServoSetup.fullRange(). - FULL_PULSE_LOW_US - Static variable in class com.crossbotics.ftchelper.hardware.ServoSetup
-
The pulse for position 0 with
ServoSetup.fullRange(): what goBILDA, REV and Axon servos accept. - fullHighUs() - Method in class com.crossbotics.ftchelper.robot.Parts.ServoPart
-
The pulse for position 1 with full range: the seller's, or 2500 us when it gives none.
- fullLowUs() - Method in class com.crossbotics.ftchelper.robot.Parts.ServoPart
-
The pulse for position 0 with full range: the seller's, or 500 us when it gives none.
- fullMoveSec(boolean) - Method in class com.crossbotics.ftchelper.robot.Parts.ServoPart
-
About how long a move from position 0 to 1 takes on a hub, from the seller's speed: a starting value for a part's
travelSec(goBILDA 2000 torque on the normal range: 270 degrees at 0.25 s per 60 = 1.13 s). - fullRange() - Method in class com.crossbotics.ftchelper.hardware.ServoSetup
-
Uses the servo's whole turn: positions 0 to 1 send 500 to 2500 microseconds instead of the SDK's normal 600 to 2400.
- fullRange() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
Uses the servo's whole turn: positions 0 to 1 send 500 to 2500 microseconds instead of the SDK's normal 600 to 2400 (see
ServoSetup.fullRange()). - fullRange() - Method in class com.crossbotics.ftchelper.robot.Hood
-
A servo hood uses its servo's whole turn: positions 0 to 1 send the servo's full pulse range (the part's, else 500-2500 us) instead of the FTC SDK's normal 600-2400 us.
- fullRange() - Method in class com.crossbotics.ftchelper.robot.Indexer
-
A servo indexer uses its servo's whole turn: positions 0 to 1 send the servo's full pulse range (the part's, else 500-2500 us) instead of the FTC SDK's normal 600-2400 us.
- fullRange() - Method in class com.crossbotics.ftchelper.robot.ServoPositions
-
Uses the servo's whole turn.
- fullRange() - Method in class com.crossbotics.ftchelper.robot.Turret
-
A servo turret uses its servo's whole turn: positions 0 to 1 send the servo's full pulse range (the part's, else 500-2500 us) instead of the FTC SDK's normal 600-2400 us.
G
- g1(ControllerBindings.Btn) - Static method in class com.crossbotics.ftchelper.teleop.Key
-
A button on gamepad 1, e.g.
- g1(ControllerBindings.Trigger) - Static method in class com.crossbotics.ftchelper.teleop.Key
-
A trigger on gamepad 1, e.g.
- G1 - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Pad
- g2(ControllerBindings.Btn) - Static method in class com.crossbotics.ftchelper.teleop.Key
-
A button on gamepad 2.
- g2(ControllerBindings.Trigger) - Static method in class com.crossbotics.ftchelper.teleop.Key
-
A trigger on gamepad 2.
- G2 - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Pad
- gain(int) - Method in class com.crossbotics.ftchelper.vision.WebcamTags
-
The gain for
WebcamTags.autoExposure()'s manual exposures (default -1: the camera's highest). - GAME_LIMIT - Static variable in class com.crossbotics.ftchelper.robot.Pieces
-
The most pieces the game allows a robot at a time (BIOBUZZ G407).
- gamepad1 - Variable in class com.crossbotics.ftchelper.finders.AimTunerOpMode
- gamepad1 - Variable in class com.crossbotics.ftchelper.robot.Auto
- gamepad1 - Variable in class com.crossbotics.ftchelper.finders.CameraFixCheckOpMode
- gamepad1 - Variable in class com.crossbotics.ftchelper.finders.CharacterizerOpMode
- gamepad1 - Variable in class com.crossbotics.ftchelper.robot.ControlMap
- gamepad1 - Variable in class com.crossbotics.ftchelper.finders.DriveTunerOpMode
- gamepad1 - Variable in class com.crossbotics.ftchelper.auto.EasyAuto
- gamepad1 - Variable in class com.crossbotics.ftchelper.teleop.EasyTeleOp
- gamepad1 - Variable in class com.crossbotics.ftchelper.finders.EncoderCheckOpMode
- gamepad1 - Variable in class com.crossbotics.ftchelper.finders.FeedStopFinderOpMode
- gamepad1 - Variable in class com.crossbotics.ftchelper.finders.FeedTimeFinderOpMode
- gamepad1 - Variable in class com.crossbotics.ftchelper.finders.FinderOpMode
- gamepad1 - Variable in class com.crossbotics.ftchelper.finders.FlywheelFinderOpMode
- gamepad1 - Variable in class com.crossbotics.ftchelper.testing.HardwareCheckOpMode
- gamepad1 - Variable in class com.crossbotics.ftchelper.finders.HoodFinderOpMode
- gamepad1 - Variable in class com.crossbotics.ftchelper.finders.MotorDirectionCheckOpMode
- gamepad1 - Variable in class com.crossbotics.ftchelper.finders.MotorFinderOpMode
- gamepad1 - Variable in class com.crossbotics.ftchelper.finders.MoveTunerOpMode
- gamepad1 - Variable in class com.crossbotics.ftchelper.finders.OdometryTunerOpMode
- gamepad1 - Variable in class com.crossbotics.ftchelper.finders.PieceTunerOpMode
- gamepad1 - Variable in class com.crossbotics.ftchelper.finders.ServoFinderOpMode
- gamepad1 - Variable in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
- gamepad1 - Variable in class com.crossbotics.ftchelper.finders.TuneAndCheckOpMode
- gamepad2 - Variable in class com.crossbotics.ftchelper.finders.AimTunerOpMode
- gamepad2 - Variable in class com.crossbotics.ftchelper.robot.Auto
- gamepad2 - Variable in class com.crossbotics.ftchelper.finders.CameraFixCheckOpMode
- gamepad2 - Variable in class com.crossbotics.ftchelper.finders.CharacterizerOpMode
- gamepad2 - Variable in class com.crossbotics.ftchelper.robot.ControlMap
- gamepad2 - Variable in class com.crossbotics.ftchelper.finders.DriveTunerOpMode
- gamepad2 - Variable in class com.crossbotics.ftchelper.auto.EasyAuto
- gamepad2 - Variable in class com.crossbotics.ftchelper.teleop.EasyTeleOp
- gamepad2 - Variable in class com.crossbotics.ftchelper.finders.EncoderCheckOpMode
- gamepad2 - Variable in class com.crossbotics.ftchelper.finders.FeedStopFinderOpMode
- gamepad2 - Variable in class com.crossbotics.ftchelper.finders.FeedTimeFinderOpMode
- gamepad2 - Variable in class com.crossbotics.ftchelper.finders.FinderOpMode
- gamepad2 - Variable in class com.crossbotics.ftchelper.finders.FlywheelFinderOpMode
- gamepad2 - Variable in class com.crossbotics.ftchelper.testing.HardwareCheckOpMode
- gamepad2 - Variable in class com.crossbotics.ftchelper.finders.HoodFinderOpMode
- gamepad2 - Variable in class com.crossbotics.ftchelper.finders.MotorDirectionCheckOpMode
- gamepad2 - Variable in class com.crossbotics.ftchelper.finders.MotorFinderOpMode
- gamepad2 - Variable in class com.crossbotics.ftchelper.finders.MoveTunerOpMode
- gamepad2 - Variable in class com.crossbotics.ftchelper.finders.OdometryTunerOpMode
- gamepad2 - Variable in class com.crossbotics.ftchelper.finders.PieceTunerOpMode
- gamepad2 - Variable in class com.crossbotics.ftchelper.finders.ServoFinderOpMode
- gamepad2 - Variable in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
- gamepad2 - Variable in class com.crossbotics.ftchelper.finders.TuneAndCheckOpMode
- GAP_SEC - Static variable in class com.crossbotics.ftchelper.vision.DistanceFilter
-
No new picture for this long (seconds): start over (no jump check for the next distance).
- gapSec - Variable in class com.crossbotics.ftchelper.launcher.ShotStats.Shot
-
Seconds since the piece before it in the same volley (NaN for a volley's first piece).
- gaveUp() - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
True if no setting saw a tag before it had to stop, so it kept the first one.
- gearRatio - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
Motor turns per wheel turn.
- gearRatio(double) - Method in class com.crossbotics.ftchelper.robot.Arm
-
Motor turns per arm turn (gears, sprockets or a belt).
- gearRatio(double) - Method in class com.crossbotics.ftchelper.robot.Drive
-
Motor turns per wheel turn, if gears or a belt sit between them.
- gearRatio(double) - Method in class com.crossbotics.ftchelper.robot.Turret
-
Turns per turret turn of what counts the angle: the MOTOR for
Turret.motor(java.lang.String, java.lang.String)(its gears or belt), the ENCODER forTurret.crServo(java.lang.String)(1 = on the turret's axis). - get() - Method in class com.crossbotics.ftchelper.tuning.Tunable
-
The current value.
- get(HardwareMap, Class<? extends T>, String) - Static method in class com.crossbotics.ftchelper.hardware.Hw
-
Gets a device by its configuration name, or stops the OpMode with a helpful message.
- get(HardwareMap, String) - Static method in class com.crossbotics.ftchelper.hardware.MotorSetup
-
Starts the setup for a motor in the configuration.
- get(HardwareMap, String) - Static method in class com.crossbotics.ftchelper.hardware.ServoSetup
-
Starts the setup for a servo in the configuration.
- get(HardwareMap, String, RevHubOrientationOnRobot.LogoFacingDirection, RevHubOrientationOnRobot.UsbFacingDirection) - Static method in class com.crossbotics.ftchelper.hardware.ImuSetup
-
Gets the IMU, tells it how the hub is mounted, and sets the heading to 0.
- get(Class<? extends T>, String) - Method in interface com.crossbotics.ftchelper.robot.Devices
-
The device with this name and type.
- get(Class<? extends T>, String) - Method in class com.crossbotics.ftchelper.testkit.PretendDevices
- get(String) - Method in class com.crossbotics.ftchelper.match.InitMenu
-
The chosen option of a choice line, e.g.
- get(String) - Static method in class com.crossbotics.ftchelper.robot.Motors
-
The motor with this id.
- get(String, String) - Method in class com.crossbotics.ftchelper.core.SettingsFile
-
A saved text value, or
fallbackif none is saved. - getAlliance() - Method in class com.crossbotics.ftchelper.match.InitMenu
-
The chosen alliance (BLUE if there is no alliance line).
- getAngle() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
The angle now (degrees, counterclockwise +).
- getAngleDeg() - Method in class com.crossbotics.ftchelper.mechanism.SpinServo
-
The angle from the sensor, 0 to 360 (NaN without a sensor).
- getAppliedPower() - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
The last power sent to the motor, after limits.
- getAsLong() - Method in class com.crossbotics.ftchelper.testkit.PretendClock
- getAverageMs() - Method in class com.crossbotics.ftchelper.util.LoopTimer
-
Average loop time in milliseconds (smoothed).
- getBatteryVolts() - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
The battery the F scale uses (volts): the highest reading of the last
Flywheel.BATTERY_FILTER_SECs. - getConfig() - Method in class com.crossbotics.ftchelper.drive.MecanumDrive
-
The settings this drive was made with.
- getConfig() - Method in class com.crossbotics.ftchelper.drive.TankDrive
-
The settings this drive was made with.
- getDegrees() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
The angle sent last, in degrees (needs
PositionServo.degrees(double, double, double, double); without it the number means nothing). - getDelaySec() - Method in class com.crossbotics.ftchelper.match.InitMenu
-
The chosen start delay in seconds (0 if there is no delay line).
- getDeviceName() - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- getDeviceStatus() - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- getDouble(String, double) - Method in class com.crossbotics.ftchelper.core.SettingsFile
-
A saved number, or
fallbackif none is saved or it is not a number. - getEncoderX() - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- getEncoderY() - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- getEstimatedDegrees() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
PositionServo.getEstimatedPosition()in degrees (needsPositionServo.degrees(double, double, double, double)); NaN before the first command. - getEstimatedPosition() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
Where the servo probably is now (raw), from the last position sent and the travel time; NaN before the first command.
- getFault() - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
"" or a problem, e.g.
- getFault() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
"" or a problem, e.g.
- getFlywheel() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
The flywheel inside.
- getFScale() - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
What F is multiplied by for the battery now (1 = as tuned, or compensation off).
- getHeading(AngleUnit) - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- getHeading(UnnormalizedAngleUnit) - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- getHeadingVelocity(UnnormalizedAngleUnit) - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- getHood() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
The hood, or null if there is none.
- getHoodOffset() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
The degrees added to the table's hood angle (
Launcher.hoodOffset(double)); 0 = none. - getHuskyLens() - Method in class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
The SDK's HuskyLens object, for anything this class does not cover (e.g.
- getHz() - Method in class com.crossbotics.ftchelper.util.LoopTimer
-
Loops per second (smoothed).
- getJamCount() - Method in class com.crossbotics.ftchelper.mechanism.SpinMotor
-
How many jams were cleared since the OpMode started.
- getKD() - Method in class com.crossbotics.ftchelper.control.PidController
-
The D gain now in use.
- getKF() - Method in class com.crossbotics.ftchelper.control.PidController
-
The feedforward (F) now in use.
- getKI() - Method in class com.crossbotics.ftchelper.control.PidController
-
The I gain now in use.
- getKP() - Method in class com.crossbotics.ftchelper.control.PidController
-
The P gain now in use.
- getLastError() - Method in class com.crossbotics.ftchelper.control.PidController
-
The error from the last
PidController.calculate(double, double)call (target minus measured). - getLastError() - Method in class com.crossbotics.ftchelper.util.BackgroundWorker
-
"" or the last error a job threw (jobs never crash the robot).
- getLastProblem() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
The last problem (e.g.
- getLastSeconds() - Method in class com.crossbotics.ftchelper.util.LoopTimer
-
Seconds the last loop took.
- getLimelight() - Method in class com.crossbotics.ftchelper.vision.LimelightTags
-
The SDK's Limelight object, for anything this class does not cover (e.g.
- getManualPower() - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
The stick's power from the last
PositionMotor.manual(double)call (0 = not moving it by hand). - getManufacturer() - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- getMax() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
The upper limit, degrees (infinity when
Turret.continuous()). - getMax() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
The highest raw position it is ever sent (
PositionServo.limits(double, double)). - getMaxRpm() - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
The highest speed it may be asked for (see
Flywheel.maxRpm). - getMin() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
The lower limit, degrees (minus infinity when
Turret.continuous()). - getMin() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
The lowest raw position it is ever sent (
PositionServo.limits(double, double)). - getMotor() - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
The FTC motor inside, for anything this helper does not do.
- getMotor() - Method in class com.crossbotics.ftchelper.mechanism.SpinMotor
-
The FTC motor inside, for anything this helper does not do.
- getMotor() - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
The motor inside, for anything this class does not cover.
- getMotors() - Method in class com.crossbotics.ftchelper.drive.MecanumDrive
-
The four motors, in the order front-left, front-right, back-left, back-right.
- getMotors() - Method in class com.crossbotics.ftchelper.drive.TankDrive
-
The motors: {left, right} for 2 motors, {front-left, front-right, back-left, back-right} for 4.
- getPartners() - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
The other motors added with
SafeMotor.alsoPowers(com.qualcomm.robotcore.hardware.DcMotorSimple)(read only). - getPid() - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
The PID controller inside.
- getPosition() - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
The position now, in units.
- getPosition() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
The raw position sent last (NaN before the first move).
- getPosition() - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
Position in ticks, measured from the home (zero) position.
- getPosition() - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- getPosX(DistanceUnit) - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- getPosY(DistanceUnit) - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- getPower() - Method in class com.crossbotics.ftchelper.mechanism.SpinServo
-
The power it is running at now, -1 to 1.
- getQuickBand() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
The QUICK band in use, RPM.
- getQuickMaxWait() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
The QUICK wait limit, seconds (
Launcher.quickMaxWait(double)). - getReport() - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
What happened to each step, e.g.
- getRequestedPower() - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
The last power asked for, before limits.
- getRpm() - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
The measured speed (RPM).
- getSafeMotor() - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
The safety layer inside (limits, switches, powers).
- getServo() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
The FTC servo inside, for anything this helper does not do.
- getShotCount() - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
How many shots were noticed (speed drops) since the OpMode started.
- getShotDrop() - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
A drop of more than this many RPM counts as a shot (
Flywheel.shotDrop(double)). - getShotInterval() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
The least time between two pieces, seconds (
Launcher.shotInterval(double)). - getShotMode() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
The shot mode in use.
- getShotRpm() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
The shot speed before
Launcher.speedScale: fromLauncher.setRpm(double)or the table (RPM; 0 = none yet). - getShotsFired() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
Pieces fed since the OpMode started.
- getShotsLeft() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
Shots still waiting to be fired.
- getShotStats() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
What each fed piece did to the wheel: for tuning the shot modes (debug lines).
- getSlowActionWarning() - Method in class com.crossbotics.ftchelper.gamepad.ControllerBindings
-
"" or a note about a button action that took too long (more than
ControllerBindings.SLOW_ACTION_MS), e.g. - getSlowUpdateWarning() - Method in class com.crossbotics.ftchelper.core.Subsystems
-
"" or the last slow update (see
Subsystems.SLOW_UPDATE_MS). - getSpeedScale() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
The shot speed's multiplier (
Launcher.speedScale): 1 = as set. - getState() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
What it is doing now (see
Launcher.State). - getState() - Method in class com.crossbotics.ftchelper.mechanism.SpinMotor
-
What it is doing now.
- getSweep() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
The angles the turret may be at now, {lowest, highest}: for a motor or CR servo turret its angle (both the same), for a servo turret everything between where it was and where it is going until it should have arrived (it cannot say where it is).
- getSweep() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
The raw positions the servo may be at now, {lowest, highest}: everything between where its last move started and where it was sent, until it should have arrived; then just that position.
- getSweepDegrees() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
PositionServo.getSweep()in degrees ({lowest, highest}; needsPositionServo.degrees(double, double, double, double)), or null before the first command. - getTable() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
The shot table given with
Launcher.table, or null. - getTarget() - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
The target, in units (NaN = none: no target, or the stick is moving it).
- getTarget() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
Where it was told to go, raw (NaN before the first command): it may still be on its way, or held by a fence.
- getTargetAngle() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
The angle it is going to (NaN if none).
- getTargetDegrees() - Method in interface com.crossbotics.ftchelper.mechanism.AngleDevice
-
The angle it is going to (after its limits), or NaN before the first command.
- getTargetDegrees() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
The angle it is GOING to, in degrees (after the limits), or NaN before the first command.
- getTargetName() - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
What it is doing, for telemetry: the target's name, "hand" (the stick is moving it), "hold" (holding a spot with no name) or "none" (no power).
- getTargetName() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
The named position it is at or going to, or "-" .
- getTargetRpm() - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
The target speed (RPM).
- getTolerance() - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
The ready band: within this many RPM of the target (for the settle time) = ready.
- getTolerance() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
The tolerance, degrees:
Turret.isAimed()is true within this of the target. - getTravelTime() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
Seconds for a full 0..1 move (
PositionServo.travelTime(double)). - getValue() - Method in class com.crossbotics.ftchelper.control.SlewRateLimiter
-
The last output.
- getVelX(DistanceUnit) - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- getVelY(DistanceUnit) - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- getWarning() - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
"" or the last setup/command problem (missing switch, unknown position name).
- getWarning() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
"" or the last command problem (unknown position name).
- getWheelTicks() - Method in class com.crossbotics.ftchelper.drive.AutoDrive
-
Encoder counts, in the order front-left, front-right, back-left, back-right.
- getWrappedAngle() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Turret.getAngle()as -180..180 (for aTurret.continuous()turret, whose angle keeps counting). - giveUpAfterStartMs(double) - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
After START, how long to keep trying when no setting has worked yet (milliseconds, default 0 = stop at START and keep the best so far).
- goal() - Method in class com.crossbotics.ftchelper.robot.Aim
-
The goal now: what the camera sees (the first camera with a
goal(...)in Robot.java), or, when it does not see it, the goal worked out from the odometry. - goal() - Method in class com.crossbotics.ftchelper.robot.Camera
-
The goal for this match's alliance (see
Camera.goal(String, String)), or null if it is not seen now (or no goal was named). - goal(String, String) - Method in class com.crossbotics.ftchelper.robot.Camera
-
The goal's tag group for each alliance, e.g.
- goalTarget(TargetSource, String) - Static method in class com.crossbotics.ftchelper.vision.TagGroup
-
The target to aim at for a goal named
name. - gobilda(String) - Static method in class com.crossbotics.ftchelper.robot.Lights
-
A goBILDA RGB Indicator Light (3118-0808-0002), plugged into a servo port.
- gobildaPosition() - Method in enum class com.crossbotics.ftchelper.robot.LightColor
-
The servo position (0 to 1) that shows this color on a goBILDA RGB Indicator Light (3118-0808-0002) with the hub's normal servo signal.
- goTo(double) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
Go to a position in units and hold it.
- goTo(String) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
Go to a named position and hold it.
- goTo(String) - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
Goes to a named position.
- goTo(String) - Method in class com.crossbotics.ftchelper.robot.MotorPositions
-
Goes to a named position from
Tunables.javaand holds it. - goTo(String) - Method in class com.crossbotics.ftchelper.robot.ServoPositions
-
Goes to a named position from
Tunables.java. - goToRest() - Method in class com.crossbotics.ftchelper.launcher.ServoFeeder
-
Moves to rest (call in INIT only if moving there is safe).
- goToStart() - Method in class com.crossbotics.ftchelper.robot.Hood
-
Back to
startAngle(Tunables): where it went at START. - goToStep(String) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
A step: go to a named position and wait until there (or the step timeout).
- goToStep(String) - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
A step (autonomous): go to a named position and wait until it should have arrived.
- GREEN - Enum constant in enum class com.crossbotics.ftchelper.robot.LightColor
-
Green.
- group() - Method in class com.crossbotics.ftchelper.tuning.Tunable
-
The group: the part of the name before the first "/" ("" if none).
- groups(List<TagGroup>) - Method in class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
The tag groups reported as one target each (default: this season's,
TagGroup.currentSeason()). - groups(List<TagGroup>) - Method in class com.crossbotics.ftchelper.vision.LimelightTags
-
The tag groups reported as one target each (default: this season's,
TagGroup.currentSeason()). - groupTarget(TagGroup, Map<Integer, double[]>, long) - Static method in class com.crossbotics.ftchelper.vision.LimelightTags
-
One target for a tag group: the middle of its row, from the tags in view.
- groupTarget(TagGroup, Map<Integer, double[]>, long, double) - Static method in class com.crossbotics.ftchelper.vision.LimelightTags
-
LimelightTags.groupTarget(TagGroup, java.util.Map, long)for a camera tilted up bypitchDeg(0 = level): bearing and distance along the floor (CameraTilt). - GUESSED_HFOV_DEG - Static variable in class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
The view angle used until you measure yours (a guess: we found no number from the seller).
- guide - Variable in class com.crossbotics.ftchelper.robot.Pad
-
The middle button (GUIDE, or PS / Home / Logitech).
- GUIDE - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Btn
- GUIDE_HOLD_SEC - Static variable in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
How long GUIDE is held to open the tuning menu when there is a button map, seconds.
H
- HardwareCheckOpMode - Class in com.crossbotics.ftchelper.testing
-
A ready-made "check every part" OpMode.
- HardwareCheckOpMode() - Constructor for class com.crossbotics.ftchelper.testing.HardwareCheckOpMode
- hardwareMap - Variable in class com.crossbotics.ftchelper.finders.AimTunerOpMode
- hardwareMap - Variable in class com.crossbotics.ftchelper.robot.Auto
- hardwareMap - Variable in class com.crossbotics.ftchelper.finders.CameraFixCheckOpMode
- hardwareMap - Variable in class com.crossbotics.ftchelper.finders.CharacterizerOpMode
- hardwareMap - Variable in class com.crossbotics.ftchelper.robot.ControlMap
- hardwareMap - Variable in class com.crossbotics.ftchelper.finders.DriveTunerOpMode
- hardwareMap - Variable in class com.crossbotics.ftchelper.auto.EasyAuto
- hardwareMap - Variable in class com.crossbotics.ftchelper.teleop.EasyTeleOp
- hardwareMap - Variable in class com.crossbotics.ftchelper.finders.EncoderCheckOpMode
- hardwareMap - Variable in class com.crossbotics.ftchelper.finders.FeedStopFinderOpMode
- hardwareMap - Variable in class com.crossbotics.ftchelper.finders.FeedTimeFinderOpMode
- hardwareMap - Variable in class com.crossbotics.ftchelper.finders.FinderOpMode
- hardwareMap - Variable in class com.crossbotics.ftchelper.finders.FlywheelFinderOpMode
- hardwareMap - Variable in class com.crossbotics.ftchelper.testing.HardwareCheckOpMode
- hardwareMap - Variable in class com.crossbotics.ftchelper.finders.HoodFinderOpMode
- hardwareMap - Variable in class com.crossbotics.ftchelper.finders.MotorDirectionCheckOpMode
- hardwareMap - Variable in class com.crossbotics.ftchelper.finders.MotorFinderOpMode
- hardwareMap - Variable in class com.crossbotics.ftchelper.finders.MoveTunerOpMode
- hardwareMap - Variable in class com.crossbotics.ftchelper.finders.OdometryTunerOpMode
- hardwareMap - Variable in class com.crossbotics.ftchelper.finders.PieceTunerOpMode
- hardwareMap - Variable in class com.crossbotics.ftchelper.finders.ServoFinderOpMode
- hardwareMap - Variable in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
- hardwareMap - Variable in class com.crossbotics.ftchelper.finders.TuneAndCheckOpMode
- hardwareMap() - Method in interface com.crossbotics.ftchelper.robot.Devices
-
The OpMode's hardwareMap, for code that needs it whole (a path follower); null in tests.
- has() - Static method in class com.crossbotics.ftchelper.util.PoseStore
-
True if a pose is saved.
- has(String) - Method in class com.crossbotics.ftchelper.core.SettingsFile
-
True if a value is saved under this key.
- has(String) - Method in interface com.crossbotics.ftchelper.robot.Devices
-
True if the configuration has a device with this name, of any type.
- has(String) - Method in class com.crossbotics.ftchelper.testkit.PretendDevices
- has(String) - Method in class com.crossbotics.ftchelper.testkit.PretendTelemetry
-
True if a line of the last screen contains these words.
- hasAlliance() - Static method in class com.crossbotics.ftchelper.match.MatchMemory
-
True if autonomous left an alliance for this match (not older than
MatchMemory.MAX_AGE_SEC). - hasBackMotors() - Method in class com.crossbotics.ftchelper.drive.DriveConfig
-
True if there are back motors (always for mecanum; for tank, when both back names are set).
- hasBatteryCompensation() - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
True while
Flywheel.batteryCompensation(java.util.function.DoubleSupplier, double)is on. - hasBearing() - Method in class com.crossbotics.ftchelper.vision.TargetObservation
-
True if the camera worked out a bearing (some detections have only an id).
- hasCameraFix() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
True with a
cameraFix(camera)line in Robot.java (the alpha camera fix). - hasDistance() - Method in class com.crossbotics.ftchelper.robot.PieceSensor
-
True for a sensor that knows how far away the piece is (color and distance sensors).
- hasDistance() - Method in class com.crossbotics.ftchelper.vision.TargetObservation
-
True if the camera worked out a distance.
- hasFollower() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
True if Robot.java has a follower(...) line.
- hasGoalPoint() - Method in class com.crossbotics.ftchelper.robot.Aim
-
True if
Tunables.AimhasgoalXandgoalY(the odometry backup can work). - hashCode() - Method in class com.crossbotics.ftchelper.teleop.Key
- hasHood() - Method in class com.crossbotics.ftchelper.launcher.ShotTable
-
True if any point was added with a hood angle (
add(distance, rpm, hoodDeg)). - hasTable() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
True if a shot table was given (
Launcher.setDistance(double)works). - hasTimedFeeder() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
True when the launcher's feeder runs for a time per piece (
feedSec): a CR servo or motorLauncher.feeder(Indexer), with no feed stop, no pushing parts and no feed wheel. - hasWidth() - Method in class com.crossbotics.ftchelper.robot.Parts.Wheel
-
True if the catalog knows its width.
- heading() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
The heading compared with the driver, or null if there is no IMU.
- headingDeg - Variable in class com.crossbotics.ftchelper.testkit.PretendPinpoint
-
Where the device says it is, in its own frame: x inches forward, y inches left, heading degrees counterclockwise.
- headingDeg - Variable in class com.crossbotics.ftchelper.util.FieldPose
-
Degrees, counterclockwise positive.
- headingDeg() - Method in class com.crossbotics.ftchelper.drive.AutoDrive
-
The robot's heading, IMU degrees (counterclockwise positive).
- headingDeg(IMU) - Static method in class com.crossbotics.ftchelper.hardware.ImuSetup
-
The robot's heading in degrees, from -180 to 180.
- heightMm(double) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
The whole robot's height in mm (the tallest fixed part), for the simulator.
- held() - Method in class com.crossbotics.ftchelper.robot.Pieces
-
The pieces held, next to fire first (a copy).
- heldBackSec() - Method in class com.crossbotics.ftchelper.robot.Intake
-
Seconds it has been held back by
Intake.stopsWhen(java.util.function.BooleanSupplier)without a break (0 when it is not). - heldFor(double, Action) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
Pad.Button.heldFor(double, Runnable)with an action. - heldFor(double, Runnable) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
Held down for
seconds:jobruns once (a safe "are you sure?" for big moves, like re-homing a lift). - helpKeyDown() - Method in class com.crossbotics.ftchelper.finders.FinderOpMode
-
True while a help key is down (GUIDE, or START): used to stop a moving test at once.
- helpLines() - Method in class com.crossbotics.ftchelper.finders.AimTunerOpMode
- helpLines() - Method in class com.crossbotics.ftchelper.finders.CameraFixCheckOpMode
- helpLines() - Method in class com.crossbotics.ftchelper.finders.CharacterizerOpMode
- helpLines() - Method in class com.crossbotics.ftchelper.finders.DriveTunerOpMode
- helpLines() - Method in class com.crossbotics.ftchelper.finders.EncoderCheckOpMode
- helpLines() - Method in class com.crossbotics.ftchelper.finders.FeedStopFinderOpMode
- helpLines() - Method in class com.crossbotics.ftchelper.finders.FeedTimeFinderOpMode
- helpLines() - Method in class com.crossbotics.ftchelper.finders.FinderOpMode
- helpLines() - Method in class com.crossbotics.ftchelper.finders.FlywheelFinderOpMode
- helpLines() - Method in class com.crossbotics.ftchelper.finders.HoodFinderOpMode
- helpLines() - Method in class com.crossbotics.ftchelper.finders.MotorDirectionCheckOpMode
- helpLines() - Method in class com.crossbotics.ftchelper.finders.MotorFinderOpMode
- helpLines() - Method in class com.crossbotics.ftchelper.finders.MoveTunerOpMode
- helpLines() - Method in class com.crossbotics.ftchelper.finders.OdometryTunerOpMode
- helpLines() - Method in class com.crossbotics.ftchelper.finders.PieceTunerOpMode
- helpLines() - Method in class com.crossbotics.ftchelper.finders.ServoFinderOpMode
- helpLines() - Method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
- helpLines() - Method in class com.crossbotics.ftchelper.testing.HardwareCheckOpMode
-
The help page's lines (GUIDE, or hold START 1 s).
- hfovDeg(double) - Method in class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
The camera's view angle from the left edge of the picture to the right edge.
- hiddenGroups() - Static method in class com.crossbotics.ftchelper.tuning.Tunable
-
The groups hidden now (parts not on the robot), in order, e.g.
- hideGroup(String, boolean) - Static method in class com.crossbotics.ftchelper.tuning.Tunable
-
Hides (or shows again) every tunable of one group, e.g.
- highNow() - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
The highest position allowed now: the upper limit or the fence, whichever is lower (ticks).
- hits - Variable in class com.crossbotics.ftchelper.finders.ShotPoints.Saved
-
Shots that went in, and shots marked, at this speed (0, 0 if not counted).
- hits(double) - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Tally
-
Hits at this speed (no hood).
- hits(double, double) - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Tally
-
Hits at this speed and hood angle.
- hitsOf(int) - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
How many pictures saw tags with setting i in its last try (0 if not tried yet, refused or missing).
- hold() - Method in class com.crossbotics.ftchelper.drive.DriverControls
-
Holds the wheels still this loop (e.g.
- hold() - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
Holds the current position.
- hold() - Method in class com.crossbotics.ftchelper.robot.MotorPositions
-
Holds where it is now.
- hold(Runnable) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
Runs
whileHeldevery loop while it is held. - hold(Runnable, Runnable) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
Pad.Button.hold(Runnable), andonReleaseonce when it is let go. - HOLD_SEC - Static variable in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
How long a "hold" job takes: reset forward, set pose here, the tuning menu (seconds).
- holdIn() - Method in class com.crossbotics.ftchelper.robot.Intake
-
The intake's own "in" button job, for
hold(...): runs in every loop while the button is held. - holds(int) - Method in class com.crossbotics.ftchelper.robot.Intake
-
How many game pieces it can hold at once: count them by hand (load pieces until no more fit).
- holds(int, String) - Method in class com.crossbotics.ftchelper.robot.Intake
-
How many pieces of one kind it can hold, for a robot where the kinds differ: 0 = it cannot take that kind at all (goBILDA's starter bot and a NECTAR).
- holdsInAll() - Method in class com.crossbotics.ftchelper.robot.Intake
-
How many pieces it holds in all (0 = not given):
Intake.holds(int). - holdWhenReleased(boolean) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
True (default): when the driver lets go of manual control, it holds where it is.
- home(double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Starts homing: turns slowly toward the switch until it closes.
- homeDirection() - Method in class com.crossbotics.ftchelper.finders.AimTunerOpMode
-
Which way the turret turns to find its home switch: +1 or -1 (see
Turret.home). - homeSwitch(HardwareMap, String, double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
A home switch by configuration name (touch sensor), closing at
angleDeg. - homeSwitch(String) - Method in class com.crossbotics.ftchelper.robot.Turret
-
A home switch: a touch sensor (configured as "REV Touch Sensor") or a magnetic switch (a "Digital Device", e.g.
- homeSwitch(BooleanSupplier, double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
A home switch read your own way (magnetic:
() -> !channel.getState()). - homingPower(double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Power while homing, 0 to 1.
- homingTimeout(double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Homing stops with a fault if the switch is not found within this many seconds.
- hood() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The hood given with
Launcher.hood(Hood), or null. - hood(AngleDevice) - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
A hood: a
PositionServowithdegrees(...)set, or anyAngleDevice(the five-filesHood, a motor, your own). - hood(Hood) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The hood that sets how steep the shot leaves (
Hood): its angle comes from the shot table's third column ({inches, rpm, hood}), and the launcher waits for it before feeding. - Hood - Class in com.crossbotics.ftchelper.robot
-
A launcher's hood: the part that tilts to make the shot leave steeper or flatter.
- hoodDeadband(double) - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
The hood moves only when the table's angle changes by more than this (degrees, default 0.25).
- hoodDeg - Variable in class com.crossbotics.ftchelper.launcher.ShotTable.Shot
-
The distance to the goal, the flywheel speed (RPM) and the hood angle (degrees) for it.
- HoodFinderOpMode - Class in com.crossbotics.ftchelper.finders
-
Finds a launcher hood's calibration for
Tunables.Hood: the servo position (or encoder ticks) at its two hard stops (posA,posB), and if you measure them, the hood's angle there (angleA,angleB) and at points in between (acalibrationtable, for a linkage that is not a straight line). - HoodFinderOpMode() - Constructor for class com.crossbotics.ftchelper.finders.HoodFinderOpMode
- hoodName() - Method in class com.crossbotics.ftchelper.finders.HoodFinderOpMode
-
The hood's configuration name when there is no
HoodFinderOpMode.robot(). - hoodOffset(double) - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
Degrees added to the table's hood angle by
Launcher.setDistance(double)(a hood trim: +1 = every shot 1 degree more). - Hosting - Class in com.crossbotics.ftchelper.finders
-
Runs a finder (or the Hardware Check) inside another OpMode: "Tune and check" (
TuneAndCheckOpMode). - hueDeg() - Method in class com.crossbotics.ftchelper.robot.PieceSensor
-
The latest color, 0-360 degrees (NaN for a distance sensor, or no reading yet).
- huskyLens(String) - Static method in class com.crossbotics.ftchelper.robot.Camera
-
A DFRobot HuskyLens on an I2C port (configure it as "HuskyLens").
- HuskyLensCamera - Class in com.crossbotics.ftchelper.vision
-
A DFRobot HuskyLens: a small camera with its own screen, plugged into an I2C sensor port of a hub.
- HuskyLensCamera(String, HuskyLens) - Constructor for class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
Wraps a HuskyLens you already have.
- HuskyLensCamera.Mode - Enum Class in com.crossbotics.ftchelper.vision
-
What the camera looks for.
- Hw - Class in com.crossbotics.ftchelper.hardware
-
Gets devices from the robot configuration, with clear error messages.
I
- id - Variable in class com.crossbotics.ftchelper.robot.Motors.Kind
-
The parts catalog id, e.g.
- id - Variable in class com.crossbotics.ftchelper.robot.Parts.ServoPart
-
The parts catalog id, e.g.
- id - Variable in class com.crossbotics.ftchelper.robot.Parts.Wheel
-
The parts catalog id, e.g.
- id - Variable in class com.crossbotics.ftchelper.vision.TargetObservation
-
The AprilTag's number,
TargetObservation.CLUSTERfor a group of tags, orTargetObservation.ODOMETRY. - idle() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
Goes back to the idle speed (cancels any shots).
- idle() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Back to the idle speed (
idleRpm, 0 = coast to a stop); cancels shots still waiting. - IDLE - Enum constant in enum class com.crossbotics.ftchelper.launcher.Launcher.State
- idleRpm(double) - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
Speed to keep when not shooting, in RPM (0 = stop).
- ids() - Method in class com.crossbotics.ftchelper.vision.TagGroup
-
The tag ids in the group.
- ignoreHeldButtons(Gamepad, Gamepad) - Method in class com.crossbotics.ftchelper.gamepad.ControllerBindings
-
Call once right after START.
- imu(HardwareMap) - Method in class com.crossbotics.ftchelper.core.RobotConfig
-
The IMU (turn sensor), set up for how the hub is mounted.
- imu(String, RevHubOrientationOnRobot.LogoFacingDirection, RevHubOrientationOnRobot.UsbFacingDirection) - Method in class com.crossbotics.ftchelper.robot.Drive
-
The IMU's name and how the Control Hub is mounted.
- ImuSetup - Class in com.crossbotics.ftchelper.hardware
-
Starts the IMU (the hub's built-in turn sensor) in one line, and reads the heading.
- in() - Method in class com.crossbotics.ftchelper.mechanism.SpinMotor
-
Spin IN.
- in() - Method in class com.crossbotics.ftchelper.robot.Intake
-
Runs in until
Intake.stop(). - IN - Enum constant in enum class com.crossbotics.ftchelper.mechanism.SpinMotor.State
- IN_RANGE - Enum constant in enum class com.crossbotics.ftchelper.robot.Aim.Stage
-
...
- inAnyway() - Method in class com.crossbotics.ftchelper.robot.Intake
-
Runs in even though
Intake.stopsWhen(java.util.function.BooleanSupplier)says no, untilIntake.stop()orIntake.out(): for when the count is wrong (it says full, but the robot is not). - inchesDone() - Method in class com.crossbotics.ftchelper.auto.PathEvent.Progress
-
Inches driven along the path so far.
- inchesDone(double, Action) - Static method in class com.crossbotics.ftchelper.robot.PathAt
-
PathAt.inchesDone(double, String, Runnable)with an action from Actions.java (it keeps running after the step). - inchesDone(double, String, Runnable) - Static method in class com.crossbotics.ftchelper.robot.PathAt
-
When the robot has driven this far along the path.
- inchesLeft() - Method in class com.crossbotics.ftchelper.auto.PathEvent.Progress
-
Inches left to the end of the path.
- inchesLeft(double, Action) - Static method in class com.crossbotics.ftchelper.robot.PathAt
-
PathAt.inchesLeft(double, String, Runnable)with an action from Actions.java. - inchesLeft(double, String, Runnable) - Static method in class com.crossbotics.ftchelper.robot.PathAt
-
When only this much of the path is left:
inchesLeft(12, ...)= 12 in before the end. - increase() - Method in class com.crossbotics.ftchelper.tuning.Tunable
-
One step up.
- Indexer - Class in com.crossbotics.ftchelper.robot
-
Feeds ONE game piece at a time into a launcher: a servo that pushes, a CR servo or a motor that runs for a moment.
- inInit() - Method in class com.crossbotics.ftchelper.finders.FinderOpMode
-
opModeInInit(), or the host's when this finder runs inside "Tune and check".
- inInit(OpMode) - Method in class com.crossbotics.ftchelper.finders.Hosting
-
The host's opModeInInit(); false (and the finder ends) after a new BACK press.
- init(OpMode) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
INIT in your own OpMode (a plain
LinearOpModethat uses this robot): makes every part's hardware, turns on bulk reads (faster loops), checks the robot configuration and Tunables.java (INIT stops with the reason, as in the library's OpModes), and runs yourRobotDefinition.atInitcode. - initBlue() - Method in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
The INIT button for BLUE, or null.
- initLoop() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
One pass of the INIT loop in your own OpMode (call it in
while (opModeInInit())): each part's INIT work (a camera's check), yourRobotDefinition.duringInitcode, the robot's INIT notes, then it sends the Driver Hub's screen. - initMenu() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
The INIT menu on gamepad 1's D-pad (alliance, profile)? Default on.
- InitMenu - Class in com.crossbotics.ftchelper.match
-
A menu for the INIT screen: choose alliance, start delay, route and more with the gamepad, before pressing START.
- InitMenu(Gamepad) - Constructor for class com.crossbotics.ftchelper.match.InitMenu
- initRed() - Method in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
The INIT button for RED, or null.
- InitStop - Class in com.crossbotics.ftchelper.core
-
A mistake found at INIT, shown as plain lines on the Driver Station.
- InitStop.Body - Interface in com.crossbotics.ftchelper.core
-
The OpMode's body, which may stop with an error.
- inLastSeconds(double) - Method in class com.crossbotics.ftchelper.robot.Lights.Rule
-
Shows the color in the last seconds of TeleOp's 2:00, counted from START (like
MatchTimer: a reminder, about a second off from the field clock). - inOn(Pad.Button) - Method in class com.crossbotics.ftchelper.robot.Intake
-
Puts "in" on
button, inControls.java(the intake's usual RT), the right way for this intake: held = in (withstopsWhen, held 1 s = in anyway); withonAtStart(), a press switches it on and off instead (withstopsWhentoo, held 1 s = in anyway). - inputsReady() - Method in class com.crossbotics.ftchelper.finders.FinderOpMode
-
False after START and after the help page closes, until every stick, trigger and button on gamepad 1 has been let go once.
- inStep() - Method in class com.crossbotics.ftchelper.mechanism.SpinMotor
-
A step: start spinning IN and go straight on.
- Intake - Class in com.crossbotics.ftchelper.robot
-
A roller that pulls game pieces in (and pushes them out): one motor, or one or more continuous rotation (CR) servos.
- Interlock - Class in com.crossbotics.ftchelper.robot
-
An interlock rule: two parts that must never be in the same space at the same time.
- interlocks() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
The interlock rules from Robot.java (read only).
- isActive() - Method in interface com.crossbotics.ftchelper.auto.AutoContext
-
True while the step should keep going (the OpMode runs, and the time for this part is not up).
- isAimed() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
True when homed, holding a target that is REACHABLE (not out of range), and within the tolerance.
- isAimed() - Method in class com.crossbotics.ftchelper.robot.Aim
-
True when aimed: whole-robot aim on and within
toleranceDeg, or a following turret that is aimed AT THE GOAL NOW (seeTurret.isAimed(): a goal seen this moment, homed, in range). - isAimed() - Method in class com.crossbotics.ftchelper.robot.Turret
-
True when it points where it should, within the tolerance.
- isAimed() - Method in class com.crossbotics.ftchelper.vision.AimController
-
True if the last fresh target was inside the deadband.
- isAt(String) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
True when at this named position (within the tolerance).
- isAt(String) - Method in class com.crossbotics.ftchelper.robot.MotorPositions
-
True when it is at this named position (not on the robot: when it was last sent there).
- isAt(String) - Method in class com.crossbotics.ftchelper.robot.ServoPositions
-
True if its last command was this position (whether or not it has arrived).
- isAtLower() - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
True at or below the lowest position, or when the lower switch is pressed.
- isAtTarget() - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
True when holding a target and within the tolerance.
- isAtTarget() - Method in class com.crossbotics.ftchelper.robot.Hood
-
True when the hood is (a motor) or should be (a servo, by time) at its target angle.
- isAtTarget() - Method in class com.crossbotics.ftchelper.robot.MotorPositions
-
True when it is at its target (always, for a part that is not on the robot: see
Module.optional()). - isAtUpper() - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
True at or above the highest position, or when the upper switch is pressed.
- isAutonomous() - Method in class com.crossbotics.ftchelper.match.MatchTimer
-
True for the 30 s autonomous timer (
MatchTimer.autonomous()). - isBusy() - Method in interface com.crossbotics.ftchelper.auto.PathJob
-
True while it is still following the path.
- isBusy() - Method in interface com.crossbotics.ftchelper.launcher.Feeder
-
True until the piece is through and the feeder is ready for the next one.
- isBusy() - Method in class com.crossbotics.ftchelper.launcher.MotorFeeder
- isBusy() - Method in class com.crossbotics.ftchelper.launcher.ServoFeeder
- isBusy() - Method in class com.crossbotics.ftchelper.robot.FeedTest
-
True while a test shot is on its way, or it still watches for a second piece.
- isBusy() - Method in class com.crossbotics.ftchelper.robot.FeedTimeTest
-
True while a test feed runs.
- isBusy() - Method in class com.crossbotics.ftchelper.robot.Indexer
- isBusy() - Method in interface com.crossbotics.ftchelper.robot.PathFollower
-
True while it is following (not yet at the end).
- isChanged() - Method in class com.crossbotics.ftchelper.tuning.Tunable
-
True if the value is not the code value.
- isClear(double, double, double, double) - Method in interface com.crossbotics.ftchelper.drive.RouteDriver.LineCheck
-
True if the robot's center may drive straight from (x1, y1) to (x2, y2), inches.
- isClosed() - Method in class com.crossbotics.ftchelper.robot.Claw
-
True if its last command was "closed".
- isContinuous() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
True after
Turret.continuous(). - isDebug() - Method in class com.crossbotics.ftchelper.telemetry.RobotTelemetry
-
True when debug lines are shown.
- isDefaultFromCatalog(double) - Static method in class com.crossbotics.ftchelper.robot.Starting
-
True if the value is
Starting.DEFAULT(the same as DEFAULT_FROM_CATALOG; not any other NaN). - isDone() - Method in interface com.crossbotics.ftchelper.mechanism.AngleDevice
-
True when it is (or, without a sensor, should be) at its target.
- isDone() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
True when the servo should have arrived (an estimate: a servo cannot tell us where it is).
- isDone() - Method in class com.crossbotics.ftchelper.robot.ServoPositions
-
True if it should have arrived at its last position (a guess from
travelSec). - isDone() - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
True once a setting is kept (found, or stopped at START).
- isDown(ControllerBindings.Pad, ControllerBindings.Btn) - Method in class com.crossbotics.ftchelper.gamepad.ControllerBindings
-
True if the button is down right now (as of the last update).
- isDown(Gamepad, Gamepad) - Method in class com.crossbotics.ftchelper.teleop.Key
-
True while it is down: a button pressed, a trigger pulled past half way.
- isEjecting() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
True while ejecting.
- isEmpty() - Method in class com.crossbotics.ftchelper.finders.Chooser
-
True if there is nothing to choose.
- isEmpty() - Method in class com.crossbotics.ftchelper.finders.FinderResults
-
True if nothing was found yet.
- isEmpty() - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Tally
-
True if nothing is marked.
- isEmpty() - Method in class com.crossbotics.ftchelper.robot.Pieces
-
True when it holds none.
- isEnabled() - Method in class com.crossbotics.ftchelper.gamepad.AimRumble
-
True if buzzing is on.
- isFeeding() - Method in class com.crossbotics.ftchelper.robot.Indexer
-
True from the start of a feed until it ends (normally, jammed or stopped).
- isFieldCentric() - Method in class com.crossbotics.ftchelper.drive.DriverControls
-
True while driving field-centric.
- isFlashing() - Method in class com.crossbotics.ftchelper.robot.Lights
-
True while a flash is showing.
- isFresh(long, double) - Method in class com.crossbotics.ftchelper.vision.TargetObservation
-
True if the picture is newer than
maxAgeMs. - isFromAuto() - Method in class com.crossbotics.ftchelper.drive.DriverHeading
-
True if the heading still counts from autonomous's (no reset since).
- isFull() - Method in class com.crossbotics.ftchelper.robot.Pieces
-
True when it holds
Pieces.maxpieces (or more); without a max, the intake'sholds(n). - isFullFor(String) - Method in class com.crossbotics.ftchelper.robot.Pieces
-
True when no more of this kind fits: the robot is full, or it holds as many of this kind as the intake's
holds(n, kind)allows (0 = never this kind). - isFullRange() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
True if
PositionServo.fullRange()orPositionServo.pulseRange(double, double)changed this servo's pulse range. - isHeld() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
True while the fence keeps it from its target (it waits at the fence's edge).
- isHeld() - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
True while the fence keeps it from its target (it waits at the fence's edge).
- isHeld() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
True while the fence keeps it from its target.
- isHeld() - Method in class com.crossbotics.ftchelper.robot.Turret
-
True while an interlock rule holds it back from where it should point (
Interlock). - isHeldBack() - Method in class com.crossbotics.ftchelper.robot.Intake
-
True while the
Intake.stopsWhen(java.util.function.BooleanSupplier)condition holds it back from running in. - isHidden() - Method in class com.crossbotics.ftchelper.tuning.Tunable
-
True while it is hidden from the menu (its part is not on the robot).
- isHolding() - Method in class com.crossbotics.ftchelper.robot.Interlock
-
True while the rule is holding a part back (it wants to go further but must wait).
- isHolding() - Method in interface com.crossbotics.ftchelper.robot.PathFollower
-
True while it holds the end point of a path after its step ended (a path that asked for it).
- isHomed() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
True once the angle is known (switch seen, or there is no switch).
- isHomed() - Method in class com.crossbotics.ftchelper.robot.Turret
-
True once its angle is known (homed on its switch, or no switch).
- isHomed() - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
True after the position was set to 0 by the lower switch or
SafeMotor.zeroHere(). - isHoming() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
True while turning slowly to find the home switch.
- isHuskyLens() - Method in class com.crossbotics.ftchelper.robot.Camera
-
True for a HuskyLens.
- isJammed() - Method in interface com.crossbotics.ftchelper.launcher.Feeder
-
True if the feeder is jammed (then the launcher stops shooting).
- isJammed() - Method in class com.crossbotics.ftchelper.launcher.MotorFeeder
- isJammed() - Method in class com.crossbotics.ftchelper.robot.Indexer
- isLimelight() - Method in class com.crossbotics.ftchelper.robot.Camera
-
True for a Limelight.
- isMeasure(double) - Static method in class com.crossbotics.ftchelper.robot.Starting
-
True if the value is
Starting.MEASURE(not any other NaN). - isMecanum() - Method in class com.crossbotics.ftchelper.robot.Drive
-
True for mecanum (it can strafe).
- isMotor() - Method in class com.crossbotics.ftchelper.robot.Hood
-
True for
Hood.motor, false forHood.servo. - isMovingShot() - Method in class com.crossbotics.ftchelper.robot.Aim
-
True while shooting on the move is on and the robot moves (faster than 2 in/s, or turning faster than 5 degrees per second): the aim is being led now.
- isNear(double, double, double) - Static method in class com.crossbotics.ftchelper.util.MathUtil
-
Tells if two numbers are close enough.
- isOff() - Method in class com.crossbotics.ftchelper.robot.Interlock
-
True if the rule is off because one of its parts is not on the robot (
Module.optional()). - isOn() - Method in class com.crossbotics.ftchelper.robot.Mode
-
True while on.
- isOpen() - Method in class com.crossbotics.ftchelper.tuning.TuningMenu
-
True while the menu is open.
- isOptional() - Method in class com.crossbotics.ftchelper.robot.EncoderMotor
-
True if its part is
optional()in Robot.java (not in the configuration = fine). - isOptional() - Method in class com.crossbotics.ftchelper.robot.Module
-
True if it was marked
Module.optional()in Robot.java. - isOutOfRange() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
True if the last aim was outside the limits (it went to the nearest limit instead).
- isOutOfRange() - Method in class com.crossbotics.ftchelper.robot.Turret
-
True when the goal is past its range (it waits at the limit, or holds while the goal is behind).
- isOver() - Method in class com.crossbotics.ftchelper.match.MatchTimer
-
True when the time is up.
- isPaused() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
True while paused.
- isPlaying() - Method in class com.crossbotics.ftchelper.gamepad.ToggleRumble
-
True while the confirmation is still playing.
- isPoseSet() - Method in class com.crossbotics.ftchelper.odometry.PoseTracker
-
True once
PoseTracker.setPose(com.crossbotics.ftchelper.util.FieldPose)was called: autonomous's start spot, the pose autonomous left for TeleOp, or your ownsetPose. - isPractice() - Method in enum class com.crossbotics.ftchelper.core.Profile
-
True for PRACTICE.
- isPresent() - Method in class com.crossbotics.ftchelper.robot.Module
-
True if the part is on the robot: false only for an
Module.optional()part whose device was not in the configuration at INIT (true before INIT). - isPushingForShot() - Method in class com.crossbotics.ftchelper.robot.Intake
-
True while the launcher borrows it to push a piece in.
- isPushingOut() - Method in class com.crossbotics.ftchelper.robot.Intake
-
True while it pushes pieces out: after
Intake.out()(untilIntake.in()orIntake.stop()), or whileIntake.reverse()is held. - isReady() - Method in interface com.crossbotics.ftchelper.auto.PathJob
-
False while its pose source (the odometry) is not ready.
- isReady() - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
True when at speed and steady.
- isReady() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
True when the flywheel is at speed, the hood has arrived, and every check passes.
- isReady() - Method in class com.crossbotics.ftchelper.odometry.DeadWheelOdometry
- isReady() - Method in class com.crossbotics.ftchelper.odometry.OtosOdometry
- isReady() - Method in class com.crossbotics.ftchelper.odometry.PinpointOdometry
- isReady() - Method in class com.crossbotics.ftchelper.odometry.PoseTracker
-
True when the device works and gives a pose (not calibrating, no fault).
- isReady() - Method in class com.crossbotics.ftchelper.robot.FeedTest
-
True when the wheel is on and at speed: a test shot may go.
- isReady() - Method in class com.crossbotics.ftchelper.robot.FeedTimeTest
-
True when the wheel is on and at speed: a test shot may go.
- isReady() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
True when the wheel is at speed (and every other check passes).
- isReady() - Method in interface com.crossbotics.ftchelper.robot.PathFollower
-
False while it cannot follow safely (its pose source is not ready).
- isReversed() - Method in class com.crossbotics.ftchelper.drive.ReverseDrive
-
True when reversed.
- isReversed() - Method in class com.crossbotics.ftchelper.robot.Hood
-
True when Robot.java says
reversed(). - isReversed() - Method in class com.crossbotics.ftchelper.robot.Indexer
-
True if
reversed()is set in Robot.java (positions 0 and 1 swap ends). - isReversed() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
True when Robot.java has
reversed()on this launcher: its flywheel motor turns the other way. - isReversed() - Method in class com.crossbotics.ftchelper.robot.ServoPositions
-
True if
reversed()is set in Robot.java (positions 0 and 1 swap ends). - isReversed(String) - Method in class com.crossbotics.ftchelper.robot.Drive
-
True if this drive motor is reversed in Robot.java (a path follower module sets its motors the same way).
- isReversed(String) - Method in class com.crossbotics.ftchelper.robot.Odometry
-
True if this pod ("x"/"y" for a Pinpoint, a port name for dead wheels) is in
reversed(...). - isReversedServo() - Method in class com.crossbotics.ftchelper.robot.Turret
-
True for a
Turret.servowithreversed()in Robot.java. - isRunning() - Method in class com.crossbotics.ftchelper.drive.RouteDriver
-
True while it drives.
- isRunning() - Method in class com.crossbotics.ftchelper.match.MatchTimer
-
True after
MatchTimer.start(). - isRunning() - Method in class com.crossbotics.ftchelper.mechanism.SpinMotor
-
True unless STOPPED.
- isRunning() - Method in class com.crossbotics.ftchelper.mechanism.SpinServo
-
True while the power is not 0.
- isRunning() - Method in class com.crossbotics.ftchelper.robot.Action
-
True while it runs.
- isRunning() - Method in class com.crossbotics.ftchelper.robot.Intake
-
True while it runs in or out.
- isRunning() - Method in class com.crossbotics.ftchelper.util.BackgroundWorker
-
True until
BackgroundWorker.shutdown(). - isServo() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
True for a servo turret (
Turret.servo): its angle is where it was sent (an estimate while it moves). - isServo() - Method in class com.crossbotics.ftchelper.robot.Indexer
-
True for a servo that pushes and comes back (not a CR servo or motor that runs).
- isServoTurret() - Method in class com.crossbotics.ftchelper.robot.Turret
-
True for
Turret.servo(a positional servo; not a motor or CR servo turret). - isShooting() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
True while shots are waiting or a piece is being fed.
- isShooting() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
True while shots are waiting or a piece is being fed.
- isSlow() - Method in class com.crossbotics.ftchelper.drive.DriverControls
-
True while the slow trigger is pulled.
- isSpinning() - Method in class com.crossbotics.ftchelper.robot.FeedTest
-
True while the wheel is on.
- isSpinning() - Method in class com.crossbotics.ftchelper.robot.FeedTimeTest
-
True while the wheel is on.
- isSpinning() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
True while it is spun up (or spinning up), false when idle.
- isSprayingOnHold() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
True while the fire button is held after a tap and spraying (see
Launcher.fireWhileHeld()). - isTrigger() - Method in class com.crossbotics.ftchelper.teleop.Key
-
True for LT or RT.
- isTuningMenuOpen() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
True while the tuning menu is open.
- isTurningToFire() - Method in class com.crossbotics.ftchelper.robot.Aim
-
True while a quick turn on fire is working: the driver pressed fire with the goal in view, and the shots are not done yet (or the button is still held).
- isUpright() - Method in class com.crossbotics.ftchelper.vision.TargetObservation
-
True if the tag reads right side up in the picture (turned less than 90 degrees either way).
- isUpsideDown() - Method in class com.crossbotics.ftchelper.robot.Camera
-
True if
Camera.upsideDown()is set in Robot.java. - isUpsideDown() - Method in class com.crossbotics.ftchelper.vision.WebcamTags
-
True if
WebcamTags.upsideDown(boolean)is set. - isWaitingForHoming() - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
True while waiting to be homed on the lower switch.
- isWaitingForHoming() - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
True while a lower switch is set, homing is required, and it has not been homed yet.
- isWaitingUnknown() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
True while
Turret.waitWhileUnknown(boolean)holds it still (its angle not known, the rule says wait). - isWebcam() - Method in class com.crossbotics.ftchelper.robot.Camera
-
True for a webcam.
- isWorking() - Method in class com.crossbotics.ftchelper.robot.PieceSensor
-
True while it has a recent reading (within 0.5 s).
- isWorking() - Method in class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
True while the camera answers: a finished reading within the last second, and no problem.
- isWorking() - Method in class com.crossbotics.ftchelper.vision.LimelightTags
-
True when started, connected and running.
- isWorking() - Method in interface com.crossbotics.ftchelper.vision.TargetSource
-
True if the camera is working (connected and streaming).
- isWorking() - Method in class com.crossbotics.ftchelper.vision.WebcamTags
-
True while the camera is streaming pictures.
- isYes(String) - Method in class com.crossbotics.ftchelper.match.InitMenu
-
True if a yes/no line is YES.
- isYes(String) - Method in class com.crossbotics.ftchelper.robot.Steps
-
True if the yes/no choice is "yes".
J
- jamCurrent(double) - Method in class com.crossbotics.ftchelper.mechanism.SpinMotor
-
Also counts a jam when the current is above this (amps).
- jamDetection(double, double) - Method in class com.crossbotics.ftchelper.launcher.MotorFeeder
-
Jam detection: slower than
minSpeedticks/s forsecondswhile feeding. - jamDetection(double, double, double) - Method in class com.crossbotics.ftchelper.mechanism.SpinMotor
-
Turns on jam detection while IN.
- JamDetector - Class in com.crossbotics.ftchelper.safety
-
Tells when a motor is jammed: it is asked to spin but barely turns (or draws too much current) for a while.
- JamDetector(double, double) - Constructor for class com.crossbotics.ftchelper.safety.JamDetector
- JUMP_PICTURES - Static variable in class com.crossbotics.ftchelper.vision.DistanceFilter
-
Pictures in a row a jump needs (each close to the one before) before it is used.
- jumpWaiting() - Method in class com.crossbotics.ftchelper.vision.DistanceFilter
-
True while a jump is waiting to be sure (the distance in use is the one from before it).
K
- kA - Variable in class com.crossbotics.ftchelper.control.Feedforward
-
Power to start moving (kS), per speed (kV), per acceleration (kA), to hold against gravity (kG).
- kA - Variable in class com.crossbotics.ftchelper.finders.CharacterizeMath.Fit
-
Power to start moving (kS), per speed (kV), per acceleration (kA), to hold against gravity (kG).
- kD - Variable in class com.crossbotics.ftchelper.tuning.PidTunables
-
The four gains, each one changeable from the
TuningMenu. - keepApart(String, Zone, Zone) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
An interlock rule: these two parts are never in their zones at the same time (see
Interlock). - keepOut(String, double, double, double, double) - Method in class com.crossbotics.ftchelper.drive.FieldMap
-
Adds a box the robot must not drive through.
- keepTargetsMs(double) - Method in class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
Targets older than this are dropped (milliseconds, default 500).
- keepTargetsMs(double) - Method in class com.crossbotics.ftchelper.vision.LimelightTags
-
Targets older than this are dropped (milliseconds, default 500).
- keepTargetsMs(double) - Method in class com.crossbotics.ftchelper.vision.WebcamTags
-
Targets older than this are dropped from
WebcamTags.targets()(milliseconds, default 500), so a camera that stops sending pictures never leaves old targets behind. - key(LibraryButtons.Job) - Method in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
The button of a job (the first one of a pair), or null if it has none.
- Key - Class in com.crossbotics.ftchelper.teleop
-
One button or trigger on one gamepad, e.g.
- Key(ControllerBindings.Pad, ControllerBindings.Btn, ControllerBindings.Trigger) - Constructor for class com.crossbotics.ftchelper.teleop.Key
-
A button (
triggernull) or a trigger (btnnull) on one gamepad. - keyWords(LibraryButtons.Job) - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
"G1 BACK" for a job's button ("BACK" alone on gamepad 1), or "(no button)".
- kF - Variable in class com.crossbotics.ftchelper.tuning.PidTunables
-
The four gains, each one changeable from the
TuningMenu. - kG - Variable in class com.crossbotics.ftchelper.control.Feedforward
-
Power to start moving (kS), per speed (kV), per acceleration (kA), to hold against gravity (kG).
- kG - Variable in class com.crossbotics.ftchelper.finders.CharacterizeMath.Fit
-
Power to start moving (kS), per speed (kV), per acceleration (kA), to hold against gravity (kG).
- kI - Variable in class com.crossbotics.ftchelper.tuning.PidTunables
-
The four gains, each one changeable from the
TuningMenu. - kind - Variable in class com.crossbotics.ftchelper.robot.Feature
- kind() - Method in class com.crossbotics.ftchelper.odometry.DeadWheelOdometry
- kind() - Method in class com.crossbotics.ftchelper.odometry.OtosOdometry
- kind() - Method in class com.crossbotics.ftchelper.odometry.PinpointOdometry
- kind() - Method in class com.crossbotics.ftchelper.odometry.PoseTracker
-
What kind it is, e.g.
- kind() - Method in class com.crossbotics.ftchelper.robot.PieceSensor
-
What is at the spot now: a kind,
Pieces.UNKNOWN, orPieces.NONE. - kindLimits() - Method in class com.crossbotics.ftchelper.robot.Intake
-
The kind limits from
Intake.holds(int, String)(a copy; empty = none). - kindName() - Method in class com.crossbotics.ftchelper.robot.Odometry
-
"pinpoint", "otos", "threeWheels" or "twoWheels" (for the Odometry Tuner).
- kindNames() - Method in class com.crossbotics.ftchelper.robot.PieceSensor
-
The kinds it tells apart.
- kinds(String...) - Static method in class com.crossbotics.ftchelper.robot.Pieces
-
The kinds of piece this season, as names: letters, digits and _ only (they are also the Tunables fields of the sensors), e.g.
- kinds(String...) - Method in class com.crossbotics.ftchelper.robot.PieceSensor
-
The kinds of piece it can tell apart, as names that are also the Tunables fields (letters, digits and _ only), e.g.
- known() - Method in class com.crossbotics.ftchelper.robot.Motors.Kind
-
True if both numbers are known (a catalog motor always).
- knowsGoal() - Method in class com.crossbotics.ftchelper.robot.Camera
-
True if Robot.java gives this camera a
goal(...):Camera.goal()can find the alliance's goal. - kP - Variable in class com.crossbotics.ftchelper.tuning.PidTunables
-
The four gains, each one changeable from the
TuningMenu. - kS - Variable in class com.crossbotics.ftchelper.control.Feedforward
-
Power to start moving (kS), per speed (kV), per acceleration (kA), to hold against gravity (kG).
- kS - Variable in class com.crossbotics.ftchelper.finders.CharacterizeMath.Fit
-
Power to start moving (kS), per speed (kV), per acceleration (kA), to hold against gravity (kG).
- kV - Variable in class com.crossbotics.ftchelper.control.Feedforward
-
Power to start moving (kS), per speed (kV), per acceleration (kA), to hold against gravity (kG).
- kV - Variable in class com.crossbotics.ftchelper.finders.CharacterizeMath.Fit
-
Power to start moving (kS), per speed (kV), per acceleration (kA), to hold against gravity (kG).
L
- L_STICK_BTN - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Btn
- label() - Method in class com.crossbotics.ftchelper.finders.NudgeStep
- label(int, String) - Method in class com.crossbotics.ftchelper.robot.Camera
-
HuskyLens: a name for a taught number, for
target(name). - label(int, String) - Method in class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
Gives a taught number a name, for
target(name). - labels() - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
The settings, in the order they are tried.
- last() - Method in class com.crossbotics.ftchelper.launcher.ShotStats
-
The newest piece, or null before the first.
- last() - Method in class com.crossbotics.ftchelper.odometry.CameraPoseFix
-
The last picture's decision (for the debug line).
- lastEnd() - Method in class com.crossbotics.ftchelper.robot.FeedTest
-
How the last test shot ended: "shot seen", "backup time", or "" before the first one.
- lastEnd() - Method in class com.crossbotics.ftchelper.robot.FeedTimeTest
-
How the last test shot ended: "shot seen", "time limit", "stopped" (the wheel went off), or "" before the first one.
- lastPieces() - Method in class com.crossbotics.ftchelper.robot.FeedTest
-
How many speed drops (pieces) the last test shot made: 1 is right, 2 or more = pieces slipped through.
- lastReport() - Static method in class com.crossbotics.ftchelper.match.MatchMemory
-
Autonomous's report from this match (empty if none, or if it is older than
MatchMemory.MAX_AGE_SEC). - lastScreen - Variable in class com.crossbotics.ftchelper.testkit.PretendTelemetry
-
The last screen sent, one line per entry.
- lastSec() - Method in class com.crossbotics.ftchelper.robot.FeedTest
-
The last test shot's time to the shot, seconds, counted the same way as
feedStopOpenSec. - lastSec() - Method in class com.crossbotics.ftchelper.robot.FeedTimeTest
-
The last test shot's time from the start of the feed to the shot, seconds.
- lastTrimOffered() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Last time's trim in words ("+3%"), while it is offered and not used yet; "" when there is none.
- lastVolley() - Method in class com.crossbotics.ftchelper.launcher.ShotStats
-
The volley before it, oldest first (read only; empty until a second volley starts).
- latestBlocks() - Method in class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
The newest reading's boxes as the SDK gives them (empty before the first), for anything else you need.
- Launcher - Class in com.crossbotics.ftchelper.launcher
-
Joins a flywheel, a feeder, and optionally a hood, a shot table and any "ready" checks into one shooter: spin up, wait until everything is ready, feed, repeat.
- Launcher - Class in com.crossbotics.ftchelper.robot
-
A flywheel launcher: a motor that spins a wheel to a speed, and an
Indexerthat feeds one piece at a time once the speed is right. - Launcher(Flywheel, Feeder) - Constructor for class com.crossbotics.ftchelper.launcher.Launcher
-
Makes a launcher from a flywheel and a feeder you already made.
- Launcher.ShotMode - Enum Class in com.crossbotics.ftchelper.launcher
-
How strict the launcher is before it feeds a piece.
- Launcher.State - Enum Class in com.crossbotics.ftchelper.launcher
-
What the launcher is doing (for telemetry).
- lb - Variable in class com.crossbotics.ftchelper.robot.Pad
-
Bumpers (LB, RB) and triggers (LT, RT; a trigger counts as pressed past half way).
- LB - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Btn
- lead() - Method in class com.crossbotics.ftchelper.robot.Aim
-
The lead worked out last (degrees and inches, see
MovingShot.Result), or null if none in the lastcameraMaxAgeMs(shooting on the move off, no goal, no odometry). - leadDeg - Variable in class com.crossbotics.ftchelper.vision.MovingShot.Result
-
How many degrees the robot's motion moved the aim (the aim minus the aim of a still robot).
- leadIn - Variable in class com.crossbotics.ftchelper.vision.MovingShot.Result
-
How far the aim point moved because the piece keeps the shooter's speed (speed x flight time), inches.
- leastSquares(double[][], double[]) - Static method in class com.crossbotics.ftchelper.finders.CharacterizeMath
-
The b that makes x b closest to y (least squares).
- left(String, double, double) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Slides left, still facing the same way (mecanum only):
move(label, inches, 90, maxPower). - left(String, double, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Slides to the robot's left, still facing the same way.
- LEFT - Static variable in class com.crossbotics.ftchelper.drive.DifferentialMixer
-
Index of each side in the arrays this class returns.
- leftStickButton - Variable in class com.crossbotics.ftchelper.robot.Pad
-
Pressing a stick down (a click).
- leftStickX - Variable in class com.crossbotics.ftchelper.robot.Pad
-
The sticks: up and right are +, from -1 to 1.
- leftStickY - Variable in class com.crossbotics.ftchelper.robot.Pad
-
The sticks: up and right are +, from -1 to 1.
- lend(OpMode) - Method in class com.crossbotics.ftchelper.finders.Hosting
-
Gives the finder the host's hardware, screen and gamepads.
- lengthMm(double) - Method in class com.crossbotics.ftchelper.robot.Shape
-
A roller's length along its axle, mm (needed when the catalog does not give the part's width).
- lerp(double, double, double) - Static method in class com.crossbotics.ftchelper.util.MathUtil
-
Finds the number part of the way from
atob. - LETTERS - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ButtonNames.Style
-
A, B, X, Y, LB, RB, LT, RT, BACK, START, GUIDE: Logitech F310, Xbox, and any unknown controller.
- library(AprilTagLibrary) - Method in class com.crossbotics.ftchelper.vision.WebcamTags
-
A different tag library (default: this season's from the SDK).
- libraryButtons(LibraryButtons) - Method in class com.crossbotics.ftchelper.robot.ControlMap
- libraryButtons(LibraryButtons) - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
Moves or frees the library's own buttons (pause, slow, field-centric, menus...).
- libraryButtons(LibraryButtons, Pad, Pad) - Method in class com.crossbotics.ftchelper.robot.ControlMap
-
Moves or frees the library's own buttons (driving, pause, slow, field-centric, menus, "set pose here", "switch alliance").
- LibraryButtons - Class in com.crossbotics.ftchelper.teleop
-
Where the library's own TeleOp jobs are on the gamepads: driving, pause, slow, field-centric, the button map, the tuning menu, "set pose here" and "switch alliance" (off unless you turn it on).
- LibraryButtons.Job - Enum Class in com.crossbotics.ftchelper.teleop
-
The library's jobs, with the words the button map shows.
- libraryJobs(boolean) - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
The library's jobs this TeleOp has: "pause" only with
EasyTeleOp.backTap(), "field-centric" only where possible, "set pose" only withEasyTeleOp.setPoseJob()... - libraryKeys() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
Where the library's buttons are (after
EasyTeleOp.libraryButtons(LibraryButtons)); null before INIT. - lift(String, int, int) - Static method in class com.crossbotics.ftchelper.finders.CharacterizerOpMode.Mechanism
-
A lift (or an arm: treated like a lift, with the same pull of gravity everywhere).
- Lift - Class in com.crossbotics.ftchelper.robot
-
A lift (a slide that goes up and down) on one motor (or two:
MotorPositions.alsoMotor(java.lang.String)), with named heights and an optional bottom switch. - LightColor - Enum Class in com.crossbotics.ftchelper.robot
-
The colors a
Lightsmodule can show. - lighting() - Method in class com.crossbotics.ftchelper.robot.Camera
-
The venue-lighting test (status and result), or null when it is off.
- lighting() - Method in class com.crossbotics.ftchelper.vision.LimelightTags
-
The venue-lighting helper (its numbers, status and result), or null without
LimelightTags.autoPipelines(int...). - lighting() - Method in class com.crossbotics.ftchelper.vision.WebcamTags
-
The venue-lighting helper (its numbers, status and result), or null without
WebcamTags.autoExposure(). - LightingSweep - Class in com.crossbotics.ftchelper.vision
-
Tries a few camera settings one after the other, counts how many pictures see AprilTags with each, and keeps the best one.
- LightingSweep(List<String>, IntConsumer, LongSupplier) - Constructor for class com.crossbotics.ftchelper.vision.LightingSweep
- Lights - Class in com.crossbotics.ftchelper.robot
-
A colored light the drivers can see: green when the launcher is ready to fire, orange blinking when it is jammed, a white flash when a shot goes, yellow in the last 20 seconds.
- Lights.Rule - Class in com.crossbotics.ftchelper.robot
-
One rule, started with
Lights.show(LightColor). - limelight(String) - Static method in class com.crossbotics.ftchelper.robot.Camera
-
A Limelight 3A.
- LimelightTags - Class in com.crossbotics.ftchelper.vision
-
AprilTags with a Limelight 3A.
- LimelightTags(String, Limelight3A) - Constructor for class com.crossbotics.ftchelper.vision.LimelightTags
-
Wraps a Limelight you already have.
- LimelightTags.FieldSighting - Class in com.crossbotics.ftchelper.vision
-
ALPHA (the camera fix,
CameraPoseFix): the robot's field position the Limelight worked out from the tags in one picture, in the Limelight's field frame (inches, degrees). - limelightYaw(double) - Method in class com.crossbotics.ftchelper.odometry.CameraPoseFix
-
The heading to send the Limelight (its yaw, degrees) for our heading: ours - turnDeg + 90.
- limit(double, double, double, double, double, double, boolean, boolean) - Static method in class com.crossbotics.ftchelper.safety.SoftLimits
-
Applies the limits to a power.
- limitFor(String) - Method in class com.crossbotics.ftchelper.robot.Intake
-
The limit for one kind of piece from
Intake.holds(int, String)(the first name it contains), or -1 when no limit names it. - limitFor(Map<String, Integer>, String) - Static method in class com.crossbotics.ftchelper.robot.Intake
-
The limit in
limitswhose name is inkind(letters only, any case), or -1. - limits(double, double) - Static method in class com.crossbotics.ftchelper.finders.FinderMath
-
Turns two marked encoder counts ("low end" and "high end") into limits for a mechanism whose code counts UP as it goes UP.
- limits(double, double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
The allowed range, degrees.
- limits(double, double) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
The safe range, from
mintomax, in units. - limits(double, double) - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
Never goes below
minor abovemax(raw positions). - limitSec() - Method in class com.crossbotics.ftchelper.robot.FeedTimeTest
-
The time limit of one test feed, seconds.
- line(String, Object) - Method in class com.crossbotics.ftchelper.telemetry.RobotTelemetry
-
A driver line: "label : value".
- line(String, String, Object...) - Method in class com.crossbotics.ftchelper.telemetry.RobotTelemetry
-
A driver line with a format, e.g.
- lineIsClear(double, double, double, double) - Method in class com.crossbotics.ftchelper.drive.FieldMap
-
True if the robot's center may drive straight from one place to another: the line misses every box with its margin.
- lines() - Method in class com.crossbotics.ftchelper.finders.FinderResults
-
The lines, in order (a copy).
- liveView(boolean) - Method in class com.crossbotics.ftchelper.vision.WebcamTags
-
Shows the camera picture on the Robot Controller screen (costs speed).
- liveViewOn() - Method in class com.crossbotics.ftchelper.robot.Camera
-
True when the webcam's live view is on (PRACTICE profile,
Tunables liveViewnot false). - LOCKED - Enum constant in enum class com.crossbotics.ftchelper.robot.Aim.Stage
-
...
- looks(Shape...) - Method in class com.crossbotics.ftchelper.robot.Module
-
How the part looks and where it sits (
Shape), for the simulator's 3D view and size checks. - lookup(double) - Method in class com.crossbotics.ftchelper.launcher.ShotTable
-
The shot for a distance (inches).
- loop() - Method in interface com.crossbotics.ftchelper.auto.AutoContext
-
One loop: updates every mechanism, shows telemetry, and lets the robot breathe.
- LoopTimer - Class in com.crossbotics.ftchelper.util
-
Measures how fast your OpMode loop runs.
- LoopTimer() - Constructor for class com.crossbotics.ftchelper.util.LoopTimer
-
Makes a timer that uses the phone's clock.
- LoopTimer(LongSupplier) - Constructor for class com.crossbotics.ftchelper.util.LoopTimer
-
Makes a timer with your own clock.
- LOW_BATTERY_VOLTS - Static variable in class com.crossbotics.ftchelper.launcher.Flywheel
-
Below this many volts the Driver Station warns that the battery is low.
- LOW_BATTERY_VOLTS - Static variable in class com.crossbotics.ftchelper.tuning.TuningMenu
-
Below this battery voltage the menu warns: numbers tuned then are too strong on a charged battery.
- lowerSwitch(HardwareMap, String) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
A lower limit switch, by its configuration name (a touch sensor).
- lowerSwitch(BooleanSupplier) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
A lower limit switch, read your own way (e.g.
- lowNow() - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
The lowest position allowed now: the lower limit or the fence, whichever is higher (ticks).
- lt - Variable in class com.crossbotics.ftchelper.robot.Pad
-
Bumpers (LB, RB) and triggers (LT, RT; a trigger counts as pressed past half way).
- LT - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Trigger
M
- M1 - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Btn
- M2 - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Btn
- make(Devices, RobotDefinition) - Method in interface com.crossbotics.ftchelper.robot.PathFollower.Maker
- makeOdometry(Devices) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
RobotDefinition.makeOdometry(HardwareMap)with anyDevices(tests use pretend ones). - makeOdometry(HardwareMap) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Makes only the odometry from the odometry(...) line, for a tool that runs without the rest of the robot (e.g.
- manual(double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Manual control (a stick), -1 to 1.
- manual(double) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
Manual control, e.g.
- manual(double) - Method in class com.crossbotics.ftchelper.robot.MotorPositions
-
Moves by hand, -1 to 1 (a stick).
- manual(double) - Method in class com.crossbotics.ftchelper.robot.Turret
-
By hand, -1 to 1 (a stick, every loop).
- manual(HardwareMap) - Static method in class com.crossbotics.ftchelper.hardware.BulkReads
-
Turns on MANUAL bulk reads on every hub.
- MANUAL - Enum constant in enum class com.crossbotics.ftchelper.mechanism.SpinMotor.State
- margin(double) - Static method in class com.crossbotics.ftchelper.drive.FieldMap
-
Starts a map.
- marginIn() - Method in class com.crossbotics.ftchelper.drive.FieldMap
-
How far the robot's center stays from every box, inches.
- mark(boolean) - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Trials
-
Marks the OLDEST shot not marked yet (A = HIT, B = MISS), at the speed, hood and spot it was fired with.
- mark(double, boolean, double) - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Tally
-
One shot marked at this speed (no hood).
- mark(double, double, boolean, double) - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Tally
-
One shot marked at this speed and hood angle.
- mark(int, String) - Static method in class com.crossbotics.ftchelper.gamepad.ButtonNames
-
The mark for one button, for a line that
ButtonNames.say(java.lang.String)turns into its name later:mark(2, "RT")is"{2:RT}". - markHomed() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Marks the angle as known now (homed), e.g.
- matchHasStarted() - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
True after
LightingSweep.matchStarted()(for the cameras: hide trial pictures during the match). - MatchMemory - Class in com.crossbotics.ftchelper.match
-
Remembers what autonomous knew, for TeleOp: the alliance and the robot's pose.
- matchStarted() - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
Tell it the match has started (the OpMode's START).
- matchStarted() - Method in class com.crossbotics.ftchelper.vision.LimelightTags
-
Tell the camera the match has started, so an unfinished
LimelightTags.autoPipelines(int...)test stops and keeps the best pipeline so far (the five-files Camera module does this for you). - matchStarted() - Method in class com.crossbotics.ftchelper.vision.WebcamTags
-
Tell the camera the match has started, so an unfinished
WebcamTags.autoExposure()test stops and keeps the best exposure so far (the five-files Camera module does this for you). - matchTimer() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
The 2:00 match timer (started at START).
- MatchTimer - Class in com.crossbotics.ftchelper.match
-
Counts down a match period and runs "cues" at set times, for example a gamepad buzz with 20 seconds left, so drivers do not have to watch the field clock.
- MatchTimer(double) - Constructor for class com.crossbotics.ftchelper.match.MatchTimer
-
A timer for a period of this many seconds.
- MatchTimer(double, LongSupplier) - Constructor for class com.crossbotics.ftchelper.match.MatchTimer
-
For tests: your own clock.
- MathUtil - Class in com.crossbotics.ftchelper.util
-
Small math helpers that robot code needs all the time.
- max(int) - Method in class com.crossbotics.ftchelper.robot.Pieces
-
The most pieces the robot may hold (BIOBUZZ G407: 4).
- MAX_AGE_SEC - Static variable in class com.crossbotics.ftchelper.match.MatchMemory
-
After this many seconds the memory belongs to an old match and is ignored.
- MAX_BLINK_HZ - Static variable in class com.crossbotics.ftchelper.robot.Lights
-
The most blinks per second allowed (FTC R202 J: faster than 5 per second invites the referees).
- MAX_F_SCALE - Static variable in class com.crossbotics.ftchelper.launcher.Flywheel
-
The F scale is kept between these, so a wrong reading cannot make the wheel run away.
- MAX_TARGET_AGE_MS - Static variable in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
-
Camera pictures older than this are not used for the distance (milliseconds).
- MAX_TOP_SPEED_SEC - Static variable in class com.crossbotics.ftchelper.finders.FlywheelFinderOpMode
-
The longest full-power run in step 1, seconds.
- MAX_UNMARKED - Static variable in class com.crossbotics.ftchelper.finders.ShotPoints.Trials
-
At most this many shots wait to be marked (nobody marks more than 10 behind).
- maxAbsPower - Variable in class com.crossbotics.ftchelper.testkit.PretendMotor
-
The largest power (either way) ever sent.
- maxAgeMs - Variable in class com.crossbotics.ftchelper.odometry.CameraPoseFix.Settings
-
A picture older than this is skipped, milliseconds.
- maxAgeMs(double) - Method in class com.crossbotics.ftchelper.vision.AimController
-
Pictures older than this are ignored (milliseconds).
- maxAngle() - Method in class com.crossbotics.ftchelper.robot.Hood
-
The biggest angle it may go to (a hard limit).
- maxDriveCounts() - Method in class com.crossbotics.ftchelper.finders.CharacterizerOpMode
-
The farthest the drive test may roll in one go, in wheel counts (default 2500: about 4.5 ft with 312 rpm motors and 104 mm wheels; fewer feet with smaller counts per inch).
- maxFiringQueue() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The most shots
Launcher.fire()lets wait at once (TunablesmaxFiringQueue, default 4; 0 = no queue). - maxJumpIn - Variable in class com.crossbotics.ftchelper.odometry.CameraPoseFix.Settings
-
A camera position farther than this from the odometry's is refused (inches).
- maxLeadIn(double) - Method in class com.crossbotics.ftchelper.vision.MovingShot
-
The most the aim point may move for the lead, inches (a safety cap).
- maxPieces() - Method in class com.crossbotics.ftchelper.robot.Pieces
-
The limit in use:
Pieces.max(int), else the intake'sholds(n)(0 = none). - maxPower(double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
The most power it ever gets, 0 to 1.
- maxPower(double) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
The most power it ever gets, 0 to 1.
- maxPower(double) - Method in class com.crossbotics.ftchelper.vision.AimController
-
The most turn power the aim may use, 0 to 1.
- maxRpm(double) - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
The highest speed it may be asked for, in RPM.
- maxSpeed(double) - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
Moves slowly: at most this many raw positions per second (e.g.
- maxSpeedInPerSec - Variable in class com.crossbotics.ftchelper.odometry.CameraPoseFix.Settings
-
Faster than this (inches per second) or turning faster than maxTurnDegPerSec: skipped.
- maxStartDelaySec() - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
Longest start delay offered in the menu, seconds.
- maxTargetAgeMs(double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Turret.aimAtTarget(com.crossbotics.ftchelper.vision.TargetObservation, boolean)ignores camera pictures older than this (milliseconds). - maxTurnDegPerSec - Variable in class com.crossbotics.ftchelper.odometry.CameraPoseFix.Settings
-
Faster than this (inches per second) or turning faster than maxTurnDegPerSec: skipped.
- MEASURE - Static variable in class com.crossbotics.ftchelper.robot.Starting
-
A number you must find on the robot: INIT stops and names the tool that finds it.
- measured() - Method in class com.crossbotics.ftchelper.robot.PieceSensor
-
The number this sensor compares: hue (color, camera) or distance in mm (distance sensor).
- measuredRpm - Variable in class com.crossbotics.ftchelper.finders.ShotPoints.Saved
-
The flywheel speed measured at the shots (average, RPM), NaN if not known.
- measuredRpm(double) - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Tally
-
The average measured flywheel speed at this speed's shots (no hood), NaN if none was measured.
- measuredRpm(double, double) - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Tally
-
The average measured flywheel speed at this speed and hood angle, NaN if none was measured.
- measuresSize() - Method in class com.crossbotics.ftchelper.robot.PieceSensor
-
True for a distance sensor (it compares mm, not colors).
- mecanum() - Static method in class com.crossbotics.ftchelper.drive.DriveConfig
-
Settings for a four-motor mecanum drive (the same as
new DriveConfig()). - mecanum(String, String, String, String) - Static method in class com.crossbotics.ftchelper.robot.Drive
-
A four-wheel mecanum drive (it can strafe).
- MECANUM - Enum constant in enum class com.crossbotics.ftchelper.drive.DriveConfig.DriveType
-
Four mecanum wheels: can drive forward, sideways and turn.
- MecanumDrive - Class in com.crossbotics.ftchelper.drive
-
Drives a four-wheel mecanum chassis.
- MecanumDrive(HardwareMap, DriveConfig) - Constructor for class com.crossbotics.ftchelper.drive.MecanumDrive
-
Gets the four motors, sets their directions and brake mode, and sets power to 0.
- MecanumMixer - Class in com.crossbotics.ftchelper.drive
-
The math that turns "forward, right, turn" into four mecanum wheel powers.
- mechanisms() - Method in class com.crossbotics.ftchelper.finders.CharacterizerOpMode
-
The lifts, arms and flywheels to measure.
- menuChoice(String, String...) - Method in class com.crossbotics.ftchelper.robot.Steps
-
A choice between options in the INIT menu, read with
Steps.onlyIf(String, String)orSteps.choice(java.lang.String). - menuYesNo(String, boolean) - Method in class com.crossbotics.ftchelper.robot.Steps
-
A yes/no choice in the INIT menu (D-pad), read with
Steps.onlyIf(java.lang.String)orSteps.isYes(java.lang.String). - MIN_CHANGE_SEC - Static variable in class com.crossbotics.ftchelper.robot.Lights
-
The shortest time between two color changes, seconds: 0.1 s, so the light switches on and off at most 5 times a second (FTC R202 J) even when a rule changes every loop.
- MIN_F_SCALE - Static variable in class com.crossbotics.ftchelper.launcher.Flywheel
-
The F scale is kept between these, so a wrong reading cannot make the wheel run away.
- minAngle() - Method in class com.crossbotics.ftchelper.robot.Hood
-
The smallest angle it may go to (a hard limit).
- minPictures(int) - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
How many pictures must see a tag for a setting to count as good (default 3).
- minTags - Variable in class com.crossbotics.ftchelper.odometry.CameraPoseFix.Settings
-
At least this many tags in the picture.
- mirror(double) - Method in enum class com.crossbotics.ftchelper.match.Alliance
-
Mirrors a left/right value written for BLUE: unchanged for blue, negated for red.
- mirrorFor(Alliance) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Flips turns, headings and sideways directions when
allianceis RED. - mirrorForRed() - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
True (default): routes are written for BLUE and mirrored left/right for RED.
- mirrorForRed() - Method in class com.crossbotics.ftchelper.robot.Auto
-
True: the steps are written for BLUE and mirrored left-right for RED; false: RED uses the same numbers from the red wall (a field turned half a turn, like BIOBUZZ).
- mirrorForRed() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
True when RED uses BLUE's numbers mirrored left-right (x and headings flip: a mirrored field like DECODE 2025-26); false when RED uses the same numbers from the red wall (a field turned half a turn, like BIOBUZZ 2026-27).
- mirrorsX() - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
True when routes are mirrored now (RED with
AutoRoutine.mirrorFor(com.crossbotics.ftchelper.match.Alliance)): x and headings flip. - missing - Variable in class com.crossbotics.ftchelper.robot.Feature
-
What is missing now ("" = ready).
- missingMessage(HardwareMap, Class<?>, String) - Static method in class com.crossbotics.ftchelper.hardware.Hw
-
The error text for a missing device.
- mix(double, double, double, double) - Static method in class com.crossbotics.ftchelper.drive.MecanumMixer
-
Wheel powers for a robot-relative move.
- mode - Variable in class com.crossbotics.ftchelper.launcher.ShotStats.Shot
-
The shot mode it was fed in.
- mode - Variable in class com.crossbotics.ftchelper.testkit.PretendMotor
-
The run mode set (STOP_AND_RESET_ENCODER also sets
PretendMotor.positionto 0). - mode() - Method in class com.crossbotics.ftchelper.robot.Aim
-
Whole-robot aim, for a robot with no turret: while it is on, TeleOp turns the robot toward the goal and the driver keeps forward and sideways, slowed to
aimDriveSpeed(0.5) so the aim keeps up. - mode() - Method in class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
What it looks for now.
- mode(HuskyLensCamera.Mode) - Method in class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
What to look for.
- Mode - Class in com.crossbotics.ftchelper.robot
-
A rule a module follows every loop while it is on: a turret following the target, a launcher setting its speed from the distance.
- Module<M> - Class in com.crossbotics.ftchelper.robot
- modules() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
The mechanisms, in the order they were added (read only).
- MotionMath - Class in com.crossbotics.ftchelper.drive
-
Speed-profile math for autonomous moves.
- motor - Variable in class com.crossbotics.ftchelper.testkit.PretendMotor
-
The SDK motor to hand to code that wants one.
- motor(String) - Method in class com.crossbotics.ftchelper.robot.Drive
-
The drive motor, by its parts-catalog id (see
Motors). - motor(String) - Static method in class com.crossbotics.ftchelper.robot.Indexer
-
A motor (a roller or belt) that runs for a moment per piece.
- motor(String) - Static method in class com.crossbotics.ftchelper.robot.Intake
-
An intake on one motor.
- motor(String) - Method in class com.crossbotics.ftchelper.testkit.PretendDevices
-
The pretend motor with this name (made now if nothing asked for it yet).
- motor(String, String) - Static method in class com.crossbotics.ftchelper.robot.Arm
-
An arm on this motor.
- motor(String, String) - Static method in class com.crossbotics.ftchelper.robot.Hood
-
A hood on a motor with an encoder: it knows where the hood really is.
- motor(String, String) - Static method in class com.crossbotics.ftchelper.robot.Turret
-
A turret on this motor (its own encoder counts the angle).
- motor(Telemetry, String, DcMotorEx) - Static method in class com.crossbotics.ftchelper.telemetry.TelemetryHelper
-
Adds a motor's power, encoder position and speed (counts per second) on one line.
- MotorDirectionCheckOpMode - Class in com.crossbotics.ftchelper.finders
-
Motor Direction Check: spins ONE drive motor at a time, set up exactly as Robot.java says (its direction, from
reversed(...)), so you see if each wheel rolls FORWARD. - MotorDirectionCheckOpMode() - Constructor for class com.crossbotics.ftchelper.finders.MotorDirectionCheckOpMode
- motorDirections() - Method in class com.crossbotics.ftchelper.finders.FlywheelFinderOpMode
-
The direction Robot.java gives each flywheel motor it knows (true =
reversed()on the launcher). - MotorFeeder - Class in com.crossbotics.ftchelper.launcher
-
A feeder driven by a motor (a roller, belt or indexer wheel): runs for a set time per piece, or until a sensor sees the piece leave.
- MotorFeeder(String, DcMotorEx) - Constructor for class com.crossbotics.ftchelper.launcher.MotorFeeder
-
Wraps a motor you already set up.
- MotorFinderOpMode - Class in com.crossbotics.ftchelper.finders
-
Finds a motor mechanism's numbers (a lift, an arm, a turret): its limits in encoder counts, the positions you want, and its top speed.
- MotorFinderOpMode() - Constructor for class com.crossbotics.ftchelper.finders.MotorFinderOpMode
- motorNames() - Method in class com.crossbotics.ftchelper.robot.Drive
-
Every drive motor name, front left first.
- MotorPositions<M> - Class in com.crossbotics.ftchelper.robot
-
What
LiftandArmshare: a motor that goes to named positions and holds them (aPositionMotorinside), with its numbers fromTunables.java. - Motors - Class in com.crossbotics.ftchelper.robot
-
Encoder counts per turn and top speed of the common FTC motors, by the same ids as the simulator's parts catalog (
sim/parts/parts.json, docs/guides/parts-catalog.md): "gobilda-5203-312", "rev-hd-hex-20"... - Motors.Kind - Class in com.crossbotics.ftchelper.robot
-
One motor: encoder counts per output-shaft turn, and its free (no-load) speed in RPM.
- MotorSetup - Class in com.crossbotics.ftchelper.hardware
-
Sets up a motor in one readable chain.
- mountFromEdgesMm(double, double, double) - Method in class com.crossbotics.ftchelper.robot.Odometry
-
OTOS: where it sits, measured from the robot's EDGES (easier than from the center), and its arrow's direction.
- mountIn(double, double, double) - Method in class com.crossbotics.ftchelper.robot.Odometry
-
OTOS: where it sits: inches forward of the center, inches left, and its arrow's direction (CCW deg).
- move(double, double, double) - Method in class com.crossbotics.ftchelper.drive.AutoDrive
-
Drives a distance in a straight line, robot-relative, without turning.
- move(double, int) - Method in class com.crossbotics.ftchelper.finders.NudgeStep
-
The position one step away.
- move(String, double, double, double) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Drives a distance: direction 0 forward, 90 left, 180 back, -90 right (robot-relative, counterclockwise).
- move(String, double, double, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Drives a distance at an angle, without turning.
- moveAllToGamepad1() - Method in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
Moves every gamepad 2 button of these jobs to the same button on gamepad 1 (one driver: there is no gamepad 2).
- moveMaxTurnPower - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
moveWithTurn: largest heading-correction power, so moving stays the main job.
- moveMinPower - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
Slowest translation power near the end of a move.
- moveScale(DoubleSupplier) - Method in class com.crossbotics.ftchelper.drive.DriverControls
-
Multiplies forward and strafe by this every loop, 0 to 1 (1 = unchanged, the default).
- moveSec(double, double, boolean) - Method in class com.crossbotics.ftchelper.robot.Parts.ServoPart
-
About how long a move between two positions takes, from the seller's speed with no load: for example how long a feed stop takes to open (goBILDA 2000 speed, 0.150 to 0.550 on the normal range: 108 degrees at 0.11 s per 60 = 0.20 s).
- moveTo(double, double, double) - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
-
Puts the device's pose here (its own frame: x forward, y left, inches; heading degrees).
- moveTo(double, PidController) - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
Moves toward a target position with a PID controller.
- MoveTunerOpMode - Class in com.crossbotics.ftchelper.finders
-
Measures how exactly the autonomous moves stop and the turns end, and suggests the numbers in
Tunables.Drive(orRobotSettings.auto()). - MoveTunerOpMode() - Constructor for class com.crossbotics.ftchelper.finders.MoveTunerOpMode
- moveTurnScale - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
moveWithTurn: heading correction is multiplied by this before mixing.
- moveWithTurn(double, double, double, double, double) - Method in class com.crossbotics.ftchelper.drive.AutoDrive
-
Drives a distance in a FIELD direction while turning to a heading at the same time.
- moveWithTurn(String, double, double, double, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Drives in a straight line AND turns at the same time (mecanum only: a tank drive cannot drive sideways, so it cannot do this; use
Steps.move(java.lang.String, double, double, double)and thenSteps.turnTo(java.lang.String, double, double)). - moveWithTurn(String, double, double, double, double, double) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Drives in a field direction while turning to a heading (mecanum only).
- MovingShot - Class in com.crossbotics.ftchelper.vision
-
The math for shooting while the robot drives and turns.
- MovingShot() - Constructor for class com.crossbotics.ftchelper.vision.MovingShot
- MovingShot.Result - Class in com.crossbotics.ftchelper.vision
-
What
MovingShot.solve(double, double, double, double, double, double)gives: where to aim, how far to shoot, and how big the lead is. - movingShotMode() - Method in class com.crossbotics.ftchelper.robot.Aim
-
Shooting on the move: while it is on, the goal every part gets is corrected for the robot's motion (the camera picture's age, and the lead for the flight time; see
MovingShot). - MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.finders.AimTunerOpMode
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.robot.Auto
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.finders.CameraFixCheckOpMode
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.finders.CharacterizerOpMode
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.robot.ControlMap
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.finders.DriveTunerOpMode
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.auto.EasyAuto
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.teleop.EasyTeleOp
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.finders.EncoderCheckOpMode
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.finders.FeedStopFinderOpMode
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.finders.FeedTimeFinderOpMode
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.finders.FinderOpMode
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.finders.FlywheelFinderOpMode
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.testing.HardwareCheckOpMode
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.finders.HoodFinderOpMode
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.finders.MotorDirectionCheckOpMode
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.finders.MotorFinderOpMode
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.finders.MoveTunerOpMode
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.finders.OdometryTunerOpMode
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.finders.PieceTunerOpMode
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.finders.ServoFinderOpMode
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
- MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED - Static variable in class com.crossbotics.ftchelper.finders.TuneAndCheckOpMode
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.finders.AimTunerOpMode
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.robot.Auto
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.finders.CameraFixCheckOpMode
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.finders.CharacterizerOpMode
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.robot.ControlMap
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.finders.DriveTunerOpMode
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.auto.EasyAuto
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.finders.EncoderCheckOpMode
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.finders.FeedStopFinderOpMode
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.finders.FeedTimeFinderOpMode
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.finders.FinderOpMode
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.finders.FlywheelFinderOpMode
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.testing.HardwareCheckOpMode
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.finders.HoodFinderOpMode
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.finders.MotorDirectionCheckOpMode
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.finders.MotorFinderOpMode
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.finders.MoveTunerOpMode
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.finders.OdometryTunerOpMode
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.finders.PieceTunerOpMode
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.finders.ServoFinderOpMode
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
-
Deprecated.
- msStuckDetectStop - Variable in class com.crossbotics.ftchelper.finders.TuneAndCheckOpMode
-
Deprecated.
- mt1XIn - Variable in class com.crossbotics.ftchelper.vision.LimelightTags.FieldSighting
- mt1YawDeg - Variable in class com.crossbotics.ftchelper.vision.LimelightTags.FieldSighting
- mt1YIn - Variable in class com.crossbotics.ftchelper.vision.LimelightTags.FieldSighting
- mt2XIn - Variable in class com.crossbotics.ftchelper.vision.LimelightTags.FieldSighting
- mt2YIn - Variable in class com.crossbotics.ftchelper.vision.LimelightTags.FieldSighting
N
- name - Variable in class com.crossbotics.ftchelper.robot.EncoderMotor
-
The motor's configuration name, e.g.
- name - Variable in class com.crossbotics.ftchelper.robot.Feature
-
What it is called: "Fire 2", "Aim at the goal".
- name - Variable in class com.crossbotics.ftchelper.vision.TagGroup
-
The group's name, as the target's name (the SDK's cluster name for this season's field).
- name - Variable in class com.crossbotics.ftchelper.vision.TargetObservation
-
A name to show on the screen, e.g.
- name() - Method in class com.crossbotics.ftchelper.auto.PathEvent
-
The name given, for the report.
- name() - Method in interface com.crossbotics.ftchelper.core.Subsystem
-
The name shown in telemetry and in the hardware check.
- name() - Method in class com.crossbotics.ftchelper.launcher.Flywheel
- name() - Method in class com.crossbotics.ftchelper.launcher.Launcher
- name() - Method in class com.crossbotics.ftchelper.launcher.MotorFeeder
- name() - Method in class com.crossbotics.ftchelper.launcher.ServoFeeder
- name() - Method in class com.crossbotics.ftchelper.launcher.Turret
- name() - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
- name() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
- name() - Method in class com.crossbotics.ftchelper.mechanism.SpinMotor
- name() - Method in class com.crossbotics.ftchelper.mechanism.SpinServo
- name() - Method in class com.crossbotics.ftchelper.odometry.PoseTracker
- name() - Method in class com.crossbotics.ftchelper.robot.Action
-
The name given to
Action.named(java.lang.String). - name() - Method in class com.crossbotics.ftchelper.robot.Interlock
-
The rule's name: its section in
Tunables.java. - name() - Method in class com.crossbotics.ftchelper.robot.Mode
-
E.g.
- name() - Method in class com.crossbotics.ftchelper.robot.Module
-
The name shown on the Driver Station and the Tunables section: "Lift", "IntakeDeploy".
- name() - Method in class com.crossbotics.ftchelper.robot.PathAt
-
The name shown in the report (the label, or the action's name).
- name() - Method in class com.crossbotics.ftchelper.teleop.Key
-
The button's name as the button map writes it: "BACK", "LT", "D-pad up", "left stick click".
- name() - Method in class com.crossbotics.ftchelper.tuning.Tunable
-
The full name, e.g.
- name() - Method in class com.crossbotics.ftchelper.vision.HuskyLensCamera
- name() - Method in class com.crossbotics.ftchelper.vision.LimelightTags
- name() - Method in class com.crossbotics.ftchelper.vision.WebcamTags
- name(int, String) - Static method in class com.crossbotics.ftchelper.gamepad.ButtonNames
-
One button's name on gamepad 1 or 2: "A" or "×", "START" or "OPTIONS".
- name(String) - Method in class com.crossbotics.ftchelper.robot.Shape
-
Its name in the robot file (default: the part's configuration name, then name_2, name_3...).
- NAME - Static variable in class com.crossbotics.ftchelper.finders.TuneAndCheckOpMode
-
The name on the Driver Station.
- named(String) - Static method in class com.crossbotics.ftchelper.robot.Action
-
Starts a new action.
- nameIn(ButtonNames.Style, String) - Static method in class com.crossbotics.ftchelper.gamepad.ButtonNames
-
One button's name on a controller of this kind.
- names() - Method in class com.crossbotics.ftchelper.robot.Odometry
-
The configuration names, in the order written.
- nanos() - Static method in class com.crossbotics.ftchelper.core.Time
-
The time now, nanoseconds (only differences mean anything).
- near(double, double, double, Action) - Static method in class com.crossbotics.ftchelper.robot.PathAt
-
PathAt.near(double, double, double, String, Runnable)with an action from Actions.java. - near(double, double, double, String, Runnable) - Static method in class com.crossbotics.ftchelper.robot.PathAt
-
When the robot (its center, from the odometry) comes within
withinInof a field point. - needs - Variable in class com.crossbotics.ftchelper.robot.Feature
-
What it needs, in words: "a launcher", "a camera with goal(...), or odometry + Tunables.Aim goalX, goalY".
- needs(Module<?>...) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
This button's job needs these parts: while one of them is not on the robot (marked
optional()in Robot.java and not in the configuration), the button does nothing and the button map shows "off: IntakeDeploy not on the robot". - needs(Module<?>...) - Method in class com.crossbotics.ftchelper.robot.Pad.Stick
-
This stick's job needs these parts: while one is not on the robot (
optional()in Robot.java, not in the configuration) the stick does nothing and the map says "off". - newRobot() - Method in class com.crossbotics.ftchelper.robot.Auto
-
Makes a new robot: the class named in
extends Auto<Robot>. - newSession() - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
A new camera session (the camera was closed and started again): everything as new, INIT again.
- next() - Method in class com.crossbotics.ftchelper.finders.Chooser
-
Moves the choice down one (wraps from the last to the first).
- next() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
The next named position in the order you added them (wraps around).
- next() - Method in class com.crossbotics.ftchelper.robot.Pieces
-
The kind of the next piece to fire: a kind,
Pieces.UNKNOWN, orPieces.NONEwhen empty. - next() - Method in class com.crossbotics.ftchelper.robot.Positioner
-
The next position, in the order written in Tunables.java (after the last comes the first).
- next() - Method in class com.crossbotics.ftchelper.robot.Wrist
-
The next position (by value; after the last comes the first).
- nextIs(String) - Method in class com.crossbotics.ftchelper.robot.Pieces
-
True if the next piece to fire is this kind.
- nextKind() - Method in class com.crossbotics.ftchelper.robot.Pieces
-
Pieces.next()as aSupplier<String>, for a part that asks every loop (a shot table chooser). - nextTable() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The next shot table (after the last, the first again), for a button.
- NO_ODOMETRY - Enum constant in enum class com.crossbotics.ftchelper.drive.AutoDrive.Result
-
Did not move, or stopped: the odometry is not working (a cable, a fault).
- NO_ODOMETRY - Enum constant in enum class com.crossbotics.ftchelper.drive.RouteDriver.Result
-
The odometry stopped working for more than 0.2 s: it cannot know where it is.
- NO_PICTURE - Static variable in class com.crossbotics.ftchelper.vision.LightingSweep
-
Give this to
LightingSweep.update(int)when there is no new picture. - noBatteryCompensation() - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
Battery compensation off: the hub gets F exactly as tuned (the default).
- noImu() - Method in class com.crossbotics.ftchelper.robot.Drive
-
No IMU: TeleOp drives robot-centric only, and autonomous refuses to start.
- NOMINAL_VOLTS - Static variable in class com.crossbotics.ftchelper.control.Feedforward
-
The battery voltage the numbers are for.
- NOMINAL_VOLTS - Static variable in class com.crossbotics.ftchelper.finders.CharacterizeMath
-
Battery voltage the numbers are for (a full battery).
- NONE - Enum constant in enum class com.crossbotics.ftchelper.robot.Aim.Source
-
neither: no fresh picture, and no odometry (or no goal point)
- NONE - Static variable in class com.crossbotics.ftchelper.robot.Pieces
-
No piece.
- normalize(double[], double) - Static method in class com.crossbotics.ftchelper.util.MathUtil
-
Scales a group of numbers down together so that none is bigger than
limit. - NOT_SEEN - Enum constant in enum class com.crossbotics.ftchelper.robot.Aim.Stage
-
The robot cannot aim (no camera with a goal, no odometry goal point), or no goal now.
- noTagsYet() - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
True while it is still looking for tags (a round found none: the robot should face a tag).
- notConfigured(String...) - Method in class com.crossbotics.ftchelper.testkit.PretendDevices
-
These names are NOT in the configuration: asking for one stops (like the real hardwareMap), and an
optional()part that uses one is off. - note - Variable in class com.crossbotics.ftchelper.robot.Feature
-
A short note ("" = none): "with a tank drive: forward and back only".
- note(ShotPoints.Saved) - Static method in class com.crossbotics.ftchelper.finders.ShotPoints
-
"4/5 in, measured 2530 RPM" for a saved point, or "" when nothing was counted or measured.
- note(String) - Method in interface com.crossbotics.ftchelper.auto.AutoContext
-
Adds a note to this step's line in the end-of-autonomous report, e.g.
- note(String) - Method in class com.crossbotics.ftchelper.robot.Shape
-
Where a number came from, written after the line ("est.
- notes() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Notes for INIT: missing Tunables sections or fields (the library's defaults are used).
- notTunedHelp() - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
What to do when the drive is not tuned, shown on the Driver Station instead of running.
- notTunedHelp() - Method in class com.crossbotics.ftchelper.robot.Auto
- nudge(double, double) - Method in class com.crossbotics.ftchelper.odometry.PoseTracker
-
Moves the pose by a small correction (inches, our frame), keeping the heading, the speed and
PoseTracker.isPoseSet()as they are: the camera fix uses it, so a correction is not read as a jump (setPose would set the speed to 0 and restart the dead-wheel difference). - NudgeStep - Class in com.crossbotics.ftchelper.finders
-
The step size for nudging a servo in a finder: D-pad up/down moves the servo by the step, D-pad left/right makes the step smaller/bigger.
- NudgeStep() - Constructor for class com.crossbotics.ftchelper.finders.NudgeStep
- num(double, int) - Static method in class com.crossbotics.ftchelper.finders.FinderResults
-
A number as text with this many decimals, always with a "." (whatever the phone's language).
- num(double, int) - Static method in class com.crossbotics.ftchelper.telemetry.TelemetryHelper
-
Formats a number with a fixed number of decimals, e.g.
- number - Variable in class com.crossbotics.ftchelper.vision.LimelightTags.FieldSighting
-
Counts up with each new picture: a new number = a new picture.
- number(String, double, double) - Static method in class com.crossbotics.ftchelper.tuning.Tunable
-
Makes a tunable number, or returns the existing one with this name.
O
- objects() - Method in class com.crossbotics.ftchelper.robot.Camera
-
HuskyLens: look for the ONE object you taught it, not AprilTags.
- OBJECTS - Enum constant in enum class com.crossbotics.ftchelper.vision.HuskyLensCamera.Mode
-
ONE object you teach (OBJECT_TRACKING): the HuskyLens can track only one.
- odometry() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
The odometry as running (null before setup, or with no odometry(...) line).
- odometry(Odometry) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
The odometry: what tells the robot where it is on the field (see
Odometry). - Odometry - Class in com.crossbotics.ftchelper.robot
-
The robot's odometry, one line in
Robot.java: what tells the robot where it is on the field. - ODOMETRY - Enum constant in enum class com.crossbotics.ftchelper.robot.Aim.Source
-
worked out from the odometry (where the robot is) and Tunables.Aim's goal point
- ODOMETRY - Static variable in class com.crossbotics.ftchelper.vision.TargetObservation
-
The id of a target worked out from the ODOMETRY (where the robot is and where the goal is on the field), not seen by a camera.
- ODOMETRY_LOST_SEC - Static variable in class com.crossbotics.ftchelper.drive.AutoDrive
-
Drives to a point on the field and turns to a heading at the same time, using odometry (mecanum only).
- odometryChecked() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
True once
Tunables.Odometry.checked = true: the odometry's directions and offsets were checked with the Odometry Tuner. - odometryProblem() - Method in class com.crossbotics.ftchelper.robot.Aim
-
Why the odometry backup is off now, in a few words for the Driver Station; "" when it works (or the robot has no odometry or no goal point: then there is nothing to warn about).
- odometrySpec() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
The odometry as written in define() (null if none).
- OdometryTunerOpMode - Class in com.crossbotics.ftchelper.finders
-
Checks and measures the odometry of the robot in five files (docs: Add odometry): which way each pod counts, how far it measures, and where the pods sit (the offsets).
- OdometryTunerOpMode() - Constructor for class com.crossbotics.ftchelper.finders.OdometryTunerOpMode
- of(DcMotorEx) - Static method in class com.crossbotics.ftchelper.hardware.MotorSetup
-
Starts the setup for a motor you already have.
- of(HardwareMap) - Static method in interface com.crossbotics.ftchelper.robot.Devices
-
The robot's devices, from the OpMode's hardwareMap.
- of(Servo) - Static method in class com.crossbotics.ftchelper.hardware.ServoSetup
-
Starts the setup for a servo you already have.
- of(String, double, double, double, double) - Static method in class com.crossbotics.ftchelper.tuning.PidTunables
-
Makes the four tunables "group/kP" ...
- of(DoubleSupplier, Runnable, boolean) - Static method in class com.crossbotics.ftchelper.drive.DriverHeading
-
A driver heading from your own source, e.g.
- off() - Method in class com.crossbotics.ftchelper.robot.Mode
-
Switches it off.
- OFF - Enum constant in enum class com.crossbotics.ftchelper.launcher.Launcher.State
- OFF - Enum constant in enum class com.crossbotics.ftchelper.robot.LightColor
-
Dark.
- offer(double, double, long, long, int, double, double) - Method in class com.crossbotics.ftchelper.odometry.CameraPoseFix
-
One NEW picture's position (the Limelight's frame, inches): the correction to add to the odometry, or why not.
- offset(double) - Method in class com.crossbotics.ftchelper.vision.AimController
-
Where the target should sit in the camera's view when the LAUNCHER points straight at it, in degrees (positive = the target appears left of the camera's center).
- offsetsMm(double, double) - Method in class com.crossbotics.ftchelper.robot.Odometry
-
Pinpoint: where the pods sit, in mm (the Odometry Tuner measures them).
- ok() - Method in class com.crossbotics.ftchelper.finders.CharacterizeMath.Fit
-
True when the fit can be used: a speed number was found and it matches the log well enough.
- on() - Method in class com.crossbotics.ftchelper.robot.Mode
-
Switches it on (from code: never refused).
- on(Module<?>) - Method in class com.crossbotics.ftchelper.robot.Shape
-
Rides on another part's (first) shape: it moves with it, and
atMmis from that shape's hinge or middle. - on(String) - Method in class com.crossbotics.ftchelper.robot.Shape
-
Rides on a shape by its name in the robot file (a
Shape.box(java.lang.String), or a part's second shape). - onAtStart() - Method in class com.crossbotics.ftchelper.robot.Intake
-
Starts running in at START (in autonomous and TeleOp), until stopped.
- oneDriver() - Method in class com.crossbotics.ftchelper.robot.ControlMap
-
True if this class has
public static boolean oneDriver = true. - oneDriver() - Static method in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
The one-driver defaults (Controls.java with
oneDriver = true): no slow trigger (the triggers are the operator's), slow on/off on the left stick click, field-centric on the right stick click. - onFeed(Runnable) - Method in class com.crossbotics.ftchelper.robot.Indexer
-
Runs
listenereach time a feed starts (a call while busy is not a feed). - onlyIf(String) - Method in class com.crossbotics.ftchelper.robot.Steps
-
The steps up to
Steps.end()run only if the yes/no choice is "yes". - onlyIf(String, String) - Method in class com.crossbotics.ftchelper.robot.Steps
-
The steps up to
Steps.end()run only if this option was chosen. - onPad(ControllerBindings.Pad) - Method in class com.crossbotics.ftchelper.teleop.Key
-
The same button on the other gamepad's place:
onPad(G1)of G2 X is G1 X. - onStart() - Method in class com.crossbotics.ftchelper.robot.ControlMap
- onStart() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
Runs once, right after START, before the first loop.
- onTurret() - Method in class com.crossbotics.ftchelper.vision.MovingShot
-
A turret aims the shot:
MovingShot.Result.aimDegis the turret angle. - open() - Method in class com.crossbotics.ftchelper.robot.Claw
-
Opens it (goes to "open").
- openHelp() - Method in class com.crossbotics.ftchelper.finders.FinderOpMode
-
Opens the help page (e.g.
- optional() - Method in class com.crossbotics.ftchelper.robot.Module
-
This part may not be on the robot yet.
- ORANGE - Enum constant in enum class com.crossbotics.ftchelper.robot.LightColor
-
Orange.
- other() - Method in enum class com.crossbotics.ftchelper.match.Alliance
-
The other alliance.
- OTHER_SETTING - Static variable in class com.crossbotics.ftchelper.vision.LightingSweep
-
Give this to
LightingSweep.update(int)for a new picture taken with another setting (the one before). - otherwise(LightColor) - Method in class com.crossbotics.ftchelper.robot.Lights
-
The color when no rule is true (OFF if you never say).
- otos(String) - Static method in class com.crossbotics.ftchelper.robot.Odometry
-
A SparkFun OTOS (I2C port).
- OtosOdometry - Class in com.crossbotics.ftchelper.odometry
-
Odometry from a SparkFun OTOS (Optical Tracking Odometry Sensor): a camera-like sensor under the robot that watches the floor move, with its own IMU.
- OtosOdometry(String, SparkFunOTOS, double, double, double, double, double) - Constructor for class com.crossbotics.ftchelper.odometry.OtosOdometry
-
Sets the OTOS up, calibrates its IMU and zeroes it (the robot must be still; INIT is).
- ourHeading(double) - Method in class com.crossbotics.ftchelper.odometry.CameraPoseFix
-
Our heading for a Limelight yaw: yaw + turnDeg - 90.
- out() - Method in class com.crossbotics.ftchelper.mechanism.SpinMotor
-
Spin OUT.
- out() - Method in class com.crossbotics.ftchelper.robot.Intake
-
Runs out until
Intake.stop()orIntake.in(). - OUT - Enum constant in enum class com.crossbotics.ftchelper.mechanism.SpinMotor.State
- outForStep(double) - Method in class com.crossbotics.ftchelper.mechanism.SpinMotor
-
A step: run OUT for some seconds, then stop (e.g.
- outOn(Pad.Button) - Method in class com.crossbotics.ftchelper.robot.Intake
-
Puts "out" on
button, inControls.java(the intake's usual LT): pushes out while held, then stops (withonAtStart(): then goes back to what it was doing). - outsideRangeNotes(Collection<String>) - Static method in class com.crossbotics.ftchelper.tuning.Tunable
-
INIT notes for code values outside their allowed range, e.g.
- outStep() - Method in class com.crossbotics.ftchelper.mechanism.SpinMotor
-
A step: start spinning OUT and go straight on.
P
- pad() - Method in class com.crossbotics.ftchelper.teleop.Key
-
Which gamepad.
- Pad - Class in com.crossbotics.ftchelper.robot
-
One gamepad in
Controls.java: every button and stick, by name. - Pad.Button - Class in com.crossbotics.ftchelper.robot
-
One button or trigger.
- Pad.Stick - Class in com.crossbotics.ftchelper.robot
-
One stick direction: up and right are +, from -1 to 1.
- pairedServos() - Method in class com.crossbotics.ftchelper.finders.ServoFinderOpMode
-
The robot's two-servo parts (
alsoServo...in Robot.java): each first servo's name, and its second servo's name with "mirrored" or not. - parallelLeftIn(double) - Method in class com.crossbotics.ftchelper.robot.Odometry
-
Two dead wheels: how far LEFT of the center the forward-measuring pod is, inches (right = negative).
- parkReserveSec() - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
Seconds kept at the end for the steps after
thenPark(). - parkReserveSec() - Method in class com.crossbotics.ftchelper.robot.Auto
- parkWithSeconds(double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
The steps after this are PARK steps, and they get the last
secondsof autonomous: when only that many seconds are left, the step running before it stops at once and the rest before it are skipped; the park steps always run. - part - Variable in class com.crossbotics.ftchelper.robot.EncoderMotor
-
The part it belongs to, e.g.
- part() - Method in class com.crossbotics.ftchelper.auto.PathEvent.Progress
-
The part it drives now, counting from 1 (0 when the follower does not say).
- part() - Method in class com.crossbotics.ftchelper.robot.Hood
-
The hood as an
AngleDevice(what the launcher drives), for anything this module does not offer. - part() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The launcher.Launcher inside, for anything this module does not offer.
- part() - Method in class com.crossbotics.ftchelper.robot.MotorPositions
-
The PositionMotor inside, for anything this module does not offer.
- part() - Method in class com.crossbotics.ftchelper.robot.ServoPositions
-
The PositionServo inside, for anything this module does not offer.
- part() - Method in class com.crossbotics.ftchelper.robot.Turret
-
The launcher.Turret inside, for anything this module does not offer.
- part() - Method in class com.crossbotics.ftchelper.robot.Zone
-
The part, or null for a
when(java.lang.String, java.util.function.BooleanSupplier)condition. - part(int, Action) - Static method in class com.crossbotics.ftchelper.robot.PathAt
-
PathAt.part(int, String, Runnable)with an action from Actions.java. - part(int, String, Runnable) - Static method in class com.crossbotics.ftchelper.robot.PathAt
-
When part
nof a path made withthen(...)starts (part 1 = the start). - part(String) - Method in class com.crossbotics.ftchelper.robot.Module
-
The main device's parts catalog id: a motor (
Motors, e.g. - partId() - Method in class com.crossbotics.ftchelper.robot.Module
-
The parts catalog id given with
part(...)in Robot.java, or null. - partNow() - Method in interface com.crossbotics.ftchelper.auto.PathJob
-
Which part of the path it drives now, counting from 1.
- partNow() - Method in interface com.crossbotics.ftchelper.robot.PathFollower
-
Which part of the running path the follower drives now, counting from 1 (
PathAt.part(int, java.lang.String, java.lang.Runnable)). - parts(Object) - Method in interface com.crossbotics.ftchelper.robot.PathFollower
-
How many parts a path has (a path made with
then(...)has more than one), or 0 (the default) when this follower cannot tell. - Parts - Class in com.crossbotics.ftchelper.robot
-
The wheels and rollers (and the servos' turn and pulse range) of the simulator's parts catalog (
sim/parts/parts.json, docs/guides/parts-catalog.md), by the same ids: "gobilda-hogback-96", "offset-tubing-90"... - Parts.ServoPart - Class in com.crossbotics.ftchelper.robot
-
One servo: how far it turns and over which pulse.
- Parts.Wheel - Class in com.crossbotics.ftchelper.robot
-
One wheel or roller: its size in millimeters.
- PASS_POINT_IN - Static variable in class com.crossbotics.ftchelper.drive.RouteDriver
-
A point on the way (not the last one) counts as reached within this many inches.
- passive() - Method in class com.crossbotics.ftchelper.robot.Shape
-
Moved by gravity or springs, not by the code (a floating intake, a sprung flywheel mount).
- PathAt - Class in com.crossbotics.ftchelper.robot
-
Something to start at a place ALONG a path, while the robot keeps driving: spin up the launcher 12 in before the end, start the intake halfway, stop it where part 2 of the path starts.
- PathEvent - Class in com.crossbotics.ftchelper.auto
-
Something to do once while a path or a
driveToruns, when the robot gets to a place along it: "spin up the launcher 12 in before the end". - PathEvent(String, Predicate<PathEvent.Progress>, Runnable) - Constructor for class com.crossbotics.ftchelper.auto.PathEvent
- PathEvent.Progress - Class in com.crossbotics.ftchelper.auto
-
Where the robot is along the path, worked out every loop (read-only).
- PathFollower - Interface in com.crossbotics.ftchelper.robot
-
A path follower from another library (Pedro Pathing, through the ftc-helper-lib "pedro" module), plugged into the robot in five files:
follower(Pedro.follower(...))in Robot.java, thens.follow("To the goal", path)in an autonomous. - PathFollower.Maker - Interface in com.crossbotics.ftchelper.robot
-
Makes the follower at INIT, from the robot's devices (after its drive and odometry are set up).
- PathJob - Interface in com.crossbotics.ftchelper.auto
-
A path that another library drives (Pedro Pathing, through the pedro module), as one autonomous step:
AutoRoutine.followPath(java.lang.String, com.crossbotics.ftchelper.auto.PathJob, double). - pause() - Method in class com.crossbotics.ftchelper.finders.AimTunerOpMode
- pause() - Method in class com.crossbotics.ftchelper.finders.CameraFixCheckOpMode
- pause() - Method in class com.crossbotics.ftchelper.finders.DriveTunerOpMode
- pause() - Method in class com.crossbotics.ftchelper.finders.FinderOpMode
-
Stops what moves, while the help page is open (the finder's buttons pause then).
- pause() - Method in class com.crossbotics.ftchelper.finders.FlywheelFinderOpMode
- pause() - Method in class com.crossbotics.ftchelper.finders.MoveTunerOpMode
- pause() - Method in class com.crossbotics.ftchelper.finders.OdometryTunerOpMode
- pause() - Method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
- pause(Key) - Method in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
Pause / go on.
- PAUSE - Enum constant in enum class com.crossbotics.ftchelper.teleop.LibraryButtons.Job
- pauseAll() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Pauses the whole robot: every part stops now with its motors on brake (actions wait), and remembers what it was doing.
- pauseState() - Method in class com.crossbotics.ftchelper.robot.ControlMap
- pauseState() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
How to read "the robot is paused now", or null (default).
- peek() - Static method in class com.crossbotics.ftchelper.util.PoseStore
-
Returns a copy of the saved pose and keeps it saved.
- pending() - Method in class com.crossbotics.ftchelper.telemetry.RobotTelemetry
-
The lines waiting to be sent, as text (used by tests and the hardware check).
- perpForwardIn(double) - Method in class com.crossbotics.ftchelper.robot.Odometry
-
Dead wheels: how far FORWARD of the center the sideways-measuring pod is, inches (back = negative).
- pick(boolean, boolean) - Static method in enum class com.crossbotics.ftchelper.core.Profile
-
Same as
Profile.pick(Object, Object)for true/false. - pick(double, double) - Static method in enum class com.crossbotics.ftchelper.core.Profile
-
Same as
Profile.pick(Object, Object)for numbers (no boxing). - pick(double, double) - Method in enum class com.crossbotics.ftchelper.match.Alliance
-
Same as
Alliance.pick(Object, Object)for numbers. - pick(int, int) - Method in enum class com.crossbotics.ftchelper.match.Alliance
-
Same as
Alliance.pick(Object, Object)for whole numbers. - pick(T, T) - Static method in enum class com.crossbotics.ftchelper.core.Profile
-
One value for practice, another for competition.
- pick(T, T) - Method in enum class com.crossbotics.ftchelper.match.Alliance
-
One value for blue, another for red.
- PICTURE_HEIGHT - Static variable in class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
The picture's size in pixels: the boxes are in the camera's 320 x 240 screen (FTC docs).
- PICTURE_WIDTH - Static variable in class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
The picture's size in pixels: the boxes are in the camera's 320 x 240 screen (FTC docs).
- pictures(int) - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
How many pictures to look at per setting (default 10).
- picturesOf(int) - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
How many pictures were counted with setting i in its last try.
- pictureTimeNanos(long, long, double, double, double) - Static method in class com.crossbotics.ftchelper.vision.LimelightTags
-
When the picture was really taken: now, minus the time since the hub got the result (staleness), minus the Limelight's own capture, processing and parse time.
- pid(double, double, double, double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
PID gains (see docs/modules/control.md).
- pid(double, double, double, double) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
PID gains (see docs/modules/control.md; tutorial 07 tunes them on a lift).
- PidController - Class in com.crossbotics.ftchelper.control
-
A PID controller: it works out how much power to give so a value reaches a target.
- PidController(double, double, double) - Constructor for class com.crossbotics.ftchelper.control.PidController
-
Makes a controller with no feedforward.
- PidController(double, double, double, double) - Constructor for class com.crossbotics.ftchelper.control.PidController
-
Makes a controller with a fixed feedforward push.
- PidController(double, double, double, double, LongSupplier) - Constructor for class com.crossbotics.ftchelper.control.PidController
-
Makes a controller with your own clock.
- pidf - Variable in class com.crossbotics.ftchelper.testkit.PretendMotor
-
The last
setVelocityPIDFCoefficientsgains {p, i, d, f}, or null. - pidf(double, double, double, double) - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
The hub's speed-control gains (P, I, D, F).
- PidTunables - Class in com.crossbotics.ftchelper.tuning
-
The four PID gains of one controller as
Tunables, in one line. - pieceIn(String) - Method in class com.crossbotics.ftchelper.robot.Pieces
-
One more piece of this kind came in (the intake sensor calls this; a claw can too).
- pieceOut() - Method in class com.crossbotics.ftchelper.robot.Pieces
-
One piece went out, the next to fire (for a part that sends pieces out itself).
- Pieces - Class in com.crossbotics.ftchelper.robot
-
Counts the game pieces the robot holds and knows the kind of the NEXT one to fire.
- PieceSensor - Class in com.crossbotics.ftchelper.robot
-
A sensor that looks at ONE spot (the intake's mouth, or the "ready to fire" slot) and says which game piece is there: one of your kinds ("POLLEN"),
Pieces.UNKNOWN(a piece, but not one it knows), orPieces.NONE. - PieceTunerOpMode - Class in com.crossbotics.ftchelper.finders
-
The Piece Tuner: shows what each
PieceSensorof your robot reads, and measures the numbers it needs. - PieceTunerOpMode() - Constructor for class com.crossbotics.ftchelper.finders.PieceTunerOpMode
- pinpoint(String) - Static method in class com.crossbotics.ftchelper.robot.Odometry
-
A goBILDA Pinpoint (I2C port), with goBILDA 4-bar pods unless you say otherwise.
- pinpoint(String) - Method in class com.crossbotics.ftchelper.testkit.PretendDevices
-
The pretend goBILDA Pinpoint with this name (made now if needed).
- PinpointOdometry - Class in com.crossbotics.ftchelper.odometry
-
Odometry from a goBILDA Pinpoint: a small computer on an I2C port that reads two odometry pods and its own IMU and works out the pose itself, about 1500 times a second.
- PinpointOdometry(String, GoBildaPinpointDriver, double, double, GoBildaPinpointDriver.GoBildaOdometryPods, double, boolean, boolean) - Constructor for class com.crossbotics.ftchelper.odometry.PinpointOdometry
-
Sets the Pinpoint up and zeroes it (the robot must be still for about a quarter second; INIT is).
- pipeline(int) - Method in class com.crossbotics.ftchelper.vision.LimelightTags
-
The pipeline to use (set up on the Limelight's web page).
- pitchDeg(double) - Method in class com.crossbotics.ftchelper.vision.LimelightTags
-
How far the Limelight is tilted up (degrees, + = up, 0 = level, the default).
- pitchDeg(double) - Method in class com.crossbotics.ftchelper.vision.WebcamTags
-
How far the camera is tilted up (degrees, + = up, 0 = level, the default).
- placement() - Static method in class com.crossbotics.ftchelper.match.MatchMemory
-
Where the running autonomous wants the robot placed (field frame, see
MatchMemory.fieldPose(com.crossbotics.ftchelper.match.Alliance, double, double, double)), and its note for the drive team; null if it did not say. - placementAsWritten() - Static method in class com.crossbotics.ftchelper.match.MatchMemory
-
The start spot as the team wrote it, in words ("" if not given); see
MatchMemory.setPlacement(FieldPose, String, String). - placementNote() - Static method in class com.crossbotics.ftchelper.match.MatchMemory
-
The drive team's note for
MatchMemory.placement()("" if none). - play(boolean) - Method in class com.crossbotics.ftchelper.gamepad.ToggleRumble
-
Plays the confirmation.
- PLAY - Static variable in class com.crossbotics.ftchelper.gamepad.ButtonNames
-
The Driver Hub's start button (the â–¶ that starts the OpMode after INIT).
- PLAYSTATION - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ButtonNames.Style
-
×, ○, □, △, L1, R1, L2, R2, SHARE, OPTIONS, PS: PS4, PS5 and PS-style controllers.
- podsFromEdges() - Method in class com.crossbotics.ftchelper.robot.Odometry
-
True if the Pinpoint pods are written with
Odometry.podsFromEdgesMm(double, double)(for the Odometry Tuner's advice). - podsFromEdgesMm(double, double) - Method in class com.crossbotics.ftchelper.robot.Odometry
-
Pinpoint: where the pods sit, measured from the robot's EDGES (easier than from the center).
- podsSwingarm() - Method in class com.crossbotics.ftchelper.robot.Odometry
-
goBILDA swingarm pods instead of 4-bar pods.
- podTicksPerMm() - Method in class com.crossbotics.ftchelper.robot.Odometry
-
Pod encoder counts per mm.
- points() - Method in class com.crossbotics.ftchelper.finders.ShotPoints
-
The saved shots, nearest first (a copy).
- points() - Method in class com.crossbotics.ftchelper.launcher.ShotTable
-
The points, sorted by distance.
- pollRate(int) - Method in class com.crossbotics.ftchelper.vision.LimelightTags
- pose() - Method in class com.crossbotics.ftchelper.odometry.PoseTracker
-
This loop's pose (a copy: changing it does not move the robot).
- pose() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Where the robot is now, from the odometry: x inches right, y inches away from your drivers' wall, heading 0 = facing away, counterclockwise + (the same as autonomous start spots).
- PoseStore - Class in com.crossbotics.ftchelper.util
-
Passes the robot's last pose from Autonomous to TeleOp.
- PoseTracker - Class in com.crossbotics.ftchelper.odometry
-
Where the robot is on the field, from odometry: small wheels ("pods") or a sensor that measure how far the robot moved.
- PoseTracker(String) - Constructor for class com.crossbotics.ftchelper.odometry.PoseTracker
- position - Variable in class com.crossbotics.ftchelper.testkit.PretendMotor
-
The encoder count your test sets;
getCurrentPosition()gives it rounded. - position - Variable in class com.crossbotics.ftchelper.testkit.PretendServo
-
The last position sent, 0 to 1 (NaN = never sent).
- position() - Method in class com.crossbotics.ftchelper.robot.MotorPositions
-
Where it is now, in its units.
- position(String, double) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
Adds a named position, in units, e.g.
- position(String, double) - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
Adds a named raw position, 0 to 1.
- Positioner - Class in com.crossbotics.ftchelper.robot
-
Any servo with named positions: a deploy servo, a fold-out pivot, a gate, a flag.
- PositionMotor - Class in com.crossbotics.ftchelper.mechanism
-
A motor that moves something to named positions and holds it there: a lift, an arm, a slide, a motor-driven claw.
- PositionMotor(String, DcMotorEx) - Constructor for class com.crossbotics.ftchelper.mechanism.PositionMotor
-
Wraps a motor you already set up (brake mode, encoder reset).
- positionReads - Variable in class com.crossbotics.ftchelper.testkit.PretendMotor
-
How many times the encoder was read.
- positions() - Method in class com.crossbotics.ftchelper.robot.MotorPositions
-
The named positions, lowest first.
- positions() - Method in class com.crossbotics.ftchelper.robot.ServoPositions
-
The named positions, in the order it cycles through them.
- positions(double, double) - Method in class com.crossbotics.ftchelper.launcher.ServoFeeder
-
Raw servo positions (0 to 1) for "rest" and "push".
- PositionServo - Class in com.crossbotics.ftchelper.mechanism
-
A normal (positional) servo with named positions: a claw, a wrist, a hood, a gate.
- PositionServo(String, Servo) - Constructor for class com.crossbotics.ftchelper.mechanism.PositionServo
-
Wraps a servo you already have.
- power - Variable in class com.crossbotics.ftchelper.testkit.PretendCRServo
-
The last power sent, -1 to 1.
- power - Variable in class com.crossbotics.ftchelper.testkit.PretendMotor
-
The last power sent (-1 to 1).
- power(double) - Method in class com.crossbotics.ftchelper.launcher.MotorFeeder
-
Power while feeding, -1 to 1.
- power(double) - Method in class com.crossbotics.ftchelper.mechanism.SpinServo
-
The power used by
SpinServo.forward()andSpinServo.backward(), 0 to 1. - power(double, double) - Method in class com.crossbotics.ftchelper.control.Feedforward
-
The power for this speed and acceleration (counts per second, and per second per second), at 12.8 V.
- power(double, double, double) - Method in class com.crossbotics.ftchelper.control.Feedforward
-
The same for the battery you have now: a weaker battery needs more power for the same speed.
- powerLimit - Variable in class com.crossbotics.ftchelper.drive.DriveConfig
-
The largest power any wheel gets, 0 to 1.
- powers(double, double) - Method in class com.crossbotics.ftchelper.mechanism.SpinMotor
-
Powers for IN and OUT, -1 to 1 (OUT is usually negative and a bit gentler).
- powerWrites - Variable in class com.crossbotics.ftchelper.testkit.PretendMotor
-
How many times a power was sent (each is a trip to the hub on a robot).
- PRACTICE - Enum constant in enum class com.crossbotics.ftchelper.core.Profile
-
In the shop: debug telemetry on, tuning menu allowed.
- press(Action) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
Starts the action; pressing again while it runs cancels it.
- press(Runnable) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
Runs
onPressonce each time it is pressed. - press(String, boolean) - Method in class com.crossbotics.ftchelper.testkit.PretendDevices
-
Presses (true) or lets go of (false) a pretend switch: a touch sensor, or a magnetic switch on a digital port (pressed = it reads LOW, like the REV one).
- PretendClock - Class in com.crossbotics.ftchelper.testkit
-
A pretend clock for JUnit tests: the time only moves when your test says so.
- PretendCRServo - Class in com.crossbotics.ftchelper.testkit
-
A pretend continuous-rotation (CR) servo for JUnit tests: it remembers the power it was sent.
- PretendCRServo() - Constructor for class com.crossbotics.ftchelper.testkit.PretendCRServo
- PretendDevices - Class in com.crossbotics.ftchelper.testkit
-
A pretend robot configuration for JUnit tests on a laptop: give it to your
Robotinstead of the hardwareMap, and every motor, servo and switch it asks for is made on the spot. - PretendDevices() - Constructor for class com.crossbotics.ftchelper.testkit.PretendDevices
-
A fresh pretend configuration.
- PretendMotor - Class in com.crossbotics.ftchelper.testkit
-
A pretend motor for JUnit tests on a laptop (no robot): it remembers the power it was sent, and its encoder is a number your test sets.
- PretendMotor() - Constructor for class com.crossbotics.ftchelper.testkit.PretendMotor
-
A new pretend motor at power 0 and position 0.
- PretendPinpoint - Class in com.crossbotics.ftchelper.testkit
-
A pretend goBILDA Pinpoint (odometry computer) for JUnit tests: it says the robot is where your test puts it.
- PretendPinpoint() - Constructor for class com.crossbotics.ftchelper.testkit.PretendPinpoint
-
A pretend Pinpoint at 0, 0, 0.
- PretendServo - Class in com.crossbotics.ftchelper.testkit
-
A pretend servo for JUnit tests: it remembers the position it was sent (NaN = none yet, like a real servo before its first command).
- PretendServo() - Constructor for class com.crossbotics.ftchelper.testkit.PretendServo
-
A new pretend servo on a hub (it can change its pulse range).
- PretendTelemetry - Class in com.crossbotics.ftchelper.testkit
-
A pretend Driver Station screen for JUnit tests: it keeps the last screen sent, one line per entry ("Lift : high 900 ticks", "!! warning").
- PretendTelemetry() - Constructor for class com.crossbotics.ftchelper.testkit.PretendTelemetry
- previous() - Method in class com.crossbotics.ftchelper.finders.Chooser
-
Moves the choice up one (wraps from the first to the last).
- previous() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
The previous named position (wraps around).
- previous() - Method in class com.crossbotics.ftchelper.robot.Wrist
-
The previous position.
- problem() - Method in class com.crossbotics.ftchelper.robot.PieceSensor
-
Why it sees nothing ("" when it works): a sensor or camera that is missing, did not start, or stopped answering.
- PROBLEM_SHOW_SEC - Static variable in class com.crossbotics.ftchelper.launcher.Launcher
-
How long a problem ("gave up: turret aimed") stays as a warning on the Driver Station, seconds.
- problems() - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
Problems to show, one per skipped setting, e.g.
- profile() - Method in class com.crossbotics.ftchelper.match.InitMenu
-
Adds the practice/competition profile choice (saved on the hub when changed).
- Profile - Enum Class in com.crossbotics.ftchelper.core
-
Practice or competition.
- Progress(double, double, double, int) - Constructor for class com.crossbotics.ftchelper.auto.PathEvent.Progress
- pull(Gamepad, Gamepad) - Method in class com.crossbotics.ftchelper.teleop.Key
-
How far it is pressed, 0 to 1: a trigger's pull, or 0/1 for a button.
- pulseMaxUs - Variable in class com.crossbotics.ftchelper.robot.Parts.ServoPart
-
The seller's pulse range, microseconds; NaN = not given (then 500 to 2500 is assumed).
- pulseMinUs - Variable in class com.crossbotics.ftchelper.robot.Parts.ServoPart
-
The seller's pulse range, microseconds; NaN = not given (then 500 to 2500 is assumed).
- pulseRange(double, double) - Method in class com.crossbotics.ftchelper.hardware.ServoSetup
-
Sets the pulse the hub sends for positions 0 and 1 (see
ServoSetup.fullRange()for the usual one). - pulseRange(double, double) - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
Sets the pulse for positions 0 and 1 (microseconds), e.g.
- pulseRangeUs() - Method in class com.crossbotics.ftchelper.robot.Hood
-
The pulse range (microseconds, {low, high}) its servo gets at INIT with
Hood.fullRange(), or null for the SDK's normal range. - pulseUs - Variable in class com.crossbotics.ftchelper.testkit.PretendServo
-
The pulse range set with
.fullRange()({low, high} microseconds), or null (the SDK's 600-2400). - PURPLE - Enum constant in enum class com.crossbotics.ftchelper.robot.LightColor
-
Purple.
- pushedBy(Intake...) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The parts that push a piece into the wheel, in order (e.g.
- pushers() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The parts that push a piece in (
Launcher.pushedBy(com.crossbotics.ftchelper.robot.Intake...)), in order (read only). - pushNow() - Method in class com.crossbotics.ftchelper.robot.Indexer
-
The push position in use now: Tunables push plus the
Indexer.adjustPush(int)trim. - pushSign() - Method in class com.crossbotics.ftchelper.robot.EncoderMotor
-
Which way the check pushes it: +1 = positive power (a lift up from its bottom stop), -1 = negative power (a part whose whole range is below where it starts, e.g.
- pushTicks(int[]) - Static method in class com.crossbotics.ftchelper.finders.FinderMath
-
The wheel count of a push test from each wheel's change in counts.
- put(String, String) - Method in class com.crossbotics.ftchelper.core.SettingsFile
-
Sets a value in memory.
Q
- queued() - Method in class com.crossbotics.ftchelper.util.BackgroundWorker
-
Jobs waiting to run.
- QUICK - Enum constant in enum class com.crossbotics.ftchelper.launcher.Launcher.ShotMode
- quickBand(double) - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
QUICK: after the volley's first piece, feed when the wheel is within this many RPM of its speed.
- quickMaxWait(double) - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
QUICK: after the volley's first piece, feed after waiting this long at most, seconds.
R
- R_STICK_BTN - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Btn
- r2 - Variable in class com.crossbotics.ftchelper.finders.CharacterizeMath.Fit
-
How well the formula matches the log: 1 = perfectly, below 0.9 = be careful.
- range(double, double) - Method in class com.crossbotics.ftchelper.hardware.ServoSetup
-
Limits the servo to part of its travel.
- range(double, double) - Method in class com.crossbotics.ftchelper.robot.Shape
-
A passive arm's hard stops, in degrees (0 = level forward, +90 = straight up).
- range(double, double) - Method in class com.crossbotics.ftchelper.tuning.Tunable
-
Limits the value to a range (the menu will not go past it).
- rangeDeg - Variable in class com.crossbotics.ftchelper.robot.Parts.ServoPart
-
The seller's full turn, degrees, over
Parts.ServoPart.pulseMinUstoParts.ServoPart.pulseMaxUs; NaN = not given. - raw() - Method in class com.crossbotics.ftchelper.telemetry.RobotTelemetry
-
The SDK telemetry inside.
- rawKind() - Method in class com.crossbotics.ftchelper.robot.PieceSensor
-
The latest reading's kind, before the steadyMs wait (the tuner shows it).
- rb - Variable in class com.crossbotics.ftchelper.robot.Pad
-
Bumpers (LB, RB) and triggers (LT, RT; a trigger counts as pressed past half way).
- RB - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Btn
- read() - Method in class com.crossbotics.ftchelper.odometry.DeadWheelOdometry
- read() - Method in class com.crossbotics.ftchelper.odometry.OtosOdometry
- read() - Method in class com.crossbotics.ftchelper.odometry.PinpointOdometry
- read() - Method in class com.crossbotics.ftchelper.odometry.PoseTracker
-
The device's pose in its own frame: {X forward in, Y left in, heading CCW deg}, plus, if it knows, {vX in/s, vY in/s, turn deg/s}.
- readings() - Method in class com.crossbotics.ftchelper.robot.PieceSensor
-
How many fresh readings it has had (the Piece Tuner counts only new ones).
- ready() - Method in class com.crossbotics.ftchelper.robot.Feature
-
True if the robot has what it needs.
- readyAction(double) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
A ready-made action: spins up (the speed from the distance, with
speedFromDistance) and is done when the wheel is at speed and every check passes, or aftertimeoutSec(the report says "timed out"). - readyTimeout(double) - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
Give up the remaining shots if not ready within this many seconds.
- readyToFire(PieceSensor) - Method in class com.crossbotics.ftchelper.robot.Pieces
-
The sensor at the "ready to fire" slot: it says for sure what fires next.
- readyToFireSensor() - Method in class com.crossbotics.ftchelper.robot.Pieces
-
The sensor given with
Pieces.readyToFire(PieceSensor), or null. - readyToLaunch(String, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Spins the launcher up and waits until it is ready to fire (at speed, every check true), at most
timeoutSec. - recalibrateIMU() - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- record(long, double, double) - Method in class com.crossbotics.ftchelper.odometry.CameraPoseFix
-
Every loop: the odometry's pose now (our frame, inches), so a picture can be compared with its own moment.
- recoverySec - Variable in class com.crossbotics.ftchelper.launcher.ShotStats.Shot
-
Seconds from the feed until the wheel was ready again (NaN while it is not, or if the next piece came first).
- RED - Enum constant in enum class com.crossbotics.ftchelper.match.Alliance
- RED - Enum constant in enum class com.crossbotics.ftchelper.robot.LightColor
-
Red.
- registerExtraButton(ControllerBindings.Pad, ControllerBindings.Btn, BooleanSupplier) - Method in class com.crossbotics.ftchelper.gamepad.ControllerBindings
-
Lets you bind extra paddles (M1, M2) on controllers that have them.
- release(Runnable) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
Runs
onReleaseonce each time it is let go. - releaseAll() - Method in class com.crossbotics.ftchelper.gamepad.ControllerBindings
-
Acts as if every button and trigger were let go now: "release" actions run for buttons that are down, and
ControllerBindings.bindTriggerAxis(com.crossbotics.ftchelper.gamepad.ControllerBindings.Pad, com.crossbotics.ftchelper.gamepad.ControllerBindings.Trigger, java.util.function.DoubleConsumer)code gets 0. - relight() - Method in class com.crossbotics.ftchelper.robot.Camera
-
Does the lighting test again, now: for a button.
- RELIGHT_HOLD_SEC - Static variable in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
-
Hold Y this long to run the camera's lighting test again (seconds).
- relock() - Method in class com.crossbotics.ftchelper.robot.Aim
-
The next
Aim.isAimed()must get withintoleranceDegagain (not the wider band an aim that was already locked keeps). - remainingIn() - Method in interface com.crossbotics.ftchelper.auto.PathJob
-
Inches left to the end of the WHOLE path (all its parts), for the "stuck" check and
PathEvents. - remainingIn() - Method in interface com.crossbotics.ftchelper.robot.PathFollower
-
Inches left to the end of the WHOLE path, all parts together (for "stuck" checks and
PathAt). - remember(Alliance, FieldPose) - Static method in class com.crossbotics.ftchelper.match.MatchMemory
-
Saves the alliance and the pose (the pose goes to
PoseStore). - rememberHeading(String) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Remembers the heading now, for
AutoRoutine.returnToHeading(java.lang.String, double). - rememberHeading(String) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Remembers the robot's heading now, for
Steps.turnBack(java.lang.String, double). - rememberReport(List<String>) - Static method in class com.crossbotics.ftchelper.match.MatchMemory
-
Saves autonomous's report (one line per step), for TeleOp's INIT screen.
- remove(String) - Method in class com.crossbotics.ftchelper.core.SettingsFile
-
Removes a value.
- remove(String) - Method in class com.crossbotics.ftchelper.finders.FinderResults
-
Removes the line with this key (nothing if there is none).
- removeNear(double) - Method in class com.crossbotics.ftchelper.finders.ShotPoints
-
Removes the saved shot within
ShotPoints.SAME_DISTANCEof this distance. - removeStartingWith(String) - Method in class com.crossbotics.ftchelper.finders.FinderResults
-
Removes every line whose key starts with this text, e.g.
- repeatEnd() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Ends a
Launcher.repeatStep(int)hold: the next hold waits 0.5 s again before its first step. - repeatStep(int) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The launcher's own held D-pad, for
hold(...): every loop while held, oneLauncher.step(int)0.5 s after the press, then 4 a second. - reportText() - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Formats the report for telemetry: one line per step.
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.finders.AimTunerOpMode
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.robot.Auto
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.finders.CameraFixCheckOpMode
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.finders.CharacterizerOpMode
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.robot.ControlMap
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.finders.DriveTunerOpMode
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.auto.EasyAuto
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.finders.EncoderCheckOpMode
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.finders.FeedStopFinderOpMode
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.finders.FeedTimeFinderOpMode
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.finders.FinderOpMode
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.finders.FlywheelFinderOpMode
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.testing.HardwareCheckOpMode
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.finders.HoodFinderOpMode
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.finders.MotorDirectionCheckOpMode
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.finders.MotorFinderOpMode
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.finders.MoveTunerOpMode
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.finders.OdometryTunerOpMode
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.finders.PieceTunerOpMode
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.finders.ServoFinderOpMode
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
- requestOpModeStop() - Method in class com.crossbotics.ftchelper.finders.TuneAndCheckOpMode
- requireReady(String, BooleanSupplier) - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
Another condition that must be true before each piece is fed (aim, sensor, anything).
- requireReady(String, BooleanSupplier) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Another check before each piece is fed, e.g.
- RESEND_SHARE - Static variable in class com.crossbotics.ftchelper.launcher.Flywheel
-
The F gain is changed only when the new scale differs by more than this share (2%).
- reserve(double) - Method in class com.crossbotics.ftchelper.match.MatchTimer
-
Seconds at the end kept for parking (autonomous:
parkWithSeconds(...)); 0 = none. - reserveForPark(double) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Main steps stop when this many seconds are left, so the park steps have time.
- reserveSec() - Method in class com.crossbotics.ftchelper.match.MatchTimer
-
The seconds kept for parking (
MatchTimer.reserve(double)). - reset() - Method in class com.crossbotics.ftchelper.control.PidController
-
Clears the memory (I and D).
- reset() - Method in class com.crossbotics.ftchelper.drive.DriverHeading
-
"The robot now faces away from me": makes the current direction 0.
- reset() - Method in class com.crossbotics.ftchelper.drive.StallDetector
-
Starts over.
- reset() - Method in class com.crossbotics.ftchelper.finders.NudgeStep
-
Back to the first step (0.05), for example when another servo is chosen.
- reset() - Method in class com.crossbotics.ftchelper.safety.JamDetector
-
Starts over (after clearing a jam).
- reset() - Method in class com.crossbotics.ftchelper.tuning.Tunable
-
Back to the code value.
- reset() - Method in class com.crossbotics.ftchelper.util.LoopTimer
-
Starts over, as if new.
- reset() - Method in class com.crossbotics.ftchelper.vision.AimController
-
Forgets the past (call when the driver lets go of the aim button).
- reset() - Method in class com.crossbotics.ftchelper.vision.DistanceFilter
-
Forget everything (a new match, or the goal out of view): the next distance is used without the jump check.
- reset(double) - Method in class com.crossbotics.ftchelper.control.SlewRateLimiter
-
Jumps straight to a value (for example 0 when you stop).
- RESET_FORWARD - Enum constant in enum class com.crossbotics.ftchelper.teleop.LibraryButtons.Job
- resetAll() - Static method in class com.crossbotics.ftchelper.tuning.Tunable
-
Puts every tunable back to its code value and deletes the saved values.
- resetAllInBackground(Consumer<Boolean>) - Static method in class com.crossbotics.ftchelper.tuning.Tunable
-
Tunable.resetAll(), with the file written on a background thread. - resetEncoder() - Method in class com.crossbotics.ftchelper.hardware.MotorSetup
-
Sets the encoder count to 0 here.
- resetForTests() - Static method in enum class com.crossbotics.ftchelper.core.Profile
-
For tests: forget the loaded value so it is read again.
- resetForward(Key) - Method in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
Reset "forward" (field-centric: the robot now faces away from you).
- resetHeading() - Method in class com.crossbotics.ftchelper.drive.AutoDrive
-
Sets the current heading to 0.
- resetPosAndIMU() - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- resetPose() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Sets the odometry's pose to the reset spot in
Tunables.Odometry:resetX,resetY(inches, as seen from your drivers' wall: x to the right of the field's center line, y from the center toward the far wall) andresetHeading(degrees, 0 = facing away from you, counterclockwise +). - resetPose(double, double, double) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Sets the odometry's pose to this spot, written for BLUE (mirrored for RED as in
RobotDefinition.resetPose()). - resetTrim() - Method in class com.crossbotics.ftchelper.robot.Hood
-
The hood trim back to 0 (the launcher's double-tap D-pad down does this too).
- resetTrim() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Back to the Tunables speed: the trim to 0, the
Launcher.adjust(int)steps to 0, and the hood trim to 0. - resolution(int, int) - Method in class com.crossbotics.ftchelper.vision.WebcamTags
-
Camera resolution (pixels).
- restart() - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
Forgets the result and tries every setting again (for a button: aim at a tag, press).
- RESTART_IN_MATCH_MS - Static variable in class com.crossbotics.ftchelper.vision.LightingSweep
-
After a
LightingSweep.restart()during the match, withLightingSweep.giveUpAfterStartMs0: the longest it tries (milliseconds). - result() - Method in class com.crossbotics.ftchelper.drive.RouteDriver
-
How the last route ended, or null if it is still running or none has run.
- result() - Method in class com.crossbotics.ftchelper.robot.Action
-
How the last run ended: "done", "canceled", "stopped: Lift moved by hand"...
- results - Variable in class com.crossbotics.ftchelper.finders.FinderOpMode
-
What the finder found, as code lines.
- resume() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Ends
RobotDefinition.pauseAll(): every part goes back to what it was doing. - returnToHeading(String, double) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Turns back to the heading saved by
AutoRoutine.rememberHeading(java.lang.String). - reverse() - Method in class com.crossbotics.ftchelper.robot.Intake
-
Pushes out while a button is held: call it every loop while held, and
Intake.endReverse()on release. - reversed - Variable in class com.crossbotics.ftchelper.robot.EncoderMotor
-
True if Robot.java turns it the other way (
reversed). - reversed() - Method in class com.crossbotics.ftchelper.finders.CharacterizerOpMode.Mechanism
-
Positive power makes it go DOWN (or backward): flip it, like your robot code does.
- reversed() - Method in class com.crossbotics.ftchelper.hardware.MotorSetup
-
Positive power turns the motor the other way.
- reversed() - Method in class com.crossbotics.ftchelper.hardware.ServoSetup
-
Position 0 and 1 swap ends.
- reversed() - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
Spins the other way for positive speeds.
- reversed() - Method in class com.crossbotics.ftchelper.launcher.MotorFeeder
-
Positive power turns the other way.
- reversed() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Positive power turns the other way.
- reversed() - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
Positive power turns the other way.
- reversed() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
Position 0 and 1 swap ends.
- reversed() - Method in class com.crossbotics.ftchelper.mechanism.SpinMotor
-
Positive power spins the other way.
- reversed() - Method in class com.crossbotics.ftchelper.mechanism.SpinServo
-
Positive power spins the other way.
- reversed() - Method in class com.crossbotics.ftchelper.robot.Hood
-
It turns the other way.
- reversed() - Method in class com.crossbotics.ftchelper.robot.Indexer
-
It turns the other way.
- reversed() - Method in class com.crossbotics.ftchelper.robot.Intake
-
Reverses the only device (same as
reversed(itsName)). - reversed() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The flywheel turns the other way.
- reversed() - Method in class com.crossbotics.ftchelper.robot.MotorPositions
-
Positive power turns the other way (if it moves down when it should go up).
- reversed() - Method in class com.crossbotics.ftchelper.robot.ServoPositions
-
The servo turns the other way (0 and 1 swap).
- reversed() - Method in class com.crossbotics.ftchelper.robot.Shape
-
A roller that turns the other way from its motor, through gears (for example the left one of two spinners geared to one intake shaft, so both pull pieces in).
- reversed() - Method in class com.crossbotics.ftchelper.robot.Turret
-
Positive power turns the other way (if + turns it clockwise).
- reversed(boolean) - Method in class com.crossbotics.ftchelper.hardware.MotorSetup
-
Sets the direction from a true/false setting.
- reversed(String...) - Method in class com.crossbotics.ftchelper.robot.Drive
-
Exactly these motors run reversed (instead of the left side).
- reversed(String...) - Method in class com.crossbotics.ftchelper.robot.Intake
-
These run the other way (for example the right one of two facing servos).
- reversed(String...) - Method in class com.crossbotics.ftchelper.robot.Odometry
-
Pods that count the wrong way (the Odometry Tuner says which): for a Pinpoint "x" and/or "y"; for dead wheels the motor port names.
- ReverseDrive - Class in com.crossbotics.ftchelper.drive
-
A "drive backwards" mode: when ON, forward and strafe are flipped, so the back of the robot acts as the front.
- ReverseDrive() - Constructor for class com.crossbotics.ftchelper.drive.ReverseDrive
- reverseDriveMode() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Reverse drive: while on, TeleOp's forward and strafe are flipped, so the back of the robot acts as the front (turning is not flipped; field-centric driving ignores it).
- reverseWhen(BooleanSupplier) - Method in class com.crossbotics.ftchelper.drive.DriverControls
-
Reverse drive while
whenis true: forward and strafe are flipped, so the back of the robot acts as the front (turning is not flipped). - right(String, double, double) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Slides right, still facing the same way (mecanum only):
move(label, inches, -90, maxPower). - right(String, double, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Slides to the robot's right, still facing the same way.
- RIGHT - Static variable in class com.crossbotics.ftchelper.drive.DifferentialMixer
-
Index of each side in the arrays this class returns.
- rightStickButton - Variable in class com.crossbotics.ftchelper.robot.Pad
-
Pressing a stick down (a click).
- rightStickX - Variable in class com.crossbotics.ftchelper.robot.Pad
-
The sticks: up and right are +, from -1 to 1.
- rightStickY - Variable in class com.crossbotics.ftchelper.robot.Pad
-
The sticks: up and right are +, from -1 to 1.
- robot() - Method in class com.crossbotics.ftchelper.finders.CameraFixCheckOpMode
-
The robot in five files:
return new Robot();. - robot() - Method in class com.crossbotics.ftchelper.finders.DriveTunerOpMode
-
Your robot in five files:
return new Robot();. - robot() - Method in class com.crossbotics.ftchelper.finders.EncoderCheckOpMode
-
Your robot in five files (
return new Robot();): its motors are checked. - robot() - Method in class com.crossbotics.ftchelper.finders.FeedStopFinderOpMode
-
The robot in five files:
return new Robot();. - robot() - Method in class com.crossbotics.ftchelper.finders.FeedTimeFinderOpMode
-
The robot in five files:
return new Robot();. - robot() - Method in class com.crossbotics.ftchelper.finders.HoodFinderOpMode
-
Your robot in five files (
return new Robot();): its hood is used. - robot() - Method in class com.crossbotics.ftchelper.finders.MotorDirectionCheckOpMode
-
Your robot in five files (
return new Robot();): its drive is checked. - robot() - Method in class com.crossbotics.ftchelper.finders.MoveTunerOpMode
-
Your robot in five files:
return new Robot();. - robot() - Method in class com.crossbotics.ftchelper.finders.OdometryTunerOpMode
-
Your robot in five files:
return new Robot();(it must have an odometry(...) line). - robot() - Method in class com.crossbotics.ftchelper.finders.PieceTunerOpMode
-
Your robot in five files:
return new Robot();(it needs a Pieces or a PieceSensor line). - robot() - Method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
-
Your robot in five files:
return new Robot();. - robot() - Method in class com.crossbotics.ftchelper.robot.Auto
-
The robot this autonomous runs (set up in INIT).
- robot() - Method in class com.crossbotics.ftchelper.robot.ControlMap
-
The robot, made from
ControlMap<Robot>'s type. - robot() - Method in class com.crossbotics.ftchelper.testing.HardwareCheckOpMode
-
Your robot in five files (
return new Robot();), to check that every device it names is in this configuration. - robotConfig() - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
Your robot's settings, shared with TeleOp (see
RobotConfig). - robotConfig() - Method in class com.crossbotics.ftchelper.finders.AimTunerOpMode
-
Your robot settings: needed to aim by turning the robot, and to drive.
- robotConfig() - Method in class com.crossbotics.ftchelper.finders.CharacterizerOpMode
-
Your robot's settings (drive motors, IMU).
- robotConfig() - Method in class com.crossbotics.ftchelper.finders.DriveTunerOpMode
-
Your robot's settings (the same as TeleOp and autonomous), e.g.
- robotConfig() - Method in class com.crossbotics.ftchelper.finders.MoveTunerOpMode
-
Your robot's settings (the same as autonomous), e.g.
- robotConfig() - Method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
-
Your robot settings, to drive with the sticks.
- robotConfig() - Method in class com.crossbotics.ftchelper.robot.Auto
- robotConfig() - Method in class com.crossbotics.ftchelper.robot.ControlMap
- robotConfig() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
The drivetrain's settings (motor names, IMU, autonomous tuning) for EasyTeleOp and EasyAuto.
- robotConfig() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
Your robot's settings, shared with autonomous (see
RobotConfig). - RobotConfig - Class in com.crossbotics.ftchelper.core
-
The robot's drivetrain described ONCE: motor names and directions, autonomous tuning, and how the Control Hub is mounted.
- RobotConfig() - Constructor for class com.crossbotics.ftchelper.core.RobotConfig
- RobotDefinition - Class in com.crossbotics.ftchelper.robot
-
What is on the robot, written once in the team's
Robot.java: the drive and one line per mechanism, with each part's name in the robot configuration. - RobotDefinition() - Constructor for class com.crossbotics.ftchelper.robot.RobotDefinition
- robotGains() - Method in class com.crossbotics.ftchelper.finders.FlywheelFinderOpMode
-
The speed-control gains Tunables.java has for each flywheel motor: {kP, kI, kD, kF, nominalVolts} (nominalVolts NaN = no battery compensation).
- robotSizeMm(double, double) - Method in class com.crossbotics.ftchelper.robot.Odometry
-
The robot's frame size, in mm: length front to back, width side to side (a tape across the frame, bumpers off).
- robotTelemetry() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
The Driver Station screen helper (warnings, standard and debug lines).
- RobotTelemetry - Class in com.crossbotics.ftchelper.telemetry
-
Telemetry with two levels: STANDARD lines for the drivers, DEBUG lines for programmers.
- RobotTelemetry(Telemetry) - Constructor for class com.crossbotics.ftchelper.telemetry.RobotTelemetry
-
Wraps the OpMode's telemetry.
- RobotTelemetry(Telemetry, LongSupplier) - Constructor for class com.crossbotics.ftchelper.telemetry.RobotTelemetry
-
For tests: your own clock; debug starts off.
- rollDeg - Variable in class com.crossbotics.ftchelper.vision.TargetObservation
-
How far it is turned in the picture: 0 = right side up, +/-180 = upside down.
- roller(String...) - Static method in class com.crossbotics.ftchelper.robot.Shape
-
A roller (a cylinder; by default its axle runs across the robot, left-right).
- route(double, double, double, double) - Method in class com.crossbotics.ftchelper.drive.FieldMap
-
Finds the shortest route of straight lines that misses every box.
- route(String, double, double, double, double) - Method in class com.crossbotics.ftchelper.robot.ControlMap
-
Makes a job that drives the robot to a field spot by itself, around the boxes of
fieldMap(...)in Robot.java. - route(String, double, double, double, double, double) - Method in class com.crossbotics.ftchelper.robot.ControlMap
-
ControlMap.route(String, double, double, double, double)with your own "close enough" at the end, inches. - RouteDriver - Class in com.crossbotics.ftchelper.drive
-
Drives a route of field points, one loop at a time.
- RouteDriver(AutoDriveConfig, double, Supplier<FieldPose>, BooleanSupplier, LongSupplier) - Constructor for class com.crossbotics.ftchelper.drive.RouteDriver
- RouteDriver.LineCheck - Interface in com.crossbotics.ftchelper.drive
-
Says if a straight line on the field is clear.
- RouteDriver.Result - Enum Class in com.crossbotics.ftchelper.drive
-
How a route ended.
- routeRunning() - Method in class com.crossbotics.ftchelper.robot.ControlMap
-
True while a
ControlMap.route(java.lang.String, double, double, double, double)job drives the robot. - routeTo(String, double, double, double, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Like
Steps.driveTo(String, double, double, double, double), but it goes around the boxes offieldMap(...)in Robot.java. - routeTo(String, double, double, double, double, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Steps.routeTo(String, double, double, double, double)with your own "close enough" at the end, inches. - rpm - Variable in class com.crossbotics.ftchelper.launcher.ShotTable.Shot
-
The distance to the goal, the flywheel speed (RPM) and the hood angle (degrees) for it.
- rpmAtFeed - Variable in class com.crossbotics.ftchelper.launcher.ShotStats.Shot
-
The wheel's speed and its target when the piece was fed.
- rpmNow() - Method in class com.crossbotics.ftchelper.robot.FeedTest
-
The wheel's speed now, RPM.
- rpmNow() - Method in class com.crossbotics.ftchelper.robot.FeedTimeTest
-
The wheel's speed now, RPM.
- rt - Variable in class com.crossbotics.ftchelper.robot.Pad
-
Bumpers (LB, RB) and triggers (LT, RT; a trigger counts as pressed past half way).
- RT - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Trigger
- rumble() - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
Feedback: the gamepad buzzes when this job runs (a hold: when it starts).
- rumble(int) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
Pad.Button.rumble()withbuzzesshort buzzes (1 to 3). - rumbleAt(double, Gamepad...) - Method in class com.crossbotics.ftchelper.match.MatchTimer
-
Buzzes the gamepads three times when this many seconds are left.
- rumbleDeg() - Method in class com.crossbotics.ftchelper.robot.Aim
-
The error that starts the buzz of
rumbleWhenAimed()(Tunables.Aim.rumbleDeg, default 4). - rumbleWhen(BooleanSupplier) - Method in class com.crossbotics.ftchelper.robot.Pad
-
Feedback from the robot: one buzz on this gamepad each time
whenbecomes true, e.g. - rumbleWhen(BooleanSupplier, int) - Method in class com.crossbotics.ftchelper.robot.Pad
-
Pad.rumbleWhen(BooleanSupplier)withbuzzesshort buzzes (1 to 3). - rumbleWhenAimed() - Method in class com.crossbotics.ftchelper.robot.Pad
-
Feedback for aiming by hand: this gamepad buzzes while the aim is close, the closer the stronger and longer (last season's "on target" buzz).
- run() - Method in interface com.crossbotics.ftchelper.core.InitStop.Body
- run(AutoContext) - Method in interface com.crossbotics.ftchelper.auto.AutoStep
-
Does the step.
- run(Action) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Starts an action (from its first step if it was running).
- run(LinearOpMode, InitStop.Body) - Static method in class com.crossbotics.ftchelper.core.InitStop
-
Runs
body. - run(String, Runnable) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Runs some code at once and goes on (e.g.
- run(String, Runnable) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Runs a command now and goes on at once (e.g.
- runAll() - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Runs every step in order.
- runFor(double, double) - Method in class com.crossbotics.ftchelper.mechanism.SpinServo
- runForStep(double, double) - Method in class com.crossbotics.ftchelper.mechanism.SpinServo
-
A step (autonomous): run for some seconds at a power, then stop.
- runInside(Hosting) - Method in class com.crossbotics.ftchelper.finders.FinderOpMode
-
Runs this finder inside "Tune and check" (
TuneAndCheckOpMode). - runInside(Hosting) - Method in class com.crossbotics.ftchelper.testing.HardwareCheckOpMode
-
Runs this check inside "Tune and check" (TuneAndCheckOpMode).
- running() - Method in class com.crossbotics.ftchelper.finders.FinderOpMode
-
opModeIsActive(), or the host's when this finder runs inside "Tune and check".
- running(OpMode) - Method in class com.crossbotics.ftchelper.finders.Hosting
-
The host's opModeIsActive().
- runOpMode() - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
The whole autonomous, from INIT to the end.
- runOpMode() - Method in class com.crossbotics.ftchelper.finders.FinderOpMode
-
The whole finder.
- runOpMode() - Method in class com.crossbotics.ftchelper.finders.TuneAndCheckOpMode
- runOpMode() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
The whole TeleOp.
- runOpMode() - Method in class com.crossbotics.ftchelper.testing.HardwareCheckOpMode
-
The whole check.
- runUsingEncoder() - Method in class com.crossbotics.ftchelper.hardware.MotorSetup
-
Power sets the speed, and the hub uses the encoder to hold that speed.
- runWithoutEncoder() - Method in class com.crossbotics.ftchelper.hardware.MotorSetup
-
Power goes straight to the motor.
S
- SafeMotor - Class in com.crossbotics.ftchelper.safety
-
A motor that cannot be driven past its safe range.
- SafeMotor(DcMotorEx) - Constructor for class com.crossbotics.ftchelper.safety.SafeMotor
- safePoint(double, double) - Method in class com.crossbotics.ftchelper.drive.FieldMap
-
Adds a place a route may pass through (optional: the boxes' corners are used without this).
- sagLimitRpm(double) - Static method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
-
How far under the speed asked for the flywheel may be at a shot before the tuner calls it "sagged" (RPM): the larger of 60 and 3% of the speed.
- said() - Method in class com.crossbotics.ftchelper.teleop.Key
-
The name for a screen line: a mark that becomes the name on this pad's controller ("{BACK}", "{2:A}").
- SAME_DISTANCE - Static variable in class com.crossbotics.ftchelper.finders.ShotPoints
-
Two shots closer than this (in distance units, e.g.
- samples - Variable in class com.crossbotics.ftchelper.finders.CharacterizeMath.Fit
-
How many moments of the log were used.
- saturation() - Method in class com.crossbotics.ftchelper.robot.PieceSensor
-
The latest colorfulness, 0 (gray) to 1 (pure color); NaN for a distance sensor.
- save() - Method in class com.crossbotics.ftchelper.core.SettingsFile
-
Writes the file.
- save(double, double, double) - Method in class com.crossbotics.ftchelper.finders.ShotPoints
-
Saves a shot (replaces one within
ShotPoints.SAME_DISTANCEof this distance). - save(double, double, double, double, int, int) - Method in class com.crossbotics.ftchelper.finders.ShotPoints
-
Saves a shot with what was seen while testing it (replaces one within
ShotPoints.SAME_DISTANCE). - save(FieldPose) - Static method in class com.crossbotics.ftchelper.util.PoseStore
-
Saves a copy of the pose.
- saveAll() - Static method in class com.crossbotics.ftchelper.tuning.Tunable
-
Saves every tunable's value on the Control Hub.
- saveAllInBackground(Consumer<Boolean>) - Static method in class com.crossbotics.ftchelper.tuning.Tunable
-
Saves every tunable's value on a background thread; returns at once.
- saved() - Method in class com.crossbotics.ftchelper.finders.ShotPoints
-
The saved points with their hit counts and measured speeds, nearest first (a copy).
- saveInBackground() - Method in class com.crossbotics.ftchelper.core.SettingsFile
-
SettingsFile.saveInBackground(Consumer)without a result. - saveInBackground(Consumer<Boolean>) - Method in class com.crossbotics.ftchelper.core.SettingsFile
-
Writes the file on a background thread and returns at once, so the robot loop never waits for the storage.
- saveInBackground(Consumer<Boolean>) - Method in class com.crossbotics.ftchelper.finders.FinderResults
-
Adds the lines to the results file on a background thread; returns at once.
- saveNow() - Method in class com.crossbotics.ftchelper.finders.FinderResults
-
Adds the lines to the results file NOW and says if it worked.
- say(String) - Static method in class com.crossbotics.ftchelper.gamepad.ButtonNames
-
A screen line with its marks turned into this robot's button names (
{A},{2:RT},{PLAY}, and "G1 A" / "G2 RT"). - says(String) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
Words for the help page, e.g.
- says(String) - Method in class com.crossbotics.ftchelper.robot.Pad.Stick
-
Words for the help page.
- scores() - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
Every setting's score, e.g.
- SDK_PULSE_HIGH_US - Static variable in class com.crossbotics.ftchelper.hardware.ServoSetup
-
The FTC SDK's normal pulse for position 1, microseconds (
PwmControl.PwmRange.usPulseUpperDefault). - SDK_PULSE_LOW_US - Static variable in class com.crossbotics.ftchelper.hardware.ServoSetup
-
The FTC SDK's normal pulse for position 0, microseconds (
PwmControl.PwmRange.usPulseLowerDefault). - sdkRangeDeg() - Method in class com.crossbotics.ftchelper.robot.Parts.ServoPart
-
Degrees over 0 to 1 with the SDK's normal 600-2400 us (goBILDA 2000: 270).
- sec() - Method in class com.crossbotics.ftchelper.testkit.PretendClock
-
The time now, seconds since this clock was made (it starts at 1).
- secondMotorName() - Method in class com.crossbotics.ftchelper.robot.MotorPositions
-
The second motor's configuration name (
MotorPositions.alsoMotor(java.lang.String)), or null if it has one motor. - secondServoMirrored() - Method in class com.crossbotics.ftchelper.robot.Indexer
-
True if the second servo mirrors the first (
alsoServoReversed). - secondServoMirrored() - Method in class com.crossbotics.ftchelper.robot.ServoPositions
-
True if the second servo mirrors the first (
alsoServoReversed). - secondServoName() - Method in class com.crossbotics.ftchelper.robot.Indexer
-
The second servo's configuration name (
alsoServo...), or null if it has one servo. - secondServoName() - Method in class com.crossbotics.ftchelper.robot.ServoPositions
-
The second servo's configuration name (
alsoServo...), or null if it has one servo. - secondsLeft() - Method in interface com.crossbotics.ftchelper.auto.AutoContext
-
Seconds left in autonomous.
- secondsLeft() - Method in class com.crossbotics.ftchelper.match.MatchTimer
-
Seconds left (the full length before start, never below 0).
- secPer60Deg - Variable in class com.crossbotics.ftchelper.robot.Parts.ServoPart
-
Seconds to turn 60 degrees with no load at about the hub's servo voltage (a REV hub gives its servos 5 V): the seller's 4.8 V number, or its 6 V one when it gives no 4.8 V number (then the real servo is a little slower).
- section(String) - Method in class com.crossbotics.ftchelper.telemetry.RobotTelemetry
-
A heading line:
--- title ---. - section(Telemetry, String) - Static method in class com.crossbotics.ftchelper.telemetry.TelemetryHelper
-
Adds a heading line, to split the screen into groups.
- sectionName(String) - Static method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
The Tunables section a device's module reads: its name in CamelCase ("intake_deploy" -> "IntakeDeploy", "Webcam 1" -> "Webcam1").
- sectionWarnings() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
INIT warnings about misnamed Tunables sections (empty when none); see
RobotDefinition.checkTunables(). - SEEN - Enum constant in enum class com.crossbotics.ftchelper.robot.Aim.Stage
-
The goal is known (camera, or the odometry backup).
- seenFrom(double, double, double, double, double) - Static method in class com.crossbotics.ftchelper.vision.MovingShot
-
Where a goal is from the robot's center, from what a camera sees: {forward, left} inches.
- sees(String) - Method in class com.crossbotics.ftchelper.robot.PieceSensor
-
True if a piece of this kind is at the spot now.
- seesPiece() - Method in class com.crossbotics.ftchelper.robot.PieceSensor
-
True if any piece (known or not) is at the spot now.
- select(String) - Method in class com.crossbotics.ftchelper.finders.Chooser
-
Moves the choice to this name, if it is in the list (e.g.
- sensorType() - Method in class com.crossbotics.ftchelper.robot.PieceSensor
-
"color", "distance" or "camera".
- servo - Variable in class com.crossbotics.ftchelper.testkit.PretendCRServo
-
The SDK CR servo to hand to code that wants one.
- servo - Variable in class com.crossbotics.ftchelper.testkit.PretendServo
-
The SDK servo to hand to code that wants one (it is also a PwmControl, like a hub servo).
- servo(String) - Static method in class com.crossbotics.ftchelper.robot.Claw
-
A claw on this servo.
- servo(String) - Static method in class com.crossbotics.ftchelper.robot.Hood
-
A hood on a standard (positional) servo.
- servo(String) - Static method in class com.crossbotics.ftchelper.robot.Indexer
-
A servo that pushes a piece in, then comes back.
- servo(String) - Static method in class com.crossbotics.ftchelper.robot.Parts
-
Checks a servo's catalog id.
- servo(String) - Static method in class com.crossbotics.ftchelper.robot.Positioner
-
A positioner on this servo.
- servo(String) - Static method in class com.crossbotics.ftchelper.robot.Turret
-
A turret on a standard (position) servo: it goes to an angle by itself, no encoder and no homing.
- servo(String) - Static method in class com.crossbotics.ftchelper.robot.Wrist
-
A wrist on this servo.
- servo(String) - Method in class com.crossbotics.ftchelper.testkit.PretendDevices
-
The pretend servo with this name (made now if needed).
- servo(String, PositionServo) - Static method in class com.crossbotics.ftchelper.launcher.Turret
-
A turret on a standard servo that goes to an angle by itself (no encoder, no PID, no homing).
- servo(Telemetry, String, Servo) - Static method in class com.crossbotics.ftchelper.telemetry.TelemetryHelper
-
Adds a servo's last commanded position (servos cannot report where they really are).
- servoDirections() - Method in class com.crossbotics.ftchelper.finders.ServoFinderOpMode
-
The direction Robot.java gives each servo it knows (true =
reversed()): the finder turns them the same way, so the positions it shows are the ones Tunables.java needs. - ServoFeeder - Class in com.crossbotics.ftchelper.launcher
-
A feeder driven by a servo (a kicker or pusher arm): push, wait, come back, wait.
- ServoFeeder(String, Servo) - Constructor for class com.crossbotics.ftchelper.launcher.ServoFeeder
-
Wraps a servo you already have.
- ServoFinderOpMode - Class in com.crossbotics.ftchelper.finders
-
Finds a servo's numbers: its safe ends (limits) and the positions you want (open, closed, ...).
- ServoFinderOpMode() - Constructor for class com.crossbotics.ftchelper.finders.ServoFinderOpMode
- servoPart(String) - Static method in class com.crossbotics.ftchelper.robot.Parts
-
A servo's numbers by its catalog id: its turn and pulse range.
- servoParts() - Method in class com.crossbotics.ftchelper.finders.ServoFinderOpMode
-
Each servo's parts catalog id (
part(...)in Robot.java), so the finder can say which way its seller says a bigger number turns it (a hint: check it by test). - servoPosition(double) - Static method in class com.crossbotics.ftchelper.finders.FinderMath
-
Keeps a servo position inside 0..1, the only range a servo accepts.
- ServoPositions<M> - Class in com.crossbotics.ftchelper.robot
- servos() - Static method in class com.crossbotics.ftchelper.robot.Parts
-
Every catalog servo id, in catalog order (read only; not the
Parts.customServo(java.lang.String, double, double)ones). - ServoSetup - Class in com.crossbotics.ftchelper.hardware
-
Sets up a servo in one readable chain.
- servoStartAngle() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
A servo turret: the angle it counts from before its first command (
Turret.startAngle(double), or the middle of its range when none was given). - servoStickSec(double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
A servo turret: seconds for the stick to turn it across its whole range at full stick (default 0.5).
- set(boolean) - Method in class com.crossbotics.ftchelper.drive.ReverseDrive
-
Sets the mode.
- set(double) - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
Goes to a raw position (0 to 1, kept inside the limits).
- set(double) - Method in class com.crossbotics.ftchelper.tuning.Tunable
-
Sets the value (inside the range).
- set(Profile) - Static method in enum class com.crossbotics.ftchelper.core.Profile
-
Changes the profile and saves it on the Control Hub.
- set(String...) - Method in class com.crossbotics.ftchelper.robot.Pieces
-
Sets what it holds, next to fire first, e.g.
- set(String, String) - Method in class com.crossbotics.ftchelper.finders.FinderResults
-
Sets (or replaces) the line with this key.
- SET_POSE - Enum constant in enum class com.crossbotics.ftchelper.teleop.LibraryButtons.Job
- setAlliance(Alliance) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Sets the alliance (the OpMode classes do this).
- setAngle(double) - Method in class com.crossbotics.ftchelper.robot.Hood
-
Sends the hood to this angle (kept inside its hard limits).
- setAngleMode(boolean) - Method in class com.crossbotics.ftchelper.control.PidController
-
Turn on for headings in degrees.
- setBrake(boolean) - Method in class com.crossbotics.ftchelper.drive.MecanumDrive
-
True = wheels hold still at power 0.
- setBrake(boolean) - Method in class com.crossbotics.ftchelper.drive.TankDrive
-
True = hold at 0 power, false = coast.
- setChosen(Alliance) - Static method in class com.crossbotics.ftchelper.match.MatchMemory
-
Sets
MatchMemory.chosen()(EasyAuto and EasyTeleOp do it for you). - setDebug(boolean) - Method in class com.crossbotics.ftchelper.telemetry.RobotTelemetry
-
Turns debug lines on or off.
- setDegrees(double) - Method in interface com.crossbotics.ftchelper.mechanism.AngleDevice
-
Starts moving to this angle (kept inside its limits).
- setDegrees(double) - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
Goes to an angle in degrees (needs
PositionServo.degrees(double, double, double, double)). - setDistance(double) - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
Sets the shot from the table: the speed, and the hood angle (plus
Launcher.hoodOffset(double)) when there is a hood and the table has hood angles. - setEnabled(boolean) - Method in class com.crossbotics.ftchelper.gamepad.AimRumble
-
Turns the buzzing on or off.
- setEncoderDirections(GoBildaPinpointDriver.EncoderDirection, GoBildaPinpointDriver.EncoderDirection) - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- setEncoderResolution(double, DistanceUnit) - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- setEncoderResolution(GoBildaPinpointDriver.GoBildaOdometryPods) - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- setFeel(double, double, int, int, int, int) - Method in class com.crossbotics.ftchelper.gamepad.AimRumble
-
Changes the feel.
- setFence(double, double) - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
A second, temporary range inside the limits, in ticks, that can change every loop: an interlock rule's fence (two parts that must not be in the same space).
- setFieldCentric(boolean) - Method in class com.crossbotics.ftchelper.drive.DriverControls
-
Field-centric on or off.
- setGains(double, double, double, double) - Method in class com.crossbotics.ftchelper.control.PidController
-
Changes the gains (for live tuning).
- setHeading(double) - Method in class com.crossbotics.ftchelper.odometry.PoseTracker
-
Makes the way the robot faces now this heading, keeping x and y (TeleOp's "forward = away from you now").
- setHomingPower(double) - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
The most downward power before homing, 0 to 1.
- setIntegralLimit(double) - Method in class com.crossbotics.ftchelper.control.PidController
-
Limits how big the I part can grow.
- setLimits(double, double) - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
Sets the safe range, in encoder ticks, measured from the home (zero) position.
- setLoopHook(Runnable) - Method in class com.crossbotics.ftchelper.drive.AutoDrive
-
Runs your code once per loop during every move and turn.
- setLowerSwitch(BooleanSupplier) - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
Adds a lower limit switch.
- setMaxCurrent(double) - Method in class com.crossbotics.ftchelper.safety.JamDetector
-
Also counts as jammed when the current is above this many amps (for the same time).
- setMaxPower(double) - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
The largest power ever sent, 0 to 1.
- setMinIntervalMs(int) - Method in class com.crossbotics.ftchelper.telemetry.RobotTelemetry
-
Sends at most once per this many milliseconds (0 = every loop, the default).
- setMinPower(double) - Method in class com.crossbotics.ftchelper.safety.JamDetector
-
Below this power the motor is not really trying, so it is never "jammed".
- setOffsets(double, double, DistanceUnit) - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- setOutputLimits(double, double) - Method in class com.crossbotics.ftchelper.control.PidController
-
Limits the output.
- setPattern(double, int, int) - Method in class com.crossbotics.ftchelper.gamepad.ToggleRumble
-
Changes how the buzz feels.
- setPlacement(FieldPose, String) - Static method in class com.crossbotics.ftchelper.match.MatchMemory
-
Sets
MatchMemory.placement()(null = none) and its note (EasyAuto does it for you). - setPlacement(FieldPose, String, String) - Static method in class com.crossbotics.ftchelper.match.MatchMemory
-
MatchMemory.setPlacement(FieldPose, String), and the spot as the team wrote it, in words (e.g. - setPose(Key) - Method in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
"Set pose here": held 1 s, the odometry's pose becomes the reset spot (
Tunables.Odometry.resetX, resetY, resetHeading). - setPose(FieldPose) - Method in class com.crossbotics.ftchelper.odometry.PoseTracker
-
Says "the robot is here now".
- setPoseJob() - Method in class com.crossbotics.ftchelper.robot.ControlMap
- setPoseJob() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
The "set pose here" job, or null (default: none).
- setPoseMissingNote() - Method in class com.crossbotics.ftchelper.robot.ControlMap
- setPoseMissingNote() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
With no
EasyTeleOp.setPoseJob(): a short note shown when the drivers hold the "set pose here" button anyway (alone, 1 s, then let go), so it does not silently do nothing; null (default) = no note. - setPosition(Pose2D) - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- setPower(double) - Method in class com.crossbotics.ftchelper.mechanism.SpinMotor
-
Any power you like, -1 to 1 (e.g.
- setPower(double) - Method in class com.crossbotics.ftchelper.mechanism.SpinServo
-
Any power, -1 to 1.
- setPower(double) - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
Sets the power, with the limits applied.
- setPowers(double[]) - Method in class com.crossbotics.ftchelper.drive.MecanumDrive
-
Sets the four wheel powers directly (front-left, front-right, back-left, back-right).
- setPowers(double[]) - Method in class com.crossbotics.ftchelper.drive.TankDrive
-
Sets the left and right powers directly ({left, right}).
- setPulseRange(Servo, double, double) - Static method in class com.crossbotics.ftchelper.hardware.ServoSetup
-
Sets a servo's pulse range if it can (a servo on a REV Control or Expansion Hub, or a Servo Hub, can: it is a
PwmControl). - setRequireHoming(boolean) - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
With a lower switch, the motor is NOT trusted until it has been homed (by default).
- setRobotHeading(double) - Method in class com.crossbotics.ftchelper.vision.LimelightTags
-
Tells the Limelight the robot's heading (for its MegaTag2 field position feature).
- setRpm(double) - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
Spins to this speed in RPM (0 = coast to a stop).
- setRpm(double) - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
Sets the shot speed by hand, in RPM.
- setSlowZone(double, double) - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
Reduces power near the ends.
- setSpot(double) - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Tally
-
Sets the spot (the distance when the first shot was marked).
- setStopCondition(BooleanSupplier) - Method in class com.crossbotics.ftchelper.drive.AutoDrive
-
An extra reason to stop a move early: when this is true, the move ends with
STOPPED. - setThreshold(double) - Method in class com.crossbotics.ftchelper.gamepad.AimRumble
-
The error size where buzzing starts.
- Settings() - Constructor for class com.crossbotics.ftchelper.odometry.CameraPoseFix.Settings
- SettingsFile - Class in com.crossbotics.ftchelper.core
-
A small settings file on the Control Hub, so choices and tuned numbers survive a restart.
- SettingsFile(File) - Constructor for class com.crossbotics.ftchelper.core.SettingsFile
-
A settings file at a path you choose (used by tests).
- settleMs(double) - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
How long to wait after the camera has switched before counting pictures (milliseconds, default 300).
- settleTime(double) - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
...for at least this long, in seconds.
- setTolerance(double) - Method in class com.crossbotics.ftchelper.control.PidController
-
How close counts as "at target" for
PidController.atTarget(). - setTriggerThreshold(double) - Method in class com.crossbotics.ftchelper.gamepad.ControllerBindings
-
How far a trigger must be pulled to count as "pressed".
- setTrim(double) - Method in class com.crossbotics.ftchelper.robot.Hood
-
Sets the hood trim (0 = none), kept to +/-
trimMax. - setTrim(double) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Sets the speed trim to this many percent (0 = none), kept to +/-
trimMaxPercent. - setup() - Method in class com.crossbotics.ftchelper.finders.AimTunerOpMode
- setup() - Method in class com.crossbotics.ftchelper.finders.CameraFixCheckOpMode
- setup() - Method in class com.crossbotics.ftchelper.finders.CharacterizerOpMode
- setup() - Method in class com.crossbotics.ftchelper.finders.DriveTunerOpMode
- setup() - Method in class com.crossbotics.ftchelper.finders.EncoderCheckOpMode
- setup() - Method in class com.crossbotics.ftchelper.finders.FeedStopFinderOpMode
- setup() - Method in class com.crossbotics.ftchelper.finders.FeedTimeFinderOpMode
- setup() - Method in class com.crossbotics.ftchelper.finders.FinderOpMode
-
Sets up the hardware, in INIT.
- setup() - Method in class com.crossbotics.ftchelper.finders.FlywheelFinderOpMode
- setup() - Method in class com.crossbotics.ftchelper.finders.HoodFinderOpMode
- setup() - Method in class com.crossbotics.ftchelper.finders.MotorDirectionCheckOpMode
- setup() - Method in class com.crossbotics.ftchelper.finders.MotorFinderOpMode
- setup() - Method in class com.crossbotics.ftchelper.finders.MoveTunerOpMode
- setup() - Method in class com.crossbotics.ftchelper.finders.OdometryTunerOpMode
- setup() - Method in class com.crossbotics.ftchelper.finders.PieceTunerOpMode
- setup() - Method in class com.crossbotics.ftchelper.finders.ServoFinderOpMode
- setup() - Method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
- setup(Devices) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
RobotDefinition.setup(HardwareMap)with anyDevices(tests use pretend ones). - setup(HardwareMap) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Makes every module's hardware (INIT).
- setUpperSwitch(BooleanSupplier) - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
Adds an upper limit switch.
- shape(double, double, double) - Static method in class com.crossbotics.ftchelper.gamepad.StickShaping
-
Deadband (with a smooth start) and then a curve.
- Shape - Class in com.crossbotics.ftchelper.robot
-
How a part looks and where it sits, for the simulator's 3D view and its size checks: written in
Robot.javanext to the part, so the simulator robot file comes from the code (./gradlew :sim:fromRobot). - shared() - Static method in class com.crossbotics.ftchelper.core.SettingsFile
-
The robot's settings file (
settings.propertiesinSettingsFile.folder()). - shoot(int) - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
Shoots
countpieces (spins up first if needed). - shooterAt(double, double) - Method in class com.crossbotics.ftchelper.vision.MovingShot
-
Where the shooter is from the robot's center: a turret's pivot, or where a fixed launcher's piece leaves.
- shootStep(int) - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
A step: shoot
countpieces and wait until done (or it gives up). - shortestDiff(double, double) - Static method in class com.crossbotics.ftchelper.util.Angles
-
The shortest turn from
currenttotarget. - shot - Variable in class com.crossbotics.ftchelper.finders.ShotPoints.Saved
-
Distance, speed (the setpoint: what the robot will ask for) and hood angle.
- Shot(double, double, double) - Constructor for class com.crossbotics.ftchelper.launcher.ShotTable.Shot
-
A shot: distance in inches, flywheel RPM, hood angle in degrees.
- SHOT_WAIT_SEC - Static variable in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
-
The longest a shot waits in all (aimed but the flywheel not Ready, seconds): then it is dropped and says why.
- shotAngle(double) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Which way a piece leaves the wheel, for the simulator: degrees up from the wheel shape's forward, seen from the side (45 = forward and up, 90 = straight up, 135 = backward and up).
- shotAngles(double, double) - Method in class com.crossbotics.ftchelper.robot.Hood
-
For the simulator only: the launcher's shot angle (as in
Launcher.shotAngle: degrees up from the wheel shape's forward) with the hood atangleAand atangleB. - shotDrop(double) - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
A drop of more than this many RPM after being ready counts as a shot.
- shotInterval(double) - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
Least time between two pieces, seconds.
- shotMode(Launcher.ShotMode) - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
How strict it is before each feed (see
Launcher.ShotMode). - shotMode(Launcher.ShotMode) - Method in class com.crossbotics.ftchelper.robot.Launcher
- shotModeNow() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The shot mode in use now.
- ShotPoints - Class in com.crossbotics.ftchelper.finders
-
The good shots saved in the shot tuner: distance, speed and (if there is a hood) hood angle, with how many went in and the flywheel speed really measured at the shots.
- ShotPoints(boolean) - Constructor for class com.crossbotics.ftchelper.finders.ShotPoints
- ShotPoints(boolean, int) - Constructor for class com.crossbotics.ftchelper.finders.ShotPoints
- ShotPoints.DistanceAverage - Class in com.crossbotics.ftchelper.finders
-
The distance averaged over the last
ShotPoints.DistanceAverage.WINDOW_SECseconds of fresh readings, so one noisy camera frame does not go into the table. - ShotPoints.Saved - Class in com.crossbotics.ftchelper.finders
-
One saved point: the shot, and what the tuner saw while testing it.
- ShotPoints.Tally - Class in com.crossbotics.ftchelper.finders
-
Hits and shots at each speed (and hood angle) tried at ONE spot, the way teams tune: shoot 3-5 at a speed, mark each HIT or MISS, try the next speed, and keep the speed with the best hit ratio (hits / shots: 3 in out of 4 = 3/4).
- ShotPoints.Trials - Class in com.crossbotics.ftchelper.finders
-
The Shot Tuner's shots at one spot: each shot fired waits to be marked HIT or MISS, and keeps the speed, hood angle and distance it was FIRED with (not what the screen says when you mark it).
- shotRpm() - Method in class com.crossbotics.ftchelper.finders.AimTunerOpMode
-
The speed for test shots when the launcher has no shot table, RPM.
- shots - Variable in class com.crossbotics.ftchelper.finders.ShotPoints.Saved
-
Shots that went in, and shots marked, at this speed (0, 0 if not counted).
- shots(double) - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Tally
-
Shots marked at this speed (no hood).
- shots(double, double) - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Tally
-
Shots marked at this speed and hood angle.
- ShotStats - Class in com.crossbotics.ftchelper.launcher
-
Firing stats: what each fed piece did to the flywheel, for tuning the shot modes.
- ShotStats() - Constructor for class com.crossbotics.ftchelper.launcher.ShotStats
- ShotStats.Shot - Class in com.crossbotics.ftchelper.launcher
-
One fed piece.
- ShotTable - Class in com.crossbotics.ftchelper.launcher
-
Turns a distance into a shot: flywheel RPM and hood angle.
- ShotTable() - Constructor for class com.crossbotics.ftchelper.launcher.ShotTable
- ShotTable.Shot - Class in com.crossbotics.ftchelper.launcher
-
One shot setting: at
distance(inches), spin torpmwith the hood athoodDegdegrees. - ShotTunerOpMode - Class in com.crossbotics.ftchelper.finders
-
Builds the shot table: the flywheel speed (and hood angle) for each distance.
- ShotTunerOpMode() - Constructor for class com.crossbotics.ftchelper.finders.ShotTunerOpMode
- show(LightColor) - Method in class com.crossbotics.ftchelper.robot.Lights
-
Starts a rule: the color to show.
- show(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.AimTunerOpMode
- show(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.CameraFixCheckOpMode
- show(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.CharacterizerOpMode
- show(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.DriveTunerOpMode
- show(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.EncoderCheckOpMode
- show(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.FeedStopFinderOpMode
- show(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.FeedTimeFinderOpMode
- show(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.FinderOpMode
-
The finder's own screen lines, every loop.
- show(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.FlywheelFinderOpMode
- show(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.HoodFinderOpMode
- show(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.MotorDirectionCheckOpMode
- show(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.MotorFinderOpMode
- show(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.MoveTunerOpMode
- show(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.OdometryTunerOpMode
- show(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.PieceTunerOpMode
- show(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.ServoFinderOpMode
- show(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
- show(String, Object) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Shows one line of your own on the Driver Hub in this loop, under the library's warnings: use it in
RobotDefinition.duringInitandRobotDefinition.everyLoop(java.lang.Runnable)(call it every loop: the screen starts empty each loop). - show(String, Supplier<?>) - Method in class com.crossbotics.ftchelper.robot.ControlMap
-
Shows a value of your own on the Driver Station during the match, read again every loop.
- showAndWait(LinearOpMode, RuntimeException) - Static method in class com.crossbotics.ftchelper.core.InitStop
-
Shows
eas plain lines and waits until STOP (BLOCKS: on purpose, nothing else runs). - showing() - Method in class com.crossbotics.ftchelper.robot.Lights
-
What the light shows right now: OFF in a blink's dark half.
- showInit(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.AimTunerOpMode
- showInit(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.CameraFixCheckOpMode
- showInit(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.CharacterizerOpMode
- showInit(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.DriveTunerOpMode
- showInit(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.EncoderCheckOpMode
- showInit(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.FeedStopFinderOpMode
- showInit(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.FeedTimeFinderOpMode
- showInit(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.FinderOpMode
-
What INIT shows (the controls, a safety note).
- showInit(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.FlywheelFinderOpMode
- showInit(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.HoodFinderOpMode
- showInit(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.MotorDirectionCheckOpMode
- showInit(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.MotorFinderOpMode
- showInit(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.MoveTunerOpMode
- showInit(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.PieceTunerOpMode
- showInit(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.ServoFinderOpMode
- showInit(RobotTelemetry) - Method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
- shown() - Static method in class com.crossbotics.ftchelper.tuning.Tunable
-
The tunables the tuning menu shows: every one but those of parts that are not on the robot (see
Tunable.hideGroup(java.lang.String, boolean)). - showNote(String) - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
Shows
textas a warning at the top of the Driver Station for 3 seconds (e.g. - showsAllianceAtInit() - Method in class com.crossbotics.ftchelper.robot.Lights
-
True while the light shows the alliance in INIT (not turned off).
- shutdown() - Method in class com.crossbotics.ftchelper.util.BackgroundWorker
-
Stops the thread.
- sign() - Method in enum class com.crossbotics.ftchelper.match.Alliance
-
+1 for blue, -1 for red.
- simLines() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
The simulator robot file's lines from the code: the drive, then each module's (see
./gradlew :sim:fromRobot). - SIMULATOR_PROPERTY - Static variable in class com.crossbotics.ftchelper.auto.EasyAuto
-
Set to "true" by the simulator; autonomous then runs with an untuned drive (with a warning).
- simWords() - Method in class com.crossbotics.ftchelper.robot.Motors.Kind
-
The words for the simulator's robot file:
part=IDfor a catalog motor, its own numbers (ticksPerRev=28, rpm=5800) for a custom one ("" when none is known). - simWords(double, double) - Method in class com.crossbotics.ftchelper.robot.Parts.ServoPart
-
The words for the simulator's robot file:
part=IDfor a catalog servo; for a custom one its turn over the file's pulse range and its speed (rangeDeg=270, secPer60=0.2), "" when those are not known. - size() - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Number of steps added.
- size() - Method in class com.crossbotics.ftchelper.finders.NudgeStep
- size() - Method in class com.crossbotics.ftchelper.finders.ShotPoints
-
How many points are saved.
- sizeIn(double) - Method in class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
The real size of what it looks at, in inches: its longest side as the camera sees it (an AprilTag's black square; a ball's width).
- sizeIn(double, double, double) - Method in class com.crossbotics.ftchelper.robot.Shape
-
Shape.sizeMm(double, double, double)in inches. - sizeMm(double, double, double) - Method in class com.crossbotics.ftchelper.robot.Shape
-
Its box in mm: forward x left-right x up (an arm: length x width x thickness at 0 degrees).
- SIZES - Static variable in class com.crossbotics.ftchelper.finders.NudgeStep
-
The step sizes, biggest first.
- skip() - Method in class com.crossbotics.ftchelper.robot.EncoderMotor
-
Why the check skips this motor ("" = it is checked), e.g.
- skipped() - Method in class com.crossbotics.ftchelper.robot.Action
-
The parts this run (or the last one) skipped because they are not on the robot (marked
optional()in Robot.java and missing from the configuration), e.g. - skipped(int) - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
True if setting i is skipped (the camera refused it, or sent no pictures from it).
- SlewRateLimiter - Class in com.crossbotics.ftchelper.control
-
Stops a value from changing too fast.
- SlewRateLimiter(double) - Constructor for class com.crossbotics.ftchelper.control.SlewRateLimiter
-
Same limit for speeding up and slowing down.
- SlewRateLimiter(double, double) - Constructor for class com.crossbotics.ftchelper.control.SlewRateLimiter
-
Different limits for moving away from zero (speeding up) and toward zero (slowing down).
- SlewRateLimiter(double, double, LongSupplier) - Constructor for class com.crossbotics.ftchelper.control.SlewRateLimiter
-
Makes a limiter with your own clock.
- slide() - Static method in class com.crossbotics.ftchelper.robot.Shape
-
A part that moves in a straight line along its
Shape.axis(default up):sizeMmis one stage,atMmthe bottom of the fixed stage. - slide(String) - Static method in class com.crossbotics.ftchelper.robot.Lift
-
A lift on this motor.
- slow() - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
Slow driving, for one driver (
Tunables.Drive.slowSpeed). - slow(Key) - Method in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
Slow driving.
- SLOW - Enum constant in enum class com.crossbotics.ftchelper.teleop.LibraryButtons.Job
- SLOW_ACTION_MS - Static variable in class com.crossbotics.ftchelper.gamepad.ControllerBindings
-
An action slower than this (milliseconds) is reported by
ControllerBindings.getSlowActionWarning(). - SLOW_TOGGLE - Enum constant in enum class com.crossbotics.ftchelper.teleop.LibraryButtons.Job
- SLOW_UPDATE_MS - Static variable in class com.crossbotics.ftchelper.core.Subsystems
-
A part whose update() takes longer than this (milliseconds) is reported in telemetry.
- slowDownIn - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
Slow down over at least this many inches at the end of a move (0 = only
taperStartFraction). - slowScale(double, double) - Static method in class com.crossbotics.ftchelper.gamepad.StickShaping
-
Turns a trigger into a speed multiplier: not pressed = full speed, fully pressed = slowest.
- slowSpeed() - Method in class com.crossbotics.ftchelper.robot.ControlMap
- slowSpeed() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
Speed at a full squeeze of the slow trigger, 0 to 1.
- slowSpeed(double) - Method in class com.crossbotics.ftchelper.drive.DriverControls
-
Speed at a full squeeze of the left trigger, 0 to 1.
- slowToggle(Key) - Method in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
Slow on/off: each press switches slow driving on or off.
- slowZone(double, double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Slow down within
degof a limit, down topowerAtLimit(0 to 1). - slowZone(double, double) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
Slow down within
distanceunits of a limit, down topowerAtLimit(0 to 1), so it does not slam into the end of its travel. - smaller() - Method in class com.crossbotics.ftchelper.finders.NudgeStep
-
D-pad left: the next smaller step (stays at the smallest).
- smoothed(double[], double[]) - Static method in class com.crossbotics.ftchelper.finders.CharacterizeMath
-
Speeds averaged over WINDOW_SEC each side (the same window as the speeds-up).
- soft() - Method in class com.crossbotics.ftchelper.robot.Shape
-
A soft roller (surgical tubing, flaps): it bends against the field, so in the simulator only game pieces touch it; the field does not stop it.
- SoftLimits - Class in com.crossbotics.ftchelper.safety
-
The rule that keeps a mechanism inside its safe range.
- solve(double, double, double, double, double, double) - Method in class com.crossbotics.ftchelper.vision.MovingShot
-
Brings a goal seen in an old picture forward to now, leads it for the flight time, and says where to aim the shooter.
- source() - Method in class com.crossbotics.ftchelper.finders.ShotPoints.DistanceAverage
-
Where the readings came from ("camera", "odometry"), "" if none yet.
- source() - Method in class com.crossbotics.ftchelper.robot.Aim
-
Where
Aim.goal()comes from now: CAMERA, ODOMETRY or NONE. - source() - Method in class com.crossbotics.ftchelper.robot.Camera
-
The camera inside (a LimelightTags, WebcamTags or HuskyLensCamera), for anything this module does not offer.
- source() - Method in class com.crossbotics.ftchelper.tuning.Tunable
-
Where the code value came from (see
Tunable.source(String)), "" when it was written as a number. - source(String) - Method in class com.crossbotics.ftchelper.tuning.Tunable
-
Says where the code value came from, shown next to it in the tuning menu while it is not changed: Tunables.java wrote DEFAULT_FROM_CATALOG, so the library worked it out ("from the catalog (gobilda-5203-435)", "general starting value (no part in Robot.java)").
- sourceOf(TargetObservation) - Static method in class com.crossbotics.ftchelper.robot.Aim
-
CAMERA, ODOMETRY or NONE (null), for a target from
Aim.goal()orAim.fromOdometry(). - SPEED_TEST_MARGIN - Static variable in class com.crossbotics.ftchelper.finders.MotorFinderOpMode
-
The speed test stops this share of the range before the HIGH end, so it never hits it.
- speedFromDistance(Camera) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Sets the speed from this camera's distance to the goal (
Tunables...speedByDistance). - speedFromOdometry() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Sets the speed from the odometry's distance to the goal, with NO camera: where the robot is (
robot.pose()) andTunables.Aim.goalX, goalY(seeAim). - speedInPerSec() - Method in class com.crossbotics.ftchelper.odometry.PoseTracker
-
Inches per second (how fast the robot moves).
- speedMode() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Speed from the distance to the goal: on from START when
Launcher.speedFromDistance(com.crossbotics.ftchelper.robot.Camera)orLauncher.speedFromOdometry()is used. - speedOn(Pad.Button, Pad.Button) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Puts the speed buttons on
upanddown, inControls.java(the launcher's usual D-pad up and down): a tap is one step (with a shot table, the speed trim bytrimStepPercent; with a fixed speed,stepRpm), held is 4 steps a second, a double-tap ofdowngoes back to no trim, and when last match's trim is offered at INIT, a double-tap ofupuses it. - speedRpm() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Tunables.Launcher.speedRpm: the speed with no shot table (RPM).
- speedScale(double) - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
Multiplies the shot speed (from
Launcher.setRpm(double)or the table) by this, e.g. - Spelling - Class in com.crossbotics.ftchelper.util
-
"Did you mean ...?" for names typed by hand: a position name, a Tunables field.
- spin(boolean) - Method in class com.crossbotics.ftchelper.robot.FeedTest
-
Spins the wheel up to the launcher's shot speed (
speedRpm), or stops it. - spin(boolean) - Method in class com.crossbotics.ftchelper.robot.FeedTimeTest
-
Spins the wheel up to the launcher's shot speed (
speedRpm), or stops it. - spinAtStart() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Spins up at START (in autonomous and TeleOp), so it is at speed when the first shot is wanted.
- spinAtStart(boolean) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
true: spins up at START (seeLauncher.spinAtStart()). - SpinMotor - Class in com.crossbotics.ftchelper.mechanism
-
A motor that spins: an intake, a roller, a conveyor, a spinner.
- SpinMotor(String, DcMotorEx) - Constructor for class com.crossbotics.ftchelper.mechanism.SpinMotor
-
Wraps a motor you already set up.
- SpinMotor.State - Enum Class in com.crossbotics.ftchelper.mechanism
-
What it is doing.
- SPINNING - Enum constant in enum class com.crossbotics.ftchelper.launcher.Launcher.State
- spinOn(Pad.Button) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Puts spin up / down on
buttoninstead of LB, inControls.java. - spinsAtStart() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
True if it spins up at START (decided at INIT: Tunables, then the code, then the feeder).
- SpinServo - Class in com.crossbotics.ftchelper.mechanism
-
A continuous-rotation servo (it spins like a small motor): a roller, a spinner, a small intake.
- SpinServo(String, CRServo) - Constructor for class com.crossbotics.ftchelper.mechanism.SpinServo
-
Wraps a CR servo you already have.
- spinUp() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
Spins the flywheel up to the shot speed and keeps it there.
- spinUp() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Spins up to the shot speed and keeps it there.
- spinUpStep() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
A step: spin up and wait until ready (or the ready timeout).
- spinUpStep(double, double) - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
A step (autonomous): spin up and wait until ready (or
timeoutSec). - SPOT_MOVE_IN - Static variable in class com.crossbotics.ftchelper.finders.ShotPoints.Trials
-
The marks start again when the distance moves more than this from where they began (inches).
- SPOT_MOVE_IN - Static variable in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
-
The marked shots start again when the distance moves more than this from where they began (inches).
- spotIn() - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Tally
-
The distance where these shots were marked (inches), NaN before the first mark.
- SPRAY - Enum constant in enum class com.crossbotics.ftchelper.launcher.Launcher.ShotMode
- SPRAY_MIN_SHARE - Static variable in class com.crossbotics.ftchelper.launcher.Launcher
-
SPRAY feeds only when the wheel turns at least this share of its target speed (0.5).
- sprayEnabled() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
True when Tunables lets the launcher SPRAY (
sprayEnabled = true). - sprayOnTapHold() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
True when tap, then hold the fire button sprays (Tunables
sprayEnabledandsprayOnTapHold). - stage() - Method in class com.crossbotics.ftchelper.robot.Aim
-
The aim's stage now: NOT_SEEN, SEEN, IN_RANGE or LOCKED.
- StallDetector - Class in com.crossbotics.ftchelper.drive
-
Tells when a move is stuck: the distance left has not gone down enough for a while.
- StallDetector(double, double) - Constructor for class com.crossbotics.ftchelper.drive.StallDetector
- STALLED - Enum constant in enum class com.crossbotics.ftchelper.drive.AutoDrive.Result
-
Stopped early because the robot was stuck.
- STALLED - Enum constant in enum class com.crossbotics.ftchelper.drive.RouteDriver.Result
-
It made no progress: pushing a wall, a box you did not list, or another robot.
- stallExitEnabled - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
Stop a move early if the robot is stuck (pushing a wall or another robot).
- stallProgressIn - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
The robot counts as stuck if it gets less than
AutoDriveConfig.stallProgressIncloser to the target withinAutoDriveConfig.stallTimeSec. - stallTimeSec - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
- standardLibraryButtons() - Method in class com.crossbotics.ftchelper.robot.ControlMap
- standardLibraryButtons() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
The defaults before
EasyTeleOp.libraryButtons(LibraryButtons):LibraryButtons.twoDrivers(), with field-centric onEasyTeleOp.fieldCentricButton(). - start - Variable in class com.crossbotics.ftchelper.robot.Pad
-
BACK and START.
- start() - Method in interface com.crossbotics.ftchelper.auto.PathJob
-
Starts the path.
- start() - Method in class com.crossbotics.ftchelper.match.MatchTimer
-
Starts counting (call right after
waitForStart()). - start() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
START in your own OpMode: each part's start (a turret going to its start angle) and your
RobotDefinition.atStartactions. - start() - Method in class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
Starts reading.
- start() - Method in class com.crossbotics.ftchelper.vision.LimelightTags
-
Starts the Limelight.
- start() - Method in interface com.crossbotics.ftchelper.vision.TargetSource
-
Starts the camera.
- start() - Method in class com.crossbotics.ftchelper.vision.WebcamTags
-
Starts the camera and the AprilTag finder.
- start(String, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Where to place the robot (shown in INIT) and which way it faces, degrees from "straight away from your driver", counterclockwise + (TeleOp's field-centric forward uses it).
- start(String, double, double, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Where to place the robot: the note for the drive team (shown in INIT), and the spot as seen from your drivers' wall, written for BLUE:
xIninches to the right of the field's center line,yInfrom the center toward the far wall (negative = your half), heading 0 = facing away from you, counterclockwise +. - start(List<double[]>, double, double, double) - Method in class com.crossbotics.ftchelper.drive.RouteDriver
-
Starts a route.
- START - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Btn
- startAngle() - Method in class com.crossbotics.ftchelper.robot.Hood
-
Tunables
startAngle: where it goes at START (default angleA). - startAngle(double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
The turret's angle when the robot is turned on (used when there is no home switch).
- startAt(double) - Method in class com.crossbotics.ftchelper.robot.Shape
-
Where a passive arm is at the start of a match, degrees.
- started() - Method in class com.crossbotics.ftchelper.robot.Camera
-
TeleOp's START work for this camera (an unfinished lighting test stops and keeps the best setting so far), for an OpMode that does not run the robot's START (the Shot Tuner).
- startFieldCentric() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
True to start in field-centric mode.
- startForTests() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
For JUnit tests only (with
PretendDevices): what START does in an OpMode (each part's start, like a servo turret going to its start angle, and theRobotDefinition.atStartactions). - startHeadingDeg() - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
Which way the robot faces at the start, compared with "straight away from your driver", in degrees (left = positive).
- startHeadingDeg() - Method in class com.crossbotics.ftchelper.robot.Auto
- startHoodDeg() - Method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
-
The hood angle it starts at, in the hood's scale.
- Starting - Class in com.crossbotics.ftchelper.robot
-
Two words you can write in
Tunables.javain place of a number you do not know yet, so every setting is in the file from the first day and the file says which ones are still to do. - startingGains() - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
Uses
Flywheel.startingPidf(double)with this flywheel'sFlywheel.maxRpmandFlywheel.countsPerRev(set those first): gains for a first run when you have no tuned ones yet. - startingPidf(double) - Static method in class com.crossbotics.ftchelper.launcher.Flywheel
-
Starting speed-control gains from a top speed, before anything is tuned: {P, I, D, F}.
- startOffsetDeg() - Method in class com.crossbotics.ftchelper.finders.AimTunerOpMode
-
The offset it starts at, degrees (the one in your code now).
- startPosition() - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
Where to place the robot, shown in INIT so the drive team sets it up right.
- startPosition() - Method in class com.crossbotics.ftchelper.robot.Auto
- startRpm() - Method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
-
The speed it starts at, RPM.
- startSpotIn() - Method in class com.crossbotics.ftchelper.auto.EasyAuto
-
Where to place the robot, as seen from the BLUE drivers' wall (for RED: mirrored like the routes when
EasyAuto.mirrorForRed(), else the same numbers from the red wall): {x, y} in inches, x to the right of the field's center line, y from the center toward the far wall (negative = your half). - startSpotIn() - Method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
-
Where you put the robot before INIT, for the odometry: {x, y, heading} as seen from your drivers' wall (x inches right of the field's center line, y inches from the center toward the far wall, heading 0 = facing away from you, counterclockwise +).
- startSpotIn() - Method in class com.crossbotics.ftchelper.robot.Auto
- startStep(String) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
A step: start moving to a named position and go straight on (it keeps moving during the next steps).
- startsWith(int, String) - Method in class com.crossbotics.ftchelper.robot.Pieces
-
The pieces in the robot at INIT (a preload), e.g.
- startTable(String) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The shot table to start with, by name ("pollen" for
speedByDistancePollen). - status() - Method in class com.crossbotics.ftchelper.drive.DriverControls
-
One short line for telemetry, e.g.
- status() - Method in class com.crossbotics.ftchelper.odometry.DeadWheelOdometry
- status() - Method in class com.crossbotics.ftchelper.odometry.OtosOdometry
- status() - Method in class com.crossbotics.ftchelper.odometry.PinpointOdometry
- status() - Method in class com.crossbotics.ftchelper.odometry.PoseTracker
-
"ready", "calibrating", "Y pod not found"...
- status() - Method in class com.crossbotics.ftchelper.robot.Action
-
E.g.
- status() - Method in class com.crossbotics.ftchelper.robot.Interlock
-
What it is doing, for the Driver Station ("" when nothing is held).
- status() - Method in class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
e.g.
- status() - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
One line for the Driver Station, e.g.
- status() - Method in class com.crossbotics.ftchelper.vision.LimelightTags
-
e.g.
- status() - Method in interface com.crossbotics.ftchelper.vision.TargetSource
-
A short status for telemetry, e.g.
- status() - Method in class com.crossbotics.ftchelper.vision.WebcamTags
-
e.g.
- step() - Method in class com.crossbotics.ftchelper.finders.AimTunerOpMode
- step() - Method in class com.crossbotics.ftchelper.finders.CameraFixCheckOpMode
- step() - Method in class com.crossbotics.ftchelper.finders.CharacterizerOpMode
- step() - Method in class com.crossbotics.ftchelper.finders.DriveTunerOpMode
- step() - Method in class com.crossbotics.ftchelper.finders.EncoderCheckOpMode
- step() - Method in class com.crossbotics.ftchelper.finders.FeedStopFinderOpMode
- step() - Method in class com.crossbotics.ftchelper.finders.FeedTimeFinderOpMode
- step() - Method in class com.crossbotics.ftchelper.finders.FinderOpMode
-
Runs once every loop after the buttons: moves things, measures.
- step() - Method in class com.crossbotics.ftchelper.finders.FlywheelFinderOpMode
- step() - Method in class com.crossbotics.ftchelper.finders.HoodFinderOpMode
- step() - Method in class com.crossbotics.ftchelper.finders.MotorDirectionCheckOpMode
- step() - Method in class com.crossbotics.ftchelper.finders.MotorFinderOpMode
- step() - Method in class com.crossbotics.ftchelper.finders.MoveTunerOpMode
- step() - Method in class com.crossbotics.ftchelper.finders.OdometryTunerOpMode
- step() - Method in class com.crossbotics.ftchelper.finders.PieceTunerOpMode
- step() - Method in class com.crossbotics.ftchelper.finders.ServoFinderOpMode
- step() - Method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
- step() - Method in class com.crossbotics.ftchelper.tuning.Tunable
-
How much one D-pad press changes the value.
- step(int) - Method in class com.crossbotics.ftchelper.robot.Hood
-
One step per count (
stepAngle): +1 = a bigger angle, -1 = smaller. - step(int) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
One speed step, the launcher's own D-pad tap: with the speed from the distance, the trim by
trimStepPercent; with a fixed speed,stepRpm. - step(String, AutoStep) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Any step: a mechanism's step (e.g.
- step(String, AutoStep) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Any other step (a mechanism's step, or your own: see
AutoStep). - stepDown() - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
One named position down.
- stepDown() - Method in class com.crossbotics.ftchelper.robot.MotorPositions
-
Goes to the next position down.
- steps(Steps, R) - Method in class com.crossbotics.ftchelper.robot.Auto
-
The steps.
- Steps - Class in com.crossbotics.ftchelper.robot
-
The steps of one autonomous, read top to bottom (see
Auto). - stepTimeout(double) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
How long autonomous steps wait for a position before going on.
- stepUp() - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
One named position up (by value).
- stepUp() - Method in class com.crossbotics.ftchelper.robot.MotorPositions
-
Goes to the next position up (by value).
- sticks(double, double) - Method in class com.crossbotics.ftchelper.drive.DriverControls
-
How the sticks feel.
- StickShaping - Class in com.crossbotics.ftchelper.gamepad
-
Helpers that make sticks and triggers feel good to drive with.
- sticksSwapped() - Method in class com.crossbotics.ftchelper.drive.DriverControls
-
True when
DriverControls.swapSticks(boolean)is on. - sticksSwapped() - Method in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
True when the right stick drives and the left stick X turns.
- stop() - Method in interface com.crossbotics.ftchelper.core.Subsystem
-
Stops all motion.
- stop() - Method in class com.crossbotics.ftchelper.core.Subsystems
-
Stops every part.
- stop() - Method in class com.crossbotics.ftchelper.drive.AutoDrive
-
Stops all four wheels (brake).
- stop() - Method in class com.crossbotics.ftchelper.drive.DriverControls
-
All wheels to 0.
- stop() - Method in class com.crossbotics.ftchelper.drive.MecanumDrive
-
Sets all four wheel powers to 0.
- stop() - Method in class com.crossbotics.ftchelper.drive.TankDrive
-
Sets both sides to 0.
- stop() - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
Coasts to a stop (no braking: a fast flywheel must spin down freely).
- stop() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
Fully off: no shots, no idle speed.
- stop() - Method in class com.crossbotics.ftchelper.launcher.MotorFeeder
-
Stops the motor at once and ends any feed.
- stop() - Method in class com.crossbotics.ftchelper.launcher.ServoFeeder
-
Sends the arm back to rest if it was out, and ends any feed.
- stop() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Stops: no homing, no target, no power.
- stop() - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
Stops: no target, no power.
- stop() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
- stop() - Method in class com.crossbotics.ftchelper.mechanism.SpinMotor
-
Stop.
- stop() - Method in class com.crossbotics.ftchelper.mechanism.SpinServo
-
Stops spinning.
- stop() - Method in class com.crossbotics.ftchelper.robot.Camera
- stop() - Method in class com.crossbotics.ftchelper.robot.Hood
- stop() - Method in class com.crossbotics.ftchelper.robot.Indexer
- stop() - Method in class com.crossbotics.ftchelper.robot.Intake
- stop() - Method in class com.crossbotics.ftchelper.robot.Launcher
- stop() - Method in class com.crossbotics.ftchelper.robot.Lights
- stop() - Method in class com.crossbotics.ftchelper.robot.MotorPositions
- stop() - Method in class com.crossbotics.ftchelper.robot.Pieces
- stop() - Method in class com.crossbotics.ftchelper.robot.PieceSensor
- stop() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
STOP in your own OpMode (put it in a
finally, so it runs even after an error): stops the wheels and every part, then runs yourRobotDefinition.atStopcode. - stop() - Method in class com.crossbotics.ftchelper.robot.ServoPositions
- stop() - Method in class com.crossbotics.ftchelper.robot.Turret
- stop() - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
Stops the motor.
- stop() - Method in interface com.crossbotics.ftchelper.vision.TargetSource
-
Stopping a camera means closing it, so the next OpMode can use it.
- stopAll() - Method in class com.crossbotics.ftchelper.finders.AimTunerOpMode
- stopAll() - Method in class com.crossbotics.ftchelper.finders.CameraFixCheckOpMode
- stopAll() - Method in class com.crossbotics.ftchelper.finders.CharacterizerOpMode
- stopAll() - Method in class com.crossbotics.ftchelper.finders.DriveTunerOpMode
- stopAll() - Method in class com.crossbotics.ftchelper.finders.EncoderCheckOpMode
- stopAll() - Method in class com.crossbotics.ftchelper.finders.FeedStopFinderOpMode
- stopAll() - Method in class com.crossbotics.ftchelper.finders.FeedTimeFinderOpMode
- stopAll() - Method in class com.crossbotics.ftchelper.finders.FinderOpMode
-
Stops every motor and servo it moves.
- stopAll() - Method in class com.crossbotics.ftchelper.finders.FlywheelFinderOpMode
- stopAll() - Method in class com.crossbotics.ftchelper.finders.HoodFinderOpMode
- stopAll() - Method in class com.crossbotics.ftchelper.finders.MotorDirectionCheckOpMode
- stopAll() - Method in class com.crossbotics.ftchelper.finders.MotorFinderOpMode
- stopAll() - Method in class com.crossbotics.ftchelper.finders.MoveTunerOpMode
- stopAll() - Method in class com.crossbotics.ftchelper.finders.OdometryTunerOpMode
- stopAll() - Method in class com.crossbotics.ftchelper.finders.PieceTunerOpMode
- stopAll() - Method in class com.crossbotics.ftchelper.finders.ServoFinderOpMode
- stopAll() - Method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
- STOPPED - Enum constant in enum class com.crossbotics.ftchelper.drive.AutoDrive.Result
-
Stopped because the OpMode was stopped.
- STOPPED - Enum constant in enum class com.crossbotics.ftchelper.mechanism.SpinMotor.State
- stopRequested() - Method in class com.crossbotics.ftchelper.finders.Hosting
-
The host's isStopRequested(), or true after BACK (so the finder ends without running).
- stopRoute() - Method in class com.crossbotics.ftchelper.robot.ControlMap
-
Ends a running
ControlMap.route(java.lang.String, double, double, double, double)job now (nothing happens if none runs). - stopShooting() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
Cancels the shots still waiting (keeps spinning).
- stopsOnShot() - Method in class com.crossbotics.ftchelper.robot.FeedTimeTest
-
True when the feeder has
stopOnShot = true(each feed ends at the shot; feedSec is the limit). - stopStep() - Method in class com.crossbotics.ftchelper.mechanism.SpinMotor
-
A step: stop.
- stopsWhen(BooleanSupplier) - Method in class com.crossbotics.ftchelper.robot.Intake
-
Never runs IN while
conditionis true (pushing out still works), e.g. - stopUsing() - Static method in class com.crossbotics.ftchelper.testkit.PretendClock
-
The real clock again (put it in
@After). - stopWhen(BooleanSupplier) - Method in class com.crossbotics.ftchelper.launcher.MotorFeeder
-
Stop as soon as this is true (e.g.
- strafeCorrection - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
Mecanum wheels slip sideways: the wheels turn more than the robot moves.
- strafeCorrectionFor(double) - Method in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
The strafe correction for this side: + = right, - = left.
- strafeCorrectionLeft - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
The same for strafing LEFT, if the robot slips differently that way (weight to one side, worn rollers).
- style(int) - Static method in class com.crossbotics.ftchelper.gamepad.ButtonNames
-
The kind of gamepad 1 or 2.
- styleOf(Gamepad) - Static method in class com.crossbotics.ftchelper.gamepad.ButtonNames
-
The kind of names on this gamepad.
- submit(Runnable) - Method in class com.crossbotics.ftchelper.util.BackgroundWorker
-
Queues a job.
- submitLatest(String, Runnable) - Method in class com.crossbotics.ftchelper.util.BackgroundWorker
-
Queues a job, replacing a waiting job with the same key (only the newest one runs).
- Subsystem - Interface in com.crossbotics.ftchelper.core
-
One part of the robot (a lift, a claw, an intake, a launcher) that needs a little work every loop.
- subsystems(Subsystem) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
The mechanisms to keep updated during every step (a Subsystems group, or one Subsystem).
- Subsystems - Class in com.crossbotics.ftchelper.core
-
A group of
Subsystems that are updated, stopped and shown together. - Subsystems() - Constructor for class com.crossbotics.ftchelper.core.Subsystems
- suggestTurn(double, double) - Static method in class com.crossbotics.ftchelper.odometry.CameraPoseFix
-
The turnDeg that makes a Limelight yaw match our heading, to the nearest 90: for the Camera Fix Check (the robot standing still, its heading right).
- summary() - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Tally
-
Every try here with its hits, e.g.
- summary(List<ShotStats.Shot>) - Static method in class com.crossbotics.ftchelper.launcher.ShotStats
-
"drop avg 290 worst 340, recovery avg 0.20 worst 0.26 s" for these pieces ("" for none).
- swapSticks(boolean) - Method in class com.crossbotics.ftchelper.drive.DriverControls
-
True: drive (and strafe) with the RIGHT stick and turn with the LEFT stick's X, for drivers who like it that way round.
- swapSticks(boolean) - Method in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
True: drive (and strafe) with the RIGHT stick and turn with the LEFT stick's X.
- sweepStops(double, double) - Static method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
The sweep's stops, degrees from the start (+ = left): left in steps up to
sweepDeg, then right in steps down to-sweepDeg; both ends always included. - SWITCH_ALLIANCE - Enum constant in enum class com.crossbotics.ftchelper.teleop.LibraryButtons.Job
- SWITCH_ALLIANCE_SEC - Static variable in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
How long both "switch alliance" buttons are held (seconds): long, so it never happens by accident.
- switchAlliance() - Method in class com.crossbotics.ftchelper.teleop.EasyTeleOp
-
Switches the alliance now (BLUE to RED, or RED to BLUE), in case the wrong one was chosen: everything that reads
EasyTeleOp.alliance()orMatchMemorygets the new one, both gamepads buzz twice and the Driver Station says so. - switchAlliance(Key, Key) - Method in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
Turns on switching the alliance (BLUE / RED) during TeleOp: hold
keyandwithtogetherLibraryButtons.SWITCH_ALLIANCE_SECseconds. - switched() - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
The camera says it has the setting being tried now (its pictures are from it).
- switchFailed() - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
The camera refused the setting being tried: it gets no score and is skipped from now on.
- switchTimeoutMs(double) - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
The most time the camera gets to switch to a setting (milliseconds, default 1500).
T
- t - Variable in class com.crossbotics.ftchelper.finders.FinderOpMode
-
The Driver Station screen.
- table(ShotTable) - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
A shot table, used by
Launcher.setDistance(double). - table(String) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
A shot table by name, as Tunables.java has it ("pollen", "main"; case does not matter), or null if there is no such table.
- tableField(String) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The Tunables field a table came from ("speedByDistancePollen"), or null if there is no such table.
- tableFor(String, String...) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Says which shot table some game-piece kinds use, for
Launcher.tableFrom(java.util.function.Supplier<java.lang.String>): e.g. - tableFrom(Supplier<String>) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Picks the shot table from your own code every loop, e.g.
- tableName() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The shot table in use ("pollen", "main"), or null if there is none.
- tableNames() - Method in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
-
The tables you can tune, by name ("pollen" for
speedByDistancePollen, "main" forspeedByDistance). - tableNames() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Every shot table's name, in order ("main" first, then by name).
- tableOn(Pad.Button) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Puts "next shot table" on
button, inControls.java(the launcher's usual D-pad right): each press picks the next table. - tag(int, int) - Method in class com.crossbotics.ftchelper.robot.Camera
-
HuskyLens: which real AprilTag a taught number is.
- tag(int, int) - Method in class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
Says which real AprilTag a taught number is.
- TagGroup - Class in com.crossbotics.ftchelper.vision
-
A group of AprilTags in a row that mark one target (BIOBUZZ: the 4 tags under each CELL), so a camera can report the GROUP as one target with one aiming point, even when it sees only some of the tags.
- TagGroup(String, int[], double[]) - Constructor for class com.crossbotics.ftchelper.vision.TagGroup
- TagGroup(String, int[], double[], String) - Constructor for class com.crossbotics.ftchelper.vision.TagGroup
-
A group on a field element that has more than one group (e.g.
- tags - Variable in class com.crossbotics.ftchelper.vision.LimelightTags.FieldSighting
- TAGS - Enum constant in enum class com.crossbotics.ftchelper.vision.HuskyLensCamera.Mode
-
AprilTags (TAG_RECOGNITION).
- tally() - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Trials
-
The hits and shots marked here.
- Tally() - Constructor for class com.crossbotics.ftchelper.finders.ShotPoints.Tally
- tank() - Static method in class com.crossbotics.ftchelper.drive.DriveConfig
-
Settings for a four-motor standard (tank) drive: front_left, front_right, back_left, back_right.
- tank(double, double) - Method in class com.crossbotics.ftchelper.drive.TankDrive
-
Tank drive: one value for each side.
- tank(double, double, double) - Static method in class com.crossbotics.ftchelper.drive.DifferentialMixer
-
"Tank" style: one stick for each side.
- tank(double, double, double) - Method in class com.crossbotics.ftchelper.drive.DriverControls
-
Two-stick "tank style": one value per side, -1 to 1.
- tank(double, double, double) - Method in class com.crossbotics.ftchelper.drive.TankDrive
-
Tank drive with a speed multiplier 0 to 1.
- tank(String, String) - Static method in class com.crossbotics.ftchelper.robot.Drive
-
A two-motor standard (tank) drive, one motor per side.
- tank(String, String, String, String) - Static method in class com.crossbotics.ftchelper.robot.Drive
-
A four-motor standard (tank) drive.
- TANK - Enum constant in enum class com.crossbotics.ftchelper.drive.DriveConfig.DriveType
-
"Standard" drive (also called tank or differential drive): normal wheels, a left side and a right side.
- TankDrive - Class in com.crossbotics.ftchelper.drive
-
Drives a standard (tank / differential) chassis with 2 or 4 motors.
- TankDrive(HardwareMap, DriveConfig) - Constructor for class com.crossbotics.ftchelper.drive.TankDrive
-
Gets the motors, sets their directions and brake mode, and sets power to 0.
- tankTwoMotor() - Static method in class com.crossbotics.ftchelper.drive.DriveConfig
-
Settings for a two-motor standard (tank) drive.
- tap(Action) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
Pad.Button.tap(Runnable)with an action (a tap again while it runs cancels it). - tap(Runnable) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
A quick tap (press and let go) runs
job. - taperFraction(double) - Method in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
The part of a move of this length (a fraction, 0 to 1) where it slows down: the larger of
taperStartFractionandslowDownInover the length. - taperSpeed(double, double, double, double) - Static method in class com.crossbotics.ftchelper.drive.MotionMath
-
The speed for this part of a move: full speed ("cruise") until the last part, then a straight-line slow-down to
minSpeedat the end ("taper"). - taperStartFraction - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
The last part of the move (as a fraction, 0.10 = last 10%) where speed tapers down.
- tapOrDoubleTap(Runnable, Runnable) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
- taps(int, Action) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
Pad.Button.taps(int, Runnable)with an action. - taps(int, Runnable) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
nquick taps in a row (2 to 5) runjob, e.g. - tapThenHold(Runnable) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
A quick tap, then press again and hold:
whileHeldruns every loop while held (last season's "spray": tap, then hold fire). - tapThenHold(Runnable, Runnable) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
Pad.Button.tapThenHold(Runnable), andonReleaseonce when it is let go. - target(int) - Method in class com.crossbotics.ftchelper.robot.Camera
-
The tag with this number, or null if not seen now.
- target(int) - Method in interface com.crossbotics.ftchelper.vision.TargetSource
-
The target with this id in the latest picture, or null (nothing: not seen now).
- target(String) - Method in class com.crossbotics.ftchelper.robot.Camera
-
The target with this name (a tag group or a tag's name), or null if not seen now.
- target(String) - Method in interface com.crossbotics.ftchelper.vision.TargetSource
-
The target with this name (e.g.
- targetAngle() - Method in class com.crossbotics.ftchelper.robot.Hood
-
The angle the hood is going to (or is at); NaN before its first move (START).
- TargetObservation - Class in com.crossbotics.ftchelper.vision
-
One target the camera sees, in the same form for every camera (webcam or Limelight).
- TargetObservation(int, String, double, double, long) - Constructor for class com.crossbotics.ftchelper.vision.TargetObservation
-
Makes one observation.
- TargetObservation(int, String, double, double, long, double) - Constructor for class com.crossbotics.ftchelper.vision.TargetObservation
-
Makes one observation with the tag's turn in the picture.
- TargetObservation(int, String, double, double, long, double, double) - Constructor for class com.crossbotics.ftchelper.vision.TargetObservation
-
Makes one observation with the tag's turn in the picture and which way its face points.
- targetRpm - Variable in class com.crossbotics.ftchelper.launcher.ShotStats.Shot
-
The wheel's speed and its target when the piece was fed.
- targetRpm() - Method in class com.crossbotics.ftchelper.robot.FeedTest
-
The speed it spins to: the launcher's
speedRpm, RPM. - targetRpm() - Method in class com.crossbotics.ftchelper.robot.FeedTimeTest
-
The speed it spins to: the launcher's
speedRpm, RPM. - targetRpm() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The speed it is aiming for now, RPM.
- targets() - Method in class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
Everything seen in the newest reading (empty if nothing, or if it is too old).
- targets() - Method in class com.crossbotics.ftchelper.vision.LimelightTags
- targets() - Method in interface com.crossbotics.ftchelper.vision.TargetSource
-
Everything seen in the latest picture (empty if nothing, or if the latest picture is too old).
- targets() - Method in class com.crossbotics.ftchelper.vision.WebcamTags
- TargetSource - Interface in com.crossbotics.ftchelper.vision
-
A camera that finds targets.
- telemetry - Variable in class com.crossbotics.ftchelper.testkit.PretendTelemetry
-
The SDK telemetry to hand to code that wants one (e.g.
- telemetry - Variable in class com.crossbotics.ftchelper.finders.AimTunerOpMode
- telemetry - Variable in class com.crossbotics.ftchelper.robot.Auto
- telemetry - Variable in class com.crossbotics.ftchelper.finders.CameraFixCheckOpMode
- telemetry - Variable in class com.crossbotics.ftchelper.finders.CharacterizerOpMode
- telemetry - Variable in class com.crossbotics.ftchelper.robot.ControlMap
- telemetry - Variable in class com.crossbotics.ftchelper.finders.DriveTunerOpMode
- telemetry - Variable in class com.crossbotics.ftchelper.auto.EasyAuto
- telemetry - Variable in class com.crossbotics.ftchelper.teleop.EasyTeleOp
- telemetry - Variable in class com.crossbotics.ftchelper.finders.EncoderCheckOpMode
- telemetry - Variable in class com.crossbotics.ftchelper.finders.FeedStopFinderOpMode
- telemetry - Variable in class com.crossbotics.ftchelper.finders.FeedTimeFinderOpMode
- telemetry - Variable in class com.crossbotics.ftchelper.finders.FinderOpMode
- telemetry - Variable in class com.crossbotics.ftchelper.finders.FlywheelFinderOpMode
- telemetry - Variable in class com.crossbotics.ftchelper.testing.HardwareCheckOpMode
- telemetry - Variable in class com.crossbotics.ftchelper.finders.HoodFinderOpMode
- telemetry - Variable in class com.crossbotics.ftchelper.finders.MotorDirectionCheckOpMode
- telemetry - Variable in class com.crossbotics.ftchelper.finders.MotorFinderOpMode
- telemetry - Variable in class com.crossbotics.ftchelper.finders.MoveTunerOpMode
- telemetry - Variable in class com.crossbotics.ftchelper.finders.OdometryTunerOpMode
- telemetry - Variable in class com.crossbotics.ftchelper.finders.PieceTunerOpMode
- telemetry - Variable in class com.crossbotics.ftchelper.finders.ServoFinderOpMode
- telemetry - Variable in class com.crossbotics.ftchelper.finders.ShotTunerOpMode
- telemetry - Variable in class com.crossbotics.ftchelper.finders.TuneAndCheckOpMode
- telemetry() - Method in interface com.crossbotics.ftchelper.auto.AutoContext
-
The telemetry (add your own lines; the routine sends them).
- telemetry(RobotTelemetry) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
The telemetry to show steps on (made for you if you do not give one).
- TelemetryHelper - Class in com.crossbotics.ftchelper.telemetry
-
Shortcuts for clear, same-every-time Driver Station telemetry.
- teleOp() - Static method in class com.crossbotics.ftchelper.match.MatchTimer
-
A 2-minute TeleOp timer.
- TELEOP_SECONDS - Static variable in class com.crossbotics.ftchelper.match.MatchTimer
-
FTC driver-controlled (TeleOp) length (seconds).
- testDistanceIn() - Method in class com.crossbotics.ftchelper.finders.DriveTunerOpMode
-
How far each distance test goes, inches.
- text(String) - Method in class com.crossbotics.ftchelper.telemetry.RobotTelemetry
-
A plain text line for drivers.
- then(Runnable...) - Method in class com.crossbotics.ftchelper.robot.Action
-
Does these at once, then goes to the next step.
- thenPark() - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
The steps after this are PARK steps: they run even when the main steps ran out of time.
- threeWheels(String, DcMotorEx, DcMotorEx, DcMotorEx, double, double, double, boolean, boolean, boolean) - Static method in class com.crossbotics.ftchelper.odometry.DeadWheelOdometry
-
Three wheels.
- threeWheels(String, String, String) - Static method in class com.crossbotics.ftchelper.robot.Odometry
-
Three dead wheels on encoder ports: two that measure forward (left and right of the center) and one that measures sideways.
- throwInsteadOfShowing(boolean) - Static method in class com.crossbotics.ftchelper.core.InitStop
-
The simulator only: INIT errors stop the OpMode with the error, as before (its own panel shows it).
- ticksPerInch() - Method in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
Encoder counts per inch of wheel travel, worked out from the values above.
- ticksPerMm(double) - Method in class com.crossbotics.ftchelper.robot.Odometry
-
Other pods: encoder counts per mm of wheel travel.
- ticksPerRev - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
Encoder counts per motor output turn.
- ticksPerSecPerPower() - Method in class com.crossbotics.ftchelper.finders.CharacterizeMath.Fit
-
Top speed per unit of power, counts per second (what the simulator calls maxTicksPerSec).
- ticksPerSecToRpm(double, double) - Static method in class com.crossbotics.ftchelper.finders.FinderMath
-
Counts per second to RPM (turns per minute), for this many counts per turn.
- tiltDeg(double) - Method in class com.crossbotics.ftchelper.robot.Shape
-
Mounted turned about its parent's left-right line, in degrees (front up +).
- Time - Class in com.crossbotics.ftchelper.core
-
The library's clock: the time now, in nanoseconds.
- TIMED_OUT - Enum constant in enum class com.crossbotics.ftchelper.drive.AutoDrive.Result
-
Stopped because it took longer than
actionTimeoutSec. - TIMED_OUT - Enum constant in enum class com.crossbotics.ftchelper.drive.RouteDriver.Result
-
One line of the route took longer than
actionTimeoutSec. - timeNanos - Variable in class com.crossbotics.ftchelper.vision.LimelightTags.FieldSighting
-
When the picture was taken (System.nanoTime clock).
- timeNanos - Variable in class com.crossbotics.ftchelper.vision.TargetObservation
-
When the picture was taken (
System.nanoTime()clock, nanoseconds). - timer(MatchTimer) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
A match timer already started at START (made and started by
AutoRoutine.runAll()if not given). - times(double, double) - Method in class com.crossbotics.ftchelper.launcher.ServoFeeder
-
Seconds to push, and seconds to come back before the next piece.
- toDegrees(double) - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
A raw position in degrees (needs
PositionServo.degrees(double, double, double, double)). - toggle() - Method in class com.crossbotics.ftchelper.drive.ReverseDrive
-
Flips the mode.
- toggle() - Method in class com.crossbotics.ftchelper.robot.Claw
-
Closes it if it is open, else opens it.
- toggle() - Method in class com.crossbotics.ftchelper.robot.Intake
-
On (in) if stopped, stopped if running.
- toggle() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Spins up if idle, idles if spinning.
- toggle() - Method in class com.crossbotics.ftchelper.robot.Mode
-
On if off, off if on.
- toggle() - Method in interface com.crossbotics.ftchelper.robot.Toggleable
-
Switches on if off, off if on.
- toggle() - Method in class com.crossbotics.ftchelper.tuning.TuningMenu
-
Opens or closes the menu.
- toggle(Toggleable) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
Each press switches the part (an intake, a launcher, a claw, a mode) on or off.
- toggle(Runnable, Runnable) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
Each press flips between running
onEnableandonDisable. - toggle(String, String) - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
Goes to
bif at (or going to)a, else toa. - TOGGLE - Enum constant in enum class com.crossbotics.ftchelper.robot.Feature.Kind
-
A TeleOp on/off switch for a button, in Controls.java.
- Toggleable - Interface in com.crossbotics.ftchelper.robot
- toggleDebug() - Method in class com.crossbotics.ftchelper.telemetry.RobotTelemetry
-
Flips debug on/off.
- toggleFieldCentric() - Method in class com.crossbotics.ftchelper.drive.DriverControls
-
Switches field-centric on/off; returns the new state.
- toggleIn() - Method in class com.crossbotics.ftchelper.mechanism.SpinMotor
-
IN if it was not running IN, else STOPPED.
- toggleOut() - Method in class com.crossbotics.ftchelper.mechanism.SpinMotor
-
OUT if it was not running OUT, else STOPPED.
- togglePause() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
Pauses if running, resumes if paused.
- ToggleRumble - Class in com.crossbotics.ftchelper.gamepad
-
Buzzes the gamepad to confirm a toggle, so the driver knows without looking: two buzzes = ON, one buzz = OFF.
- ToggleRumble(Gamepad) - Constructor for class com.crossbotics.ftchelper.gamepad.ToggleRumble
-
Makes one that uses the real clock.
- ToggleRumble(Gamepad, LongSupplier) - Constructor for class com.crossbotics.ftchelper.gamepad.ToggleRumble
-
Makes one with your own clock.
- tolerance(double) - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
Ready when within this many RPM of the target.
- tolerance(double) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Aimed when within this many degrees.
- tolerance(double) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
How close counts as "there", in units.
- toOurs(double, double) - Method in class com.crossbotics.ftchelper.odometry.CameraPoseFix
-
Our frame from the Limelight's: (x, y) turned
turnDegcounterclockwise. - toPosition(double) - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
An angle in degrees as a raw position (needs
PositionServo.degrees(double, double, double, double)). - topSpeed() - Method in class com.crossbotics.ftchelper.control.Feedforward
-
The top speed at full power (counts per second), 0 if kV is not set.
- toRobotFrame(double, double, double) - Static method in class com.crossbotics.ftchelper.vision.MovingShot
-
The robot's speed over the field turned into the robot's own frame: {forward, left}, inches per second.
- toString() - Method in class com.crossbotics.ftchelper.control.Feedforward
- toString() - Method in class com.crossbotics.ftchelper.launcher.ShotTable.Shot
- toString() - Method in class com.crossbotics.ftchelper.robot.EncoderMotor
- toString() - Method in class com.crossbotics.ftchelper.robot.Feature
- toString() - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
"G2 RT".
- toString() - Method in class com.crossbotics.ftchelper.robot.Pad.Stick
-
"G2 left stick Y".
- toString() - Method in class com.crossbotics.ftchelper.robot.Pad
-
"G1" or "G2".
- toString() - Method in class com.crossbotics.ftchelper.teleop.Key
-
"G1 BACK".
- toString() - Method in class com.crossbotics.ftchelper.util.FieldPose
-
The pose as text for telemetry, e.g.
- toString() - Method in class com.crossbotics.ftchelper.vision.MovingShot.Result
- toString() - Method in class com.crossbotics.ftchelper.vision.TargetObservation
-
A short line of text for the Driver Station, e.g.
- totalIn() - Method in interface com.crossbotics.ftchelper.auto.PathJob
-
The length of the running path, inches, all parts together.
- totalIn() - Method in interface com.crossbotics.ftchelper.robot.PathFollower
-
The length of the running path, inches, all parts together (
PathAt.fraction(double, java.lang.String, java.lang.Runnable)andPathAt.inchesDone(double, java.lang.String, java.lang.Runnable)use it). - totalShots() - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Tally
-
Shots marked at every speed.
- TOUCHPAD - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Btn
- trackWidthIn(double) - Method in class com.crossbotics.ftchelper.robot.Odometry
-
Three dead wheels: the distance between the left and right forward-measuring pods, inches.
- travelMm(double) - Method in class com.crossbotics.ftchelper.robot.Shape
-
How far a slide can move, mm: a passive slide's travel from where it rests, or a
Lift's stage from itsminto itsmax(Tunables), so the simulator knows the counts per inch. - travelTime(double) - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
Seconds the servo needs for a full 0..1 move.
- trialMs(double) - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
The most time one setting gets once switched, settling included (milliseconds, default 2000).
- Trials() - Constructor for class com.crossbotics.ftchelper.finders.ShotPoints.Trials
- tries() - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Tally
-
How many different tries (speed, hood) are marked here.
- trigger() - Method in class com.crossbotics.ftchelper.teleop.Key
-
The trigger, or null for a button.
- trim() - Method in class com.crossbotics.ftchelper.robot.Hood
-
The hood trim now (0 = none), in the hood's scale.
- trim() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The speed trim now, percent (0 = none; +3 = 3% faster).
- trimBy(double) - Method in class com.crossbotics.ftchelper.robot.Hood
-
Adds to the hood trim (added to the shot table's angle), kept to +/-
trimMax. - trimBy(double) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Trims the shot speed by this many percent more:
trimBy(+2)= every shot 2% faster than the table (or the fixed speed) says,trimBy(-1)= 1% slower. - tryGet(HardwareMap, Class<? extends T>, String) - Static method in class com.crossbotics.ftchelper.hardware.Hw
-
Gets a device if it is in the configuration, else returns null.
- tryGet(Class<? extends T>, String) - Method in interface com.crossbotics.ftchelper.robot.Devices
-
The device with this name and type, or null if there is none (for optional parts).
- tryGet(Class<? extends T>, String) - Method in class com.crossbotics.ftchelper.testkit.PretendDevices
-
Like
PretendDevices.get(java.lang.Class<? extends T>, java.lang.String), but null for a name that is not configured, and for a kind of device the kit has no pretend one for (a camera, a color sensor): parts that can do without it (they warn at INIT) then go on as on a robot where it is unplugged. - tunable(String) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
Puts the PID gains and every named position in the tuning menu, as "prefix/kP", "prefix/HIGH"...
- tunable(String) - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
Puts every named position in the tuning menu as "prefix/NAME" (steps of 0.01, kept 0 to 1).
- Tunable - Class in com.crossbotics.ftchelper.tuning
-
A number you can change while the robot runs, from the gamepad (
TuningMenu), without rebuilding. - tunables(Class<?>) - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
The Tunables class, if it is not called
Tunablesin the same folder as Robot.java. - tunables(String) - Method in class com.crossbotics.ftchelper.robot.Module
-
Reads this module's numbers from another
Tunables.javasection. - tunablesClass() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
The Tunables class in use, or null if there is none.
- tunablesLine(String) - Method in class com.crossbotics.ftchelper.finders.ShotPoints
-
The table for the robot in five files, one line for
Tunables.java({inches, rpm}, or {inches, rpm, hood} with a hood):public static double[][] speedByDistance = {{48, 2550}, {72, 2900}}; // in Tunables.Launcher(the line that replaces the one in that section). - tunablesLine(String, String) - Method in class com.crossbotics.ftchelper.finders.ShotPoints
-
ShotPoints.tunablesLine(String)for a named table, e.g. - tunablesLine(String, List<String>) - Static method in class com.crossbotics.ftchelper.finders.FinderResults
-
A line for the robot in five files: the section of
Tunables.javaand its numbers. - TuneAndCheckOpMode - Class in com.crossbotics.ftchelper.finders
-
"Tune and check": every check and finder for your robot in one OpMode, always on the Driver Station (TeleOp list, group "Finders").
- TuneAndCheckOpMode() - Constructor for class com.crossbotics.ftchelper.finders.TuneAndCheckOpMode
- tunedAt(double) - Method in class com.crossbotics.ftchelper.tuning.Tunable
-
Notes the battery's volts at a change (the tuning menu does it).
- tunedVolts() - Method in class com.crossbotics.ftchelper.tuning.Tunable
-
The battery's volts when this value was changed (NaN = not known).
- TUNING_MENU - Enum constant in enum class com.crossbotics.ftchelper.teleop.LibraryButtons.Job
- tuningMenu(Key) - Method in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
The tuning menu (PRACTICE profile): held 1 s when its button also shows the button map, else a tap.
- TuningMenu - Class in com.crossbotics.ftchelper.tuning
-
A menu on the Driver Station to change
Tunablenumbers with a gamepad, while the robot runs. - TuningMenu(Gamepad) - Constructor for class com.crossbotics.ftchelper.tuning.TuningMenu
-
Makes a menu.
- turn(double, double) - Method in class com.crossbotics.ftchelper.drive.AutoDrive
-
Turns in place by an amount.
- turn(double, double, double) - Method in class com.crossbotics.ftchelper.drive.AutoDrive
-
AutoDrive.turn(double, double)with its own time limit, for a step that has a time limit of its own. - turn(String, double, double) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Turns by an amount, in degrees: positive = left (mirrored for RED).
- turn(String, double, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Turns in place by an angle, counterclockwise +: 90 = a quarter turn left, -90 = right.
- turnAssist(DoubleUnaryOperator) - Method in class com.crossbotics.ftchelper.drive.DriverControls
-
A helper that may change the turn, e.g.
- turnBack(String, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Turns back to the heading saved by
Steps.rememberHeading(java.lang.String)(the last one), e.g. - turnDeg - Variable in class com.crossbotics.ftchelper.odometry.CameraPoseFix.Settings
-
Degrees from the Limelight's field frame to ours (BLUE and RED may differ).
- turnDegPerCount(double[], double[]) - Static method in class com.crossbotics.ftchelper.finders.CharacterizeMath
-
Degrees the robot turns for each wheel count of turning (from the IMU and the wheels), so the simulator turns like the real robot (wheels slip a little when a robot turns).
- turnDegPerSec() - Method in class com.crossbotics.ftchelper.odometry.PoseTracker
-
Degrees per second (how fast it turns, counterclockwise +).
- turnFor(double) - Method in class com.crossbotics.ftchelper.robot.Aim
-
The same turn as TeleOp's, for an OpMode that drives with its own
DriverControls(the Shot Tuner):driving.turnAssist(robot.aim()::turnFor). - turnKd - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
Turn D gain.
- turnKp - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
Turn P gain: power per degree of error.
- turnLeft(String, double, double) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Turns left by this many degrees:
turn(label, degrees, maxPower). - turnLeft(String, double, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Turns in place to the left by this many degrees.
- turnMinPower - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
Smallest turn power while outside the tolerance, so the robot does not stall just short of the target.
- turnPower(TargetObservation) - Method in class com.crossbotics.ftchelper.vision.AimController
-
The turn power toward the target, CLOCKWISE positive: the same sign as every drive's turn (
drive.drive(f, s, aim.turnPower(t)),tank.arcade(f, aim.turnPower(t))). - turnRight(String, double, double) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Turns right by this many degrees:
turn(label, -degrees, maxPower). - turnRight(String, double, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Turns in place to the right by this many degrees.
- turnSettleSec - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
...for this long (seconds).
- turnTo(double, double) - Method in class com.crossbotics.ftchelper.drive.AutoDrive
-
Turns in place to face a heading.
- turnTo(double, double, double) - Method in class com.crossbotics.ftchelper.drive.AutoDrive
-
AutoDrive.turnTo(double, double)with its own time limit, for a step that has a time limit of its own. - turnTo(String, double, double) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Turns to a heading (0 = the direction at the start, positive = left; mirrored for RED).
- turnTo(String, double, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Turns to a heading (0 = the way it faced at the start, counterclockwise +).
- turnToleranceDeg - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
A turn is done when the error is this small (degrees)...
- turnToward(String, DoubleSupplier, double, double, double) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Turns toward something the robot measures, like the goal from the camera:
bearingDegsays how far to turn (positive = left, NaN = not seen). - turnTowardWithSweep(String, DoubleSupplier, double, double, double, double, double, double) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
AutoRoutine.turnToward(java.lang.String, java.util.function.DoubleSupplier, double, double, double)with a sweep: when nothing is seen at the start, the robot turns slowly, in steps ofstepDeg, up tosweepDegto the left, then up tosweepDegto the right of where it started, and looks after each step. - turret() - Static method in class com.crossbotics.ftchelper.robot.Shape
-
A part that turns about the up line (a turret):
atMmis the middle of its bottom, on the line it turns about;sizeMmits box. - Turret - Class in com.crossbotics.ftchelper.launcher
-
A turret: turns to an angle in degrees, never past its limits (so cables never wind up), and can hold a FIELD direction while the robot drives and turns.
- Turret - Class in com.crossbotics.ftchelper.robot
-
A turret that turns inside its limits (or round and round, with a slip ring), by hand or following the goal with a
Cameraor the odometry. - Turret(String, DcMotorEx) - Constructor for class com.crossbotics.ftchelper.launcher.Turret
-
Wraps a motor you already set up (brake, encoder reset).
- Turret(String, DoubleConsumer, DoubleSupplier) - Constructor for class com.crossbotics.ftchelper.launcher.Turret
-
A turret turned by something that takes a power (a CR servo) with its angle from any encoder.
- turretAims() - Method in class com.crossbotics.ftchelper.robot.Aim
-
True when a turret follows the goal (
follows(camera)orfollowsOdometry()in Robot.java): the turret aims, andAim.mode()(whole-robot aim) cannot be used. - twoDrivers() - Static method in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
The two-driver defaults (see the table above).
- twoWheels(String, DcMotorEx, DcMotorEx, DoubleSupplier, double, double, double, boolean, boolean) - Static method in class com.crossbotics.ftchelper.odometry.DeadWheelOdometry
-
Two wheels and the IMU.
- twoWheels(String, String) - Static method in class com.crossbotics.ftchelper.robot.Odometry
-
Two dead wheels (one forward, one sideways) and the Control Hub's IMU for the heading.
- type - Variable in class com.crossbotics.ftchelper.drive.DriveConfig
-
The kind of drivetrain.
U
- undo() - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Trials
-
Takes back the last HIT or MISS: that shot waits to be marked again (first in line).
- units(double, String) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
Use your own units instead of encoder ticks, e.g.
- UNJAMMING - Enum constant in enum class com.crossbotics.ftchelper.mechanism.SpinMotor.State
- unknown(String) - Static method in class com.crossbotics.ftchelper.robot.Motors
-
A motor whose numbers you do not know yet (the same as
Motors.custom(java.lang.String, double, double)with both NaN). - UNKNOWN - Static variable in class com.crossbotics.ftchelper.robot.Pieces
-
A piece the sensor could not tell (not one of the kinds, or not tuned yet).
- unknownServo(String) - Static method in class com.crossbotics.ftchelper.robot.Parts
-
A servo whose numbers you do not know yet: its move times use the library's general starting values, and INIT says so.
- unmark(double, double, boolean, double) - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Tally
-
Takes back one mark (an undo): the same numbers as the
ShotPoints.Tally.mark(double, boolean, double)it undoes. - unmarkedCount() - Method in class com.crossbotics.ftchelper.finders.ShotPoints.Trials
-
Shots waiting to be marked.
- unsetPose() - Method in class com.crossbotics.ftchelper.odometry.PoseTracker
-
Says "the pose is not known any more" (
PoseTracker.isPoseSet()becomes false), keeping the numbers. - update() - Method in interface com.crossbotics.ftchelper.core.Subsystem
-
Called once every loop.
- update() - Method in class com.crossbotics.ftchelper.core.Subsystems
-
Updates every part, in the order they were added.
- update() - Method in class com.crossbotics.ftchelper.drive.RouteDriver
-
One loop of the route.
- update() - Method in class com.crossbotics.ftchelper.launcher.Flywheel
-
Once per loop: sends the speed, reads the real speed, works out "ready", and counts shots.
- update() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
Once per loop: sets the flywheel speed, updates the flywheel, feeder and hood, then feeds one piece if shots are waiting and everything is ready.
- update() - Method in class com.crossbotics.ftchelper.launcher.MotorFeeder
-
Once per loop: ends the feed when the time is up, the sensor sees the piece leave, or it jams.
- update() - Method in class com.crossbotics.ftchelper.launcher.ServoFeeder
-
Once per loop: after the push time, sends the arm back; after the return time, it is free again.
- update() - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Once per loop: checks the home switch, picks the power (homing, stick or PID), applies the limits.
- update() - Method in class com.crossbotics.ftchelper.match.InitMenu
-
Reads the gamepad.
- update() - Method in class com.crossbotics.ftchelper.match.MatchTimer
-
Runs any cue whose time has come.
- update() - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
Does the real work, once per loop: reads the switches, then sends the motor the power that moves it toward the target (or the stick's power, or none).
- update() - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
Once per loop.
- update() - Method in class com.crossbotics.ftchelper.mechanism.SpinMotor
-
Once per loop: sends the power for the current state and, while IN, watches for jams.
- update() - Method in class com.crossbotics.ftchelper.mechanism.SpinServo
-
Once per loop: ends a timed run when its time is up, and sends the power if it changed.
- update() - Method in class com.crossbotics.ftchelper.odometry.PoseTracker
-
Reads the device once and works out the new pose.
- update() - Method in class com.crossbotics.ftchelper.robot.Camera
- update() - Method in class com.crossbotics.ftchelper.robot.FeedTest
-
Runs the wheel, the feed stop, the indexer and the pushing parts.
- update() - Method in class com.crossbotics.ftchelper.robot.FeedTimeTest
-
Runs the wheel, and ends a test feed at the shot or the time limit.
- update() - Method in class com.crossbotics.ftchelper.robot.Hood
- update() - Method in class com.crossbotics.ftchelper.robot.Indexer
- update() - Method in class com.crossbotics.ftchelper.robot.Intake
- update() - Method in class com.crossbotics.ftchelper.robot.Launcher
- update() - Method in class com.crossbotics.ftchelper.robot.Lights
- update() - Method in class com.crossbotics.ftchelper.robot.MotorPositions
- update() - Method in class com.crossbotics.ftchelper.robot.Pieces
- update() - Method in class com.crossbotics.ftchelper.robot.PieceSensor
-
Every loop: picks up the newest reading (a color sensor: a few ms over I2C; a distance sensor or a camera: never waits) and works out what is there.
- update() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
One loop in your own OpMode (call it once in each pass of
while (opModeIsActive())): every part and running action moves a little, yourRobotDefinition.everyLoop(java.lang.Runnable)code runs, and the Driver Hub's screen is sent with each part's line. - update() - Method in class com.crossbotics.ftchelper.robot.ServoPositions
- update() - Method in class com.crossbotics.ftchelper.robot.Turret
- update() - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
Call once per loop, BEFORE
SafeMotor.setPower(double)orSafeMotor.moveTo(double, com.crossbotics.ftchelper.control.PidController). - update() - Method in class com.crossbotics.ftchelper.telemetry.RobotTelemetry
-
Sends the lines to the Driver Station (warnings first) and starts a fresh screen for the next loop.
- update() - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- update() - Method in class com.crossbotics.ftchelper.tuning.TuningMenu
-
Reads the gamepad.
- update() - Method in class com.crossbotics.ftchelper.util.LoopTimer
-
Call once at the top of each loop.
- update() - Method in class com.crossbotics.ftchelper.vision.HuskyLensCamera
-
Every loop: asks for a new reading on the helper thread and picks up the newest one.
- update() - Method in class com.crossbotics.ftchelper.vision.LimelightTags
-
Every loop: reads the newest result and turns each tag into a
TargetObservation. - update() - Method in class com.crossbotics.ftchelper.vision.WebcamTags
-
Every loop: picks up the newest picture's tags, if there is a new one.
- update(double) - Method in class com.crossbotics.ftchelper.gamepad.AimRumble
-
Call every loop with the current error.
- update(double, double) - Method in class com.crossbotics.ftchelper.drive.StallDetector
-
Call every loop.
- update(double, double, double) - Method in class com.crossbotics.ftchelper.safety.JamDetector
-
Checks speed only.
- update(double, double, double, double) - Method in class com.crossbotics.ftchelper.safety.JamDetector
-
Checks speed and current.
- update(int) - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
One quick step.
- update(GoBildaPinpointDriver.ReadData) - Method in class com.crossbotics.ftchelper.testkit.PretendPinpoint
- update(Gamepad) - Method in class com.crossbotics.ftchelper.drive.DriverControls
-
Drives from the gamepad's sticks.
- update(Gamepad, boolean) - Method in class com.crossbotics.ftchelper.drive.DriverControls
-
Drives from the gamepad's sticks, with slow mode switched by your own code instead of the left trigger (for example a one-driver layout where the trigger has another job).
- update(Gamepad, double) - Method in class com.crossbotics.ftchelper.drive.DriverControls
-
Drives from the gamepad's sticks at a speed your own code works out (0 to 1, e.g.
- update(Gamepad, Gamepad) - Method in class com.crossbotics.ftchelper.gamepad.ControllerBindings
-
Reads both gamepads and runs the actions.
- updates - Variable in class com.crossbotics.ftchelper.testkit.PretendTelemetry
-
How many screens were sent.
- upperSwitch(BooleanSupplier) - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
An upper limit switch: while it is pressed, the motor will not go further up.
- upsideDown() - Method in class com.crossbotics.ftchelper.robot.Camera
-
The webcam is mounted upside down.
- upsideDown(boolean) - Method in class com.crossbotics.ftchelper.vision.WebcamTags
-
The webcam is mounted upside down (turned half a turn around its lens).
- use() - Static method in class com.crossbotics.ftchelper.testkit.PretendClock
-
Makes a pretend clock and has the robot's parts use it.
- use(DoubleConsumer) - Method in class com.crossbotics.ftchelper.robot.Pad.Stick
-
Gives the stick's value to
useevery loop (0 when it rests in the middle). - useClock(LongSupplier) - Method in class com.crossbotics.ftchelper.odometry.PoseTracker
-
Uses this clock instead of
System.nanoTime()for the dead-wheel speed (tests: a pretend clock). - used - Variable in class com.crossbotics.ftchelper.odometry.CameraPoseFix.Result
- useForTests(SettingsFile) - Static method in class com.crossbotics.ftchelper.core.SettingsFile
-
For tests: use another file as the shared one.
- useForTests(LongSupplier) - Static method in class com.crossbotics.ftchelper.core.Time
-
For JUnit tests only: use this clock (nanoseconds) instead of the real one.
- useLastTrim() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Uses the trim from last time (an earlier OpMode since the robot app started), if there is one: the Driver Station offers it at INIT ("Trim last time: +3%"); double-tap D-pad up uses it.
- useNormalSpeed() - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Back to the usual speed: speedRpm, or the shot table with the distance.
- useRobots(List<Class<? extends RobotDefinition>>) - Static method in class com.crossbotics.ftchelper.finders.TuneAndCheckOpMode
-
Uses these robot classes instead of looking for them (the simulator's tests).
- usesAngles() - Method in class com.crossbotics.ftchelper.robot.Hood
-
True with angleA/angleB or a calibration table (real angles); false when the angle is the position.
- useSpeed(double) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Uses this flywheel speed from now on, instead of speedRpm or the shot table, until
Launcher.useNormalSpeed(). - useStandardButtons() - Method in class com.crossbotics.ftchelper.robot.ControlMap
-
True: each part adds its usual buttons by itself (the way before v0.39.0), and a line of yours on one of those buttons replaces it.
- useTable(String) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
Uses this shot table from now on, e.g.
V
- validate() - Method in class com.crossbotics.ftchelper.drive.DriveConfig
-
Checks the settings make sense.
- value(Telemetry, String, double, int) - Static method in class com.crossbotics.ftchelper.telemetry.TelemetryHelper
-
Adds "label : value", with the number of decimals you choose.
- value(Telemetry, String, double, String) - Static method in class com.crossbotics.ftchelper.telemetry.TelemetryHelper
-
Adds "label : value unit", with 2 decimals.
- valueOf(String) - Static method in enum class com.crossbotics.ftchelper.core.Profile
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.crossbotics.ftchelper.drive.AutoDrive.Result
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.crossbotics.ftchelper.drive.DriveConfig.DriveType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.crossbotics.ftchelper.drive.RouteDriver.Result
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.crossbotics.ftchelper.gamepad.ButtonNames.Style
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Btn
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Pad
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Trigger
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.crossbotics.ftchelper.launcher.Launcher.ShotMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.crossbotics.ftchelper.launcher.Launcher.State
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.crossbotics.ftchelper.match.Alliance
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.crossbotics.ftchelper.mechanism.SpinMotor.State
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.crossbotics.ftchelper.robot.Aim.Source
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.crossbotics.ftchelper.robot.Aim.Stage
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.crossbotics.ftchelper.robot.Feature.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.crossbotics.ftchelper.robot.LightColor
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.crossbotics.ftchelper.teleop.LibraryButtons.Job
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.crossbotics.ftchelper.vision.HuskyLensCamera.Mode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.crossbotics.ftchelper.core.Profile
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.crossbotics.ftchelper.drive.AutoDrive.Result
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.crossbotics.ftchelper.drive.DriveConfig.DriveType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.crossbotics.ftchelper.drive.RouteDriver.Result
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.crossbotics.ftchelper.gamepad.ButtonNames.Style
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Btn
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Pad
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Trigger
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.crossbotics.ftchelper.launcher.Launcher.ShotMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.crossbotics.ftchelper.launcher.Launcher.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.crossbotics.ftchelper.match.Alliance
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.crossbotics.ftchelper.mechanism.SpinMotor.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.crossbotics.ftchelper.robot.Aim.Source
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.crossbotics.ftchelper.robot.Aim.Stage
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.crossbotics.ftchelper.robot.Feature.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.crossbotics.ftchelper.robot.LightColor
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.crossbotics.ftchelper.teleop.LibraryButtons.Job
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.crossbotics.ftchelper.vision.HuskyLensCamera.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- velocity - Variable in class com.crossbotics.ftchelper.testkit.PretendMotor
-
Ticks per second, what
getVelocity()gives. - velocityCommand - Variable in class com.crossbotics.ftchelper.testkit.PretendMotor
-
The last
setVelocity(...)(ticks per second). - velocityX() - Method in class com.crossbotics.ftchelper.odometry.PoseTracker
-
The robot's speed toward +x (to the RIGHT, seen from your drivers' wall), inches per second.
- velocityY() - Method in class com.crossbotics.ftchelper.odometry.PoseTracker
-
The robot's speed toward +y (AWAY from your drivers' wall), inches per second.
- volley() - Method in class com.crossbotics.ftchelper.launcher.ShotStats
-
The pieces of the volley going on now (or the newest one), oldest first (read only).
- voltsNote() - Method in class com.crossbotics.ftchelper.tuning.Tunable
-
" // tuned at 12.6 V" for a changed value whose battery is known, else "".
W
- waitFor(double) - Method in interface com.crossbotics.ftchelper.auto.AutoContext
-
Loops for this many seconds (mechanisms keep working).
- waitFor(String, double) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Waits (mechanisms keep working).
- waitForGoal(String) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Waits until the camera sees the goal (our HIVE's up CELL, from
goal(...)on a camera in Robot.java) and the goal is STILL, then goes on. - waitForGoal(String, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Steps.waitForGoal(String), but at mosttimeoutSec: not seen (still) in time, it goes on anyway and the report says "not seen in 10 s: went on". - WAITING_READY - Enum constant in enum class com.crossbotics.ftchelper.launcher.Launcher.State
- waitingForCamera() - Method in class com.crossbotics.ftchelper.vision.LightingSweep
-
For a camera that is not ready yet (a webcam that is not streaming): no switching, only the time limits are checked, so START still ends the test.
- waitSeconds(double) - Method in class com.crossbotics.ftchelper.robot.Action
-
Waits this long (the robot keeps running), then goes on.
- waitSeconds(String, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Waits this long (the mechanisms keep working).
- waitUntil(String, BooleanSupplier, double) - Method in class com.crossbotics.ftchelper.auto.AutoRoutine
-
Waits until something is true, at most
timeoutSec. - waitUntil(String, BooleanSupplier, double) - Method in class com.crossbotics.ftchelper.robot.Action
-
Waits until something is true.
- waitUntil(String, BooleanSupplier, double) - Method in class com.crossbotics.ftchelper.robot.Steps
-
Waits until something is true, at most
timeoutSec(the report says if it timed out). - waitUntil(BooleanSupplier, double) - Method in interface com.crossbotics.ftchelper.auto.AutoContext
-
Loops until
doneis true, the time runs out, or the routine stops. - waitUntil(BooleanSupplier, double) - Method in class com.crossbotics.ftchelper.robot.Action
-
Action.waitUntil(String, BooleanSupplier, double)with "the condition" as its words. - waitWhileUnknown(boolean) - Method in class com.crossbotics.ftchelper.launcher.Turret
-
Set every loop by an interlock rule: while true, a turret whose angle is not known yet (not homed, or a servo turret never sent anywhere) does not move at all: no homing (its time limit waits too), no stick, no first servo move.
- warn(String) - Method in class com.crossbotics.ftchelper.telemetry.RobotTelemetry
-
A warning: always shown, at the top, with a "!!" in front.
- warnFirst(String) - Method in class com.crossbotics.ftchelper.telemetry.RobotTelemetry
-
A warning above every other warning, even ones added before it: for the one thing the drivers must see first (the library uses it for a part that is OFF in the COMPETITION profile).
- WARNING_SHOW_SEC - Static variable in class com.crossbotics.ftchelper.core.Subsystems
-
A slow-update note stays on the screen this many seconds after the last slow update.
- WARNING_SHOW_SEC - Static variable in class com.crossbotics.ftchelper.gamepad.ControllerBindings
-
A slow-action note stays on the screen this many seconds after the last slow action.
- wasRefused() - Method in class com.crossbotics.ftchelper.robot.Mode
-
True if the last try to switch it on was refused (
Mode.whyRefused()says why). - wasStarted() - Method in class com.crossbotics.ftchelper.robot.RobotDefinition
-
True once START was pressed in this OpMode.
- watch(Gamepad, Gamepad) - Static method in class com.crossbotics.ftchelper.gamepad.ButtonNames
-
Uses these gamepads' kinds for the screen names from now on.
- WATCH_AFTER_SEC - Static variable in class com.crossbotics.ftchelper.robot.FeedTest
-
After the feed, it watches this much longer than the stop takes to close, for a second piece.
- webcam(String) - Static method in class com.crossbotics.ftchelper.robot.Camera
-
A webcam (USB).
- WebcamTags - Class in com.crossbotics.ftchelper.vision
-
AprilTags with a USB webcam, using the FTC SDK's own AprilTag finder (SDK 12: single tags and tag "clusters", groups of tags with one aiming point).
- WebcamTags(String, WebcamName) - Constructor for class com.crossbotics.ftchelper.vision.WebcamTags
-
Wraps a webcam you already have.
- webColor() - Method in enum class com.crossbotics.ftchelper.robot.LightColor
-
About how it looks, as a web color ("#20c040"): for the simulator page.
- wheel(String) - Method in class com.crossbotics.ftchelper.robot.Drive
-
The wheel by its parts catalog id (see
Parts): its diameter comes from the catalog. - wheel(String) - Static method in class com.crossbotics.ftchelper.robot.Parts
-
A wheel or roller by its catalog id.
- wheelDiameterFromPush(double, double, double, double) - Static method in class com.crossbotics.ftchelper.finders.FinderMath
-
The wheel diameter that matches a "push" test: the robot was pushed
inchesand the wheels countedticks. - wheelDiameterIn - Variable in class com.crossbotics.ftchelper.drive.AutoDriveConfig
-
Wheel diameter, inches.
- wheelMm(double) - Method in class com.crossbotics.ftchelper.robot.Drive
-
The wheel diameter in millimeters (goBILDA mecanum: 96 or 104).
- wheels() - Static method in class com.crossbotics.ftchelper.robot.Parts
-
Every wheel and roller, in catalog order (read only).
- wheelsAtMm(double, double) - Method in class com.crossbotics.ftchelper.robot.Drive
-
Where the wheels sit, for the simulator's turning: wheel centers side to side (track) and front to back (wheel base), in mm.
- when(String, BooleanSupplier) - Static method in class com.crossbotics.ftchelper.robot.Zone
-
A condition instead of a part's position, for something the library cannot hold back (your own sensor or device).
- when(BooleanSupplier) - Method in class com.crossbotics.ftchelper.robot.Lights.Rule
-
Shows the color while this is true (checked every loop, in the order the rules were written).
- whenCountGoesUp(IntSupplier) - Method in class com.crossbotics.ftchelper.robot.Lights.Rule
-
Flashes the color (0.5 s, or
Lights.Rule.forSeconds(double)) each time this number goes up: one flash per piece really fired, even whenfire(3)fires three in a row (Lights.Rule.whenStarts(java.util.function.BooleanSupplier)withisShootingflashes once for all three). - whenEmpty() - Method in class com.crossbotics.ftchelper.robot.Pieces
-
Pieces.isEmpty()as a condition. - whenFull() - Method in class com.crossbotics.ftchelper.robot.Pieces
-
Pieces.isFull()as a condition (for LEDs,Intake.stopsWhen, an action's wait). - whenNextIs(String) - Method in class com.crossbotics.ftchelper.robot.Pieces
-
"The next piece is this kind" as a condition, e.g.
- whenStarts(BooleanSupplier) - Method in class com.crossbotics.ftchelper.robot.Lights.Rule
-
Flashes the color (0.5 s, or
Lights.Rule.forSeconds(double)) each time this turns from false to true: a piece picked up, the launcher starting to shoot. - WHITE - Enum constant in enum class com.crossbotics.ftchelper.robot.LightColor
-
White.
- whyBadSpot(double, double) - Method in class com.crossbotics.ftchelper.drive.FieldMap
-
Why a route cannot end at this spot: on a box, boxed in, or off the field.
- whyNoGoal(TargetSource, String) - Static method in class com.crossbotics.ftchelper.vision.TagGroup
-
Why
TagGroup.goalTarget(com.crossbotics.ftchelper.vision.TargetSource, java.lang.String)gives no goal while the camera sees a group of the same element: e.g. - whyNotReady() - Method in class com.crossbotics.ftchelper.launcher.Launcher
-
What is not ready yet, e.g.
- whyRefused() - Method in class com.crossbotics.ftchelper.robot.Mode
-
Why it could not be switched on, e.g.
- widthMm - Variable in class com.crossbotics.ftchelper.robot.Parts.Wheel
-
Width along its axle, mm; NaN when the seller does not give it (then the shape needs its length).
- WINDOW_SEC - Static variable in class com.crossbotics.ftchelper.finders.ShotPoints.DistanceAverage
-
How far back readings count, seconds.
- with(Pad.Button, Action) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
Pad.Button.with(Button, Runnable)with an action. - with(Pad.Button, Runnable) - Method in class com.crossbotics.ftchelper.robot.Pad.Button
-
A pair: hold this button (the "shift key"), then press
otherto runjob. - with(LibraryButtons.Job) - Method in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
The second button of a pair (debug, switch alliance), or null.
- withBearing(double) - Method in class com.crossbotics.ftchelper.vision.TargetObservation
-
The same observation with another bearing (everything else kept).
- withCrServos(String...) - Method in class com.crossbotics.ftchelper.robot.Intake
-
CR servos that run together with the intake motor (for example two side wheels next to a roller).
- withServo(Servo, DoubleSupplier) - Method in class com.crossbotics.ftchelper.launcher.ServoFeeder
-
A second servo that moves with the first, to the same positions: for two arms, one on each side, that pinch together behind the piece.
- withServo(Servo, DoubleSupplier) - Method in class com.crossbotics.ftchelper.mechanism.PositionServo
-
A second servo that moves with this one, to the same positions plus
trim: the other side of a two-servo part (a claw's other finger, an arm's other side). - words - Variable in class com.crossbotics.ftchelper.odometry.CameraPoseFix.Result
- words - Variable in enum class com.crossbotics.ftchelper.teleop.LibraryButtons.Job
-
The words on the button map.
- words() - Method in enum class com.crossbotics.ftchelper.robot.Aim.Source
-
"camera", "odometry" or "no goal", for the Driver Station.
- words() - Method in enum class com.crossbotics.ftchelper.robot.Aim.Stage
-
"not seen", "seen", "in range", "LOCKED".
- words() - Method in enum class com.crossbotics.ftchelper.robot.Feature.Kind
-
"auto step", "action", "TeleOp toggle", "automatic".
- words() - Method in class com.crossbotics.ftchelper.robot.Interlock
-
The rule in words: "Turret between 154 and 218 deg / Lift above 620 counts".
- words() - Method in class com.crossbotics.ftchelper.robot.Zone
-
The zone in words, e.g.
- words(Throwable) - Static method in class com.crossbotics.ftchelper.core.InitStop
-
The plain words for an error: the library's own messages as they are; anything else (a mistake in your own code) with its kind and where it happened, e.g.
- words(Set<LibraryButtons.Job>) - Method in class com.crossbotics.ftchelper.teleop.LibraryButtons
-
Each button's words for the button map: "pause / go on; hold 1 s: forward = away from you now".
- works() - Method in class com.crossbotics.ftchelper.robot.FeedTimeTest
-
True when this test can run (a launcher with a timed feeder, on the robot).
- wrapDegrees(double) - Static method in class com.crossbotics.ftchelper.util.Angles
-
Puts an angle into the range -180 (not included) to 180 (included).
- Wrist - Class in com.crossbotics.ftchelper.robot
-
A wrist on one servo, with named angles (raw servo positions).
- write(double, double, double) - Method in class com.crossbotics.ftchelper.odometry.DeadWheelOdometry
- write(double, double, double) - Method in class com.crossbotics.ftchelper.odometry.OtosOdometry
- write(double, double, double) - Method in class com.crossbotics.ftchelper.odometry.PinpointOdometry
- write(double, double, double) - Method in class com.crossbotics.ftchelper.odometry.PoseTracker
-
Sets the device's pose in its own frame (X forward in, Y left in, heading CCW deg).
- writes - Variable in class com.crossbotics.ftchelper.testkit.PretendCRServo
-
How many powers were sent.
- writes - Variable in class com.crossbotics.ftchelper.testkit.PretendServo
-
How many positions were sent.
- writtenGains(Class<?>) - Method in class com.crossbotics.ftchelper.robot.Launcher
-
The speed-control gains written in
Tunables.javafor this launcher, read without the hardware (Robot.java described, not set up).
X
- x - Variable in class com.crossbotics.ftchelper.robot.Pad
-
Face buttons.
- x - Variable in class com.crossbotics.ftchelper.testkit.PretendPinpoint
-
Where the device says it is, in its own frame: x inches forward, y inches left, heading degrees counterclockwise.
- x - Variable in class com.crossbotics.ftchelper.util.FieldPose
-
Inches.
- X - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Btn
Y
- y - Variable in class com.crossbotics.ftchelper.robot.Pad
-
Face buttons.
- y - Variable in class com.crossbotics.ftchelper.testkit.PretendPinpoint
-
Where the device says it is, in its own frame: x inches forward, y inches left, heading degrees counterclockwise.
- y - Variable in class com.crossbotics.ftchelper.util.FieldPose
-
Inches.
- Y - Enum constant in enum class com.crossbotics.ftchelper.gamepad.ControllerBindings.Btn
- yawRates(double[], double[]) - Static method in class com.crossbotics.ftchelper.finders.CharacterizeMath
-
Turning speed from headings (degrees per second), with the jump at +-180 taken out.
- YELLOW - Enum constant in enum class com.crossbotics.ftchelper.robot.LightColor
-
Yellow.
- yesNo(String, boolean) - Method in class com.crossbotics.ftchelper.match.InitMenu
-
Adds a yes/no choice.
Z
- zeroHere() - Method in class com.crossbotics.ftchelper.mechanism.PositionMotor
-
Makes the current position zero (home by hand).
- zeroHere() - Method in class com.crossbotics.ftchelper.safety.SafeMotor
-
Makes the current position 0.
- zeroPower - Variable in class com.crossbotics.ftchelper.testkit.PretendMotor
-
BRAKE or FLOAT, as set.
- zone() - Method in class com.crossbotics.ftchelper.robot.Module
-
This part's zone for an interlock rule (
Interlock): between two numbers, read from the rule's Tunables section as<part>Fromand<part>To(in the part's own units). - Zone - Class in com.crossbotics.ftchelper.robot
-
One side of an interlock rule (
Interlock): the space one part must not be in while the other part is in its own zone. - zoneAbove() - Method in class com.crossbotics.ftchelper.robot.Module
-
This part's zone from
<part>Aboveup (to the top of its range). - zoneBelow() - Method in class com.crossbotics.ftchelper.robot.Module
-
This part's zone from
<part>Belowdown.
All Classes and Interfaces|All Packages|Constant Field Values