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 TypeMethodDescriptionboolean
Returnstrue
if the soft limit has been reached.
-
Method Details
-
isReached
public boolean isReached()Returnstrue
if the soft limit has been reached.- Returns:
true
if the soft limit is reached
-