Package edu.wpi.first.hal
Class AccumulatorResult
java.lang.Object
edu.wpi.first.hal.AccumulatorResult
Structure for holding the values stored in an accumulator.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
value
The total value accumulated. -
count
The number of sample value was accumulated over.
-
-
Constructor Details
-
AccumulatorResult
public AccumulatorResult()Constructs an AccumulatorResult.
-
-
Method Details
-
set
Set the value and count.- Parameters:
value
- The total value accumulated.count
- The number of samples accumulated.
-