Class TimestampedDouble

java.lang.Object
edu.wpi.first.networktables.TimestampedDouble

public final class TimestampedDouble extends Object
NetworkTables timestamped Double.
  • Field Details

    • timestamp

      public final long timestamp
      Timestamp in local time base.
    • serverTime

      public final long serverTime
      Timestamp in server time base. May be 0 or 1 for locally set values.
    • value

      public final double value
      Value.
  • Constructor Details

    • TimestampedDouble

      public TimestampedDouble(long timestamp, long serverTime, double value)
      Create a timestamped value.
      Parameters:
      timestamp - timestamp in local time base
      serverTime - timestamp in server time base
      value - value