Class AccumulatorResult

java.lang.Object
edu.wpi.first.hal.AccumulatorResult

public class AccumulatorResult
extends Object
Structure for holding the values stored in an accumulator.
  • Field Details

    • value

      public long value
      The total value accumulated.
    • count

      public long count
      The number of sample value was accumulated over.
  • Constructor Details

  • Method Details

    • set

      public void set​(long value, long count)
      Set the value and count.
      Parameters:
      value - The total value accumulated.
      count - The number of samples accumulated.