Package com.revrobotics.spark
Class SparkSoftLimit
java.lang.Object
com.revrobotics.spark.SparkSoftLimit
Get an instance of this class by using
SparkBase.getForwardSoftLimit() or SparkBase.getReverseSoftLimit().-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueif the soft limit has been reached.
-
Method Details
-
isReached
public boolean isReached()Returnstrueif the soft limit has been reached.- Returns:
trueif the soft limit is reached
-