Package-level declarations

Types

Link copied to clipboard
BunyipsOpMode variant for Autonomous operation.
Link copied to clipboard
open class BOMInternal : LinearOpMode
BunyipsOpMode Kotlin and Java interop class to hide the SDK fields from the user, and replace them with the custom BunyipsLib interfaces.
Link copied to clipboard
abstract class BunyipsComponent
Base class for components used with a BunyipsOpMode.
Link copied to clipboard
Link copied to clipboard
Base class for all robot subsystems.
Link copied to clipboard
class Cartesian
Rotational utilities for Pose2d and Vector2d, including conversion from Cartesian to Robot space.
Link copied to clipboard
Command-based structure for a BunyipsOpMode utilising the Scheduler.
Link copied to clipboard
open class Controller : Gamepad
A wrapper around a Gamepad object that provides a Controls interface and custom input calculations.
Link copied to clipboard

Utility class for the different button and analog controls on the gamepad. Used for adding additional abstraction to the current gamepad control system, used across BunyipsLib.

Link copied to clipboard
object Dbg

Provides utility methods for debug logging.

Link copied to clipboard
A collection of BunyipsOpMode debug features intended for use in a testing environment, including a controller-based kill switch, robot pickup detection, and customisable auto-halt conditions.
Link copied to clipboard

Represents relative positions in 2D space. The origin of these vectors face the X axis, for continuity.

Link copied to clipboard
class DualTelemetry @JvmOverloads constructor(opMode: OpMode, movingAverageTimer: MovingAverageTimer? = null, overheadTag: String? = null, infoString: String? = null) : Telemetry

Telemetry implementation for BunyipsLib, integrating FtcDashboard and Driver Station calls in one object, while providing additional features useful for debugging and telemetry management. This is used internally by BunyipsOpMode to be accessible by the overridden telemetry field.

Link copied to clipboard
Custom exception to be thrown when BunyipsLib should end the OpMode following a critical error.
Link copied to clipboard
open class Encoder
Represents a motor or external encoder that takes in suppliers of position and velocity to calculate motor ticks.
Link copied to clipboard

Utility class for converting between SI units and encoder ticks.

Link copied to clipboard
object Exceptions

OpMode "userspace" util to prevent user-code unhandled exceptions from crashing the app.

Link copied to clipboard
class Filter
A collection of data filters for smoothing out and fusing sensor data.
Link copied to clipboard
open class IMUEx : IMU, Runnable
Drop-in replacement for an Inertial Measurement Unit that provides WPIUnit data and the capabilities of automatic updates similar to (but not implementing) a subsystem multi-thread.
Link copied to clipboard
Performs spline interpolation given a set of control points.
Link copied to clipboard
open class LookupTable<T : Number?, R> : TreeMap<K, V>
A lookup table Utility from FTCLib Source
Link copied to clipboard
open class Motor : DcMotorImplEx
Drop-in replacement for a DcMotor that uses custom control algorithms to operate RUN_USING_ENCODER and RUN_TO_POSITION modes.
Link copied to clipboard
Time utilities for robot operation.
Link copied to clipboard
Null safety utilities for robot components.
Link copied to clipboard
interface Ramping
A collection of ramping functions and values for smoothing out deltas over time.
Link copied to clipboard
open class Reference<V>
Represents an object reference that may be reassigned.
Link copied to clipboard
interface RoadRunner
RoadRunner utility interface for OpModes, providing simpler trajectory building processes.
Link copied to clipboard
abstract class RobotConfig

Abstract class to use as parent to the class you will define to mirror a "saved configuration" on the Robot Controller, and to define any robot related constants. Supported for use in both BunyipsOpModes and any other normal SDK OpMode.

Link copied to clipboard
Scheduler and command plexus for use with the BunyipsLib task system.
Link copied to clipboard

Revamped implementation of StartingPositions which instead uses a builder and poses to determine where a robot may start against the alliance wall. This system is more dynamic compared to StartingPositions, which restricts the starting positions to only 4 options based on the CENTERSTAGE randomisation objective.

Link copied to clipboard

Legacy enum for determining where the robot is starting on the field. This can be used to determine which autonomous path to take.

Link copied to clipboard
class Storage
Global filesystem and volatile storage utilities for robot operation.
Link copied to clipboard
class Tasks
Utility class for running Task instances from an environment that does not have a task scheduler.
Link copied to clipboard
class Text
Text and string manipulation utilities.
Link copied to clipboard
class Threads
Async utilities for running user code on different threads while having control/logging over them.
Link copied to clipboard
Represents an operation that accepts three input arguments and returns no result.
Link copied to clipboard
class UserSelection<T : Any>(callback: Consumer<T?>, opmodes: T) : BunyipsComponent, Runnable

Async thread to ask for user input from a controller in order to determine a pre-determined set of instructions before a BunyipsOpMode starts (dynamic_init).

Link copied to clipboard
class Voltage
Utility class for getting the robot voltage from the HardwareMap.
Link copied to clipboard
open class While
Perform non-blocking loops using an evaluator callback to run the loop.