Class MathSharedStore
java.lang.Object
org.wpilib.math.util.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 voidsetMathShared(MathShared shared) Set the MathShared object.
-
Method Details
-
reportError
Report an error.- Parameters:
error- the error to setstackTrace- array of stacktrace elements
-
getTimestamp
public static double getTimestamp()Get the time.- Returns:
- The time in seconds.