WPILibC++ 2024.3.2
|
NetworkTables time sync event data. More...
#include <ntcore_c.h>
Public Attributes | |
int64_t | serverTimeOffset |
Offset between local time and server time, in microseconds. More... | |
int64_t | rtt2 |
Measured round trip time divided by 2, in microseconds. More... | |
NT_Bool | valid |
If serverTimeOffset and RTT are valid. More... | |
NetworkTables time sync event data.
int64_t NT_TimeSyncEventData::rtt2 |
Measured round trip time divided by 2, in microseconds.
int64_t NT_TimeSyncEventData::serverTimeOffset |
Offset between local time and server time, in microseconds.
Add this value to local time to get the estimated equivalent server time.
NT_Bool NT_TimeSyncEventData::valid |
If serverTimeOffset and RTT are valid.
An event with this set to false is sent when the client disconnects.