Package com.revrobotics.spark.config
Class SparkFlexConfigAccessor
java.lang.Object
com.revrobotics.spark.config.SparkBaseConfigAccessor
com.revrobotics.spark.config.SparkFlexConfigAccessor
-
Field Summary
Modifier and TypeFieldDescriptionAccessor for parameters relating to the external encoder.Fields inherited from class com.revrobotics.spark.config.SparkBaseConfigAccessor
absoluteEncoder, analogSensor, closedLoop, encoder, limitSwitch, signals, softLimit
-
Constructor Summary
-
Method Summary
Methods inherited from class com.revrobotics.spark.config.SparkBaseConfigAccessor
getClosedLoopRampRate, getFollowerModeInverted, getFollowerModeLeaderId, getIdleMode, getInverted, getOpenLoopRampRate, getSecondaryCurrentLimit, getSecondaryCurrentLimitChopCycles, getSmartCurrentFreeLimit, getSmartCurrentLimit, getSmartCurrentRPMLimit, getVoltageCompensation, getVoltageCompensationEnabled
-
Field Details
-
externalEncoder
Accessor for parameters relating to the external encoder. To configure these values, useExternalEncoderConfig
and callSparkBase.configure(SparkBaseConfig, SparkBase.ResetMode, SparkBase.PersistMode)
.NOTE: This uses calls that are blocking to retrieve parameters and should be used infrequently.
-
-
Constructor Details
-
SparkFlexConfigAccessor
public SparkFlexConfigAccessor(long sparkHandle) Not intended for team use. Only use this if you know what you are doing!- Parameters:
sparkHandle
-
-