Class VictorEncoder
- java.lang.Object
-
- frc.lib5k.components.sensors.EncoderBase
-
- frc.lib5k.components.motors.motorsensors.VictorEncoder
-
- All Implemented Interfaces:
PeriodicComponent
public class VictorEncoder extends EncoderBase
Wrap a VictorSPX encoder as an EncoderBase
-
-
Constructor Summary
Constructors Constructor Description VictorEncoder(com.ctre.phoenix.motorcontrol.can.WPI_VictorSPX victor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getSensorReading()
-
Methods inherited from class frc.lib5k.components.sensors.EncoderBase
fullReset, getAverageSpeed, getMeters, getMetersPerCycle, getRawTicks, getSpeed, getTicks, initSimulationDevice, update, zero
-
-
-
-
Method Detail
-
getSensorReading
public int getSensorReading()
- Specified by:
getSensorReading
in classEncoderBase
-
-