Class MathSharedStore

java.lang.Object
edu.wpi.first.math.MathSharedStore

public final class MathSharedStore extends Object
Storage for MathShared object.
  • Method Details

    • getMathShared

      public static MathShared getMathShared()
      Get the MathShared object.
      Returns:
      The MathShared object.
    • setMathShared

      public static void setMathShared(MathShared shared)
      Set the MathShared object.
      Parameters:
      shared - The MathShared object.
    • reportError

      public static void reportError(String error, StackTraceElement[] stackTrace)
      Report an error.
      Parameters:
      error - the error to set
      stackTrace - array of stacktrace elements
    • reportUsage

      public static void reportUsage(MathUsageId id, int count)
      Report usage.
      Parameters:
      id - the usage id
      count - the usage count
    • getTimestamp

      public static double getTimestamp()
      Get the time.
      Returns:
      The time in seconds.