|
CTRE Phoenix 6 C++ 26.70.0-alpha-2
|
A collection of timestamps for a received signal. More...
#include <ctre/phoenix6/Timestamp.hpp>
Public Member Functions | |
| constexpr void | Update (Timestamp newSystemTimestamp, Timestamp newCanivoreTimestamp, Timestamp newDeviceTimestamp) |
| constexpr Timestamp const & | GetBestTimestamp () const |
| Gets the most accurate timestamp available. | |
| constexpr Timestamp const & | GetSystemTimestamp () const |
| Gets the timestamp as reported by the Timestamp::TimestampSource::System source. | |
| constexpr Timestamp const & | GetCANivoreTimestamp () const |
| Gets the timestamp as reported by the Timestamp::TimestampSource::CANivore source. | |
| constexpr Timestamp const & | GetDeviceTimestamp () const |
| Gets the timestamp as reported by the Timestamp::TimestampSource::Device source. | |
A collection of timestamps for a received signal.
|
inlineconstexpr |
Gets the most accurate timestamp available.
The timestamp sources from most to least accurate are:
Note that some of these sources may not be available.
|
inlineconstexpr |
Gets the timestamp as reported by the Timestamp::TimestampSource::CANivore source.
|
inlineconstexpr |
Gets the timestamp as reported by the Timestamp::TimestampSource::Device source.
|
inlineconstexpr |
Gets the timestamp as reported by the Timestamp::TimestampSource::System source.
|
inlineconstexpr |