Class SparkSoftLimit

java.lang.Object
com.revrobotics.spark.SparkSoftLimit

public class SparkSoftLimit extends Object
Get an instance of this class by using SparkBase.getForwardSoftLimit() or SparkBase.getReverseSoftLimit().
  • Method Details

    • isReached

      public boolean isReached()
      Returns true if the soft limit has been reached.
      Returns:
      true if the soft limit is reached