Interface MathShared


public interface MathShared
WPIMath utility functions.
  • Method Details

    • reportError

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

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

      double getTimestamp()
      Get the current time.
      Returns:
      Time in seconds