Encoders

enum Encoders : Enum<HardwareNames.Encoders>

Contains hardware info for encoders.

Entries

Link copied to clipboard
RIGHT("rightRear", false)
Link copied to clipboard
FRONT("leftFront", false)
Link copied to clipboard
LEFT("leftRear", true)

Functions

Link copied to clipboard
fun get(hardwareMap: HardwareMap): Encoder

Properties

Link copied to clipboard
val id: String

Hardware ID defined in the config.

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int
Link copied to clipboard
val reverse: Boolean

Whether the encoder should be reversed.