Package edu.wpi.first.math
Class MathSharedStore
java.lang.Object
edu.wpi.first.math.MathSharedStore
Storage for MathShared object.
-
Method Summary
Modifier and TypeMethodDescriptionstatic MathSharedGet the MathShared object.static doubleGet the time.static voidreportError(String error, StackTraceElement[] stackTrace) Report an error.static voidreportUsage(MathUsageId id, int count) Report usage.static voidsetMathShared(MathShared shared) Set the MathShared object.
-
Method Details
-
reportError
Report an error.- Parameters:
error- the error to setstackTrace- array of stacktrace elements
-
reportUsage
Report usage.- Parameters:
id- the usage idcount- the usage count
-
getTimestamp
Get the time.- Returns:
- The time in seconds.