Package com.ctre.phoenix6
Class AllTimestamps
java.lang.Object
com.ctre.phoenix6.AllTimestamps
- All Implemented Interfaces:
Cloneable
public class AllTimestamps extends Object implements Cloneable
A collection of timestamps for a received signal.
-
Constructor Summary
Constructors Constructor Description AllTimestamps()
-
Method Summary
Modifier and Type Method Description AllTimestamps
clone()
Timestamp
getBestTimestamp()
Get the best timestamp available.Timestamp
getCANivoreTimestamp()
Get the timestamp as reported by the CANivore.Timestamp
getDeviceTimestamp()
Get the timestamp as reported by the device.Timestamp
getSystemTimestamp()
Get the timestamp as reported by the system.
-
Constructor Details
-
AllTimestamps
public AllTimestamps()
-
-
Method Details
-
getBestTimestamp
Get the best timestamp available.- Returns:
- Best available timestamp
-
getSystemTimestamp
Get the timestamp as reported by the system.- Returns:
System
timestamp
-
getCANivoreTimestamp
Get the timestamp as reported by the CANivore.- Returns:
CANivore
timestamp
-
getDeviceTimestamp
Get the timestamp as reported by the device.- Returns:
Device
timestamp
-
clone
-