Interface MathShared
public interface MathShared
WPIMath utility functions.
-
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the current time.voidreportError(String error, StackTraceElement[] stackTrace) Report an error.
-
Method Details
-
reportError
Report an error.- Parameters:
error- the error to setstackTrace- array of stacktrace elements
-
getTimestamp
double getTimestamp()Get the current time.- Returns:
- Time in seconds
-