Class CachedDouble

All Implemented Interfaces:
Sendable, Subsystem, DoubleSupplier

public class CachedDouble extends SubsystemBase implements DoubleSupplier
Caches a DoubleSupplier value so it is computed at most once per scheduler iteration. Note: Subsystem periodic() is typically called after triggers are polled each iteration.