Package edu.wpi.first.math
Interface MathShared
public interface MathShared
WPIMath utility functions.
-
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the current time.voidreportError(String error, StackTraceElement[] stackTrace) Report an error.voidreportUsage(MathUsageId id, int count) Report usage.
-
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
double getTimestamp()Get the current time.- Returns:
- Time in seconds
-