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 AllTimestampsclone()TimestampgetBestTimestamp()Get the best timestamp available.TimestampgetCANivoreTimestamp()Get the timestamp as reported by the CANivore.TimestampgetDeviceTimestamp()Get the timestamp as reported by the device.TimestampgetSystemTimestamp()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:
Systemtimestamp
-
getCANivoreTimestamp
Get the timestamp as reported by the CANivore.- Returns:
CANivoretimestamp
-
getDeviceTimestamp
Get the timestamp as reported by the device.- Returns:
Devicetimestamp
-
clone
-