Package com.revrobotics.spark.config
Class ClosedLoopConfigAccessor
java.lang.Object
com.revrobotics.spark.config.ClosedLoopConfigAccessor
-
Field Summary
Modifier and TypeFieldDescriptionfinal MAXMotionConfigAccessor
Accessor for parameters relating to the MAXMotion.Accessor for parameters relating to the Software Limits. -
Constructor Summary
-
Method Summary
-
Field Details
-
maxMotion
Accessor for parameters relating to the MAXMotion. To configure these values, useMAXMotionConfig
and callSparkBase.configure(SparkBaseConfig, SparkBase.ResetMode, SparkBase.PersistMode)
-
smartMotion
Accessor for parameters relating to the Software Limits. To configure these values, useSmartMotionConfig
and callSparkBase.configure(SparkBaseConfig, SparkBase.ResetMode, SparkBase.PersistMode)
-
-
Constructor Details
-
ClosedLoopConfigAccessor
protected ClosedLoopConfigAccessor(long sparkHandle)
-
-
Method Details
-
getP
public double getP() -
getI
public double getI() -
getD
public double getD() -
getFF
public double getFF() -
getDFilter
public double getDFilter() -
getIZone
public double getIZone() -
getMinOutput
public double getMinOutput() -
getMaxOutput
public double getMaxOutput() -
getP
-
getI
-
getD
-
getFF
-
getDFilter
-
getIZone
-
getMinOutput
-
getMaxOutput
-
getMaxIAccumulation
public double getMaxIAccumulation() -
getMaxIAccumulation
-
getPositionWrappingEnabled
public boolean getPositionWrappingEnabled() -
getPositionWrappingMinInput
public double getPositionWrappingMinInput() -
getPositionWrappingMaxInput
public double getPositionWrappingMaxInput() -
getFeedbackSensor
-