Package com.ctre.phoenix6
Class Timestamp
java.lang.Object
com.ctre.phoenix6.Timestamp
Information about the timestamp of a signal.
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
getTime
Get the time in seconds as reported from this timestamp- Returns:
- Time in seconds
-
getSource
Get the source of this timestamp- Returns:
- Source of this timestamp
-
getLatency
Get the latency of this timestamp compared to now- Returns:
- Difference between now and this timestamp
-
isValid
Returns if this Timestamp is valid or not.- Returns:
- true when this is valid
-