Package com.revrobotics.encoder.config
Class DetachedEncoderAccessor
java.lang.Object
com.revrobotics.encoder.config.DetachedEncoderAccessor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final longAccessor for parameters relating to the Status Signals. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatintdoublefloatdoubledoublefloatintfloatbooleanboolean
-
Field Details
-
handle
protected final long handle -
signals
Accessor for parameters relating to the Status Signals. To configure these values, useDetachedSignalsConfigand callDetachedEncoder.configure(DetachedEncoderConfig, com.revrobotics.ResetMode).NOTE: This uses calls that are blocking to retrieve parameters and should be used infrequently.
-
-
Constructor Details
-
DetachedEncoderAccessor
public DetachedEncoderAccessor(long handle)
-
-
Method Details
-
isInverted
public boolean isInverted() -
getAverageDepth
public int getAverageDepth() -
getPositionConversionFactor
public float getPositionConversionFactor() -
getVelocityConversionFactor
public float getVelocityConversionFactor() -
getVelocityAverageDepth
public int getVelocityAverageDepth() -
getAngleConversionFactor
public float getAngleConversionFactor() -
isDutyCycleZeroCentered
public boolean isDutyCycleZeroCentered() -
getDutyCycleOffset
public float getDutyCycleOffset() -
getDutyCycleStartPulseUs
public double getDutyCycleStartPulseUs() -
getDutyCycleEndPulseUs
public double getDutyCycleEndPulseUs() -
getDutyCyclePeriodUs
public double getDutyCyclePeriodUs()
-