Class TimestampedBoolean

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

public final class TimestampedBoolean extends Object
NetworkTables timestamped Boolean.
  • 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 boolean value
      Value.
  • Constructor Details

    • TimestampedBoolean

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