Package-level declarations

Types

Link copied to clipboard
open class ClosedMeasureProgression<U : Unit<U>>(val start: Measure<U>, val endInclusive: Measure<U>, val step: Double) : Iterable<Measure<U>>
Link copied to clipboard
class ClosedMeasureRange<M : Measure<U>, Comparable<Measure<U>>, U : Unit<U>>(val start: M, val endInclusive: M) : ClosedFloatingPointRange<M>
Link copied to clipboard
class OpenEndMeasureRange<M : Measure<U>, Comparable<Measure<U>>, U : Unit<U>>(val start: M, val endExclusive: M) : OpenEndRange<M>
Link copied to clipboard
typealias Rotation = Measure<Angle>
Link copied to clipboard
typealias RotationVelocity = Measure<Velocity<Angle>>
Link copied to clipboard
typealias Span = Measure<Distance>
Link copied to clipboard
typealias SpanVelocity = Measure<Velocity<Distance>>
Link copied to clipboard
typealias Speed = SpanVelocity
Link copied to clipboard
typealias TimeSpan = Measure<Time>
Link copied to clipboard
class UnSteppedMeasureProgression<U : Unit<U>>(val start: Measure<U>, val endInclusive: Measure<U>)

Properties

Link copied to clipboard
val Pose2d.backwards: Span
val Pose3d.backwards: Span

Gets the backwards span of this pose

val Translation2d.backwards: Span
val Translation3d.backwards: Span

Gets the backwards span of this translation

Link copied to clipboard
val Pose3d.down: Span

Gets the downward span of this pose

val Translation3d.down: Span

Gets the downwards span of this translation

Link copied to clipboard
Link copied to clipboard
val Pose2d.forward: Span
val Pose3d.forward: Span

Gets the forward span of this pose

val Translation2d.forward: Span
val Translation3d.forward: Span

Gets the forward span of this translation

Link copied to clipboard
val Pose2d.left: Span
val Pose3d.left: Span

Gets the leftwards span of this pose

val Translation2d.left: Span
val Translation3d.left: Span

Gets the leftwards span of this translation

Link copied to clipboard
val Rotation2d.measure: Rotation

Gets the measure of this rotation

Link copied to clipboard
Link copied to clipboard
val Pose3d.pitch: Rotation

Gets the pitch rotation of this pose

val Rotation3d.pitch: Rotation

Gets the pitch rotation of this translation

Link copied to clipboard
val Pose2d.right: Span

Gets the rightwards span of this pose

val Pose3d.right: Span

Gets the rightward span of this pose

val Translation2d.right: Span

Gets the rightward span of this translation

val Translation3d.right: Span

Gets the rightwards span of this translation

Link copied to clipboard
val Pose3d.roll: Rotation

Gets the roll rotation of this pose

val Rotation3d.roll: Rotation

Gets the roll rotation of this translation

Link copied to clipboard
val Pose2d.spin: Rotation

Gets the angle of rotation of this pose

Link copied to clipboard
val Pose3d.up: Span

Gets the upward span of this pose

val Translation3d.up: Span

Gets the upwards span of this translation

Link copied to clipboard
var CANSparkBase.velocity: RotationVelocity

The velocity that the motor is rotating at. The velocity is measured by this motor's com.revrobotics.RelativeEncoder, and controlled by its com.revrobotics.SparkPIDController.

Link copied to clipboard
val Pose3d.yaw: Rotation

Gets the yaw rotation of this pose

val Rotation3d.yaw: Rotation

Gets the yaw rotation of this translation

Functions

Link copied to clipboard
infix fun <U : Unit<U>> Measure<U>.downTo(endInclusive: Measure<U>): UnSteppedMeasureProgression<U>
Link copied to clipboard
infix fun <U : Unit<U>> Measure<U>.into(unit: U): Double

Converts a measure into a given unit, return the value as a double.

Link copied to clipboard
operator fun <U : Unit<U>> Measure<U>.rangeTo(endInclusive: Measure<U>): ClosedMeasureRange<Measure<U>, U>
Link copied to clipboard
operator fun <U : Unit<U>> Measure<U>.rangeUntil(endExclusive: Measure<U>): OpenEndMeasureRange<Measure<U>, U>
Link copied to clipboard
operator fun <U : Unit<U>?> Measure<U>.unaryMinus(): Measure<U>

Negates a Measure through its Measure.negate method

Link copied to clipboard
operator fun <U : Unit<U>?> Measure<U>.unaryPlus(): Measure<U>

Does nothing to a measure. If this measure was mutable, it will return a mutable copy