Package xbot.common.controls.sensors
Class XAbsoluteEncoder
java.lang.Object
xbot.common.controls.sensors.XAbsoluteEncoder
- All Implemented Interfaces:
DataFrameRefreshable
- Direct Known Subclasses:
MockAbsoluteEncoder
,XCANCoder
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract int
void
Consumes and processes inputs from the device or subsystem.abstract void
setPosition
(Angle newPostition) abstract void
updateInputs
(XAbsoluteEncoderInputs inputs)
-
Field Details
-
info
-
-
Constructor Details
-
XAbsoluteEncoder
-
-
Method Details
-
getDeviceId
public abstract int getDeviceId() -
getPosition
-
getAbsolutePosition
-
getVelocity
-
setPosition
-
getHealth
-
updateInputs
-
refreshDataFrame
public void refreshDataFrame()Description copied from interface:DataFrameRefreshable
Consumes and processes inputs from the device or subsystem.- Specified by:
refreshDataFrame
in interfaceDataFrameRefreshable
-