Package frc.team88.swerve.module.sensor
Interface PositionSensor
-
- All Known Subinterfaces:
SwerveMotor
- All Known Implementing Classes:
CANifiedPWMEncoder
,Falcon500
,Neo
,SensorTransmission
,SwerveCANcoder
public interface PositionSensor
Represents a sensor which can provide position in one dimension, such as an encoder or potentiometer. Can also be set to make the current position correspond to a given value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getPosition()
Get the position value of the sensor.
-