TimeSyncEventData

class ntcore.TimeSyncEventData(serverTimeOffset: int, rtt2: int, valid: bool)

Bases: pybind11_object

NetworkTables time sync event data.

property rtt2 int

Measured round trip time divided by 2, in microseconds.

property serverTimeOffset int

Offset between local time and server time, in microseconds. Add this value to local time to get the estimated equivalent server time.

property valid bool

If serverTimeOffset and RTT are valid. An event with this set to false is sent when the client disconnects.