Package-level declarations

Types

Link copied to clipboard
open class AnalogFeedback @JvmOverloads constructor(val maxVoltage: Voltage = 3.3.volts, voltageSupplier: Supplier<Double>) : ReadOnlyProperty<Any?, Double>
Link copied to clipboard
class Caching(cacheTolerance: Double, whenSet: (Double?) -> Unit) : ReadWriteProperty<Any?, Double>
Link copied to clipboard
class LazyHardware<T>(initializer: () -> T) : ReadOnlyProperty<Any?, T>

Lazily initializes a hardware object on first access.

Properties

Link copied to clipboard

Convert this Pose2d into the official library equivalent.

Convert the units library AngleUnit into the official library equivalent, or null if there is not a corresponding unit.

Convert the units library CurrentUnit into the official library equivalent, or null if there is not a corresponding unit.

Convert the units library DistanceUnit into the official library equivalent, or null if there is not a corresponding unit.

Convert the units library TemperatureUnit into the official library equivalent, or null if there is not a corresponding unit.

Convert the units library VoltageUnit into the official library equivalent, or null if there is not a corresponding unit.

Link copied to clipboard

Convert the official library AngleUnit into the units library equivalent.

Convert the official library CurrentUnit into the units library equivalent.

Convert the official library DistanceUnit into the units library equivalent.

Returns a Pose2d with the same values as this Pose2D. The distance unit is inches, and the angle unit is radians.

Convert the official library TempUnit into the units library equivalent.

Convert the official library UnnormalizedAngleUnit into the units library equivalent.

Convert the official library VoltageUnit into the units library equivalent.

Functions

Link copied to clipboard

Combines this unit with a unit of time to create a velocity unit.