Table of Contents

Class Timestamp

Namespace
CTRE.Phoenix6
Assembly
Phoenix6.Hardware.dll

Information about the timestamp of a signal.

public sealed class Timestamp
Inheritance
Timestamp
Inherited Members

Properties

IsValid

Whether this timestamp is valid or not

public bool IsValid { get; }

Property Value

bool

Source

What source this timestamp is from.

public Timestamp.TimestampSource Source { get; }

Property Value

Timestamp.TimestampSource
See Also

Time

The time this signal arrived

public double Time { get; }

Property Value

double

Methods

GetLatency()

Get the latency of this timestamp compared to now

public double GetLatency()

Returns

double

Difference between now and this timestamp