RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
TimeSyncEventData.java
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5package org.wpilib.networktables;
6
8public final class TimeSyncEventData {
13 public final long serverTimeOffset;
14
16 public final long rtt2;
17
22 public final boolean valid;
23
31 public TimeSyncEventData(long serverTimeOffset, long rtt2, boolean valid) {
32 this.serverTimeOffset = serverTimeOffset;
33 this.rtt2 = rtt2;
34 this.valid = valid;
35 }
36}
TimeSyncEventData(long serverTimeOffset, long rtt2, boolean valid)