WrappingEncoder

class WrappingEncoder(val encoder: Encoder, val cpr: Int) : Encoder

An encoder that wraps its position to [0, cpr). Useful for swerve pod rotations.

Constructors

Link copied to clipboard
constructor(encoder: Encoder, cpr: Int)

Properties

Link copied to clipboard
val cpr: Int
Link copied to clipboard
open override var direction: DcMotorSimple.Direction
Link copied to clipboard

Functions

Link copied to clipboard