Class BaseSimpleMaintainerCommand

All Implemented Interfaces:
Sendable, IPropertySupport
Direct Known Subclasses:
SwerveDriveMaintainerCommand, SwerveSteeringMaintainerCommand

public abstract class BaseSimpleMaintainerCommand extends BaseMaintainerCommand<Double,Double>
A base class for maintainer commands that use simple Double values for both current and target values.
  • Constructor Details

    • BaseSimpleMaintainerCommand

      public BaseSimpleMaintainerCommand(BaseSetpointSubsystem<Double,Double> subsystemToMaintain, PropertyFactory pf, HumanVsMachineDecider.HumanVsMachineDeciderFactory humanVsMachineDeciderFactory, double defaultErrorTolerance, double defaultTimeStableWindow)
      Creates a new maintainer command.
      Parameters:
      subsystemToMaintain - The subsystem to maintain.
      pf - The property factory to use for creating properties.
      humanVsMachineDeciderFactory - The decider factory to use for creating the decider.
      defaultErrorTolerance - The default error tolerance.
      defaultTimeStableWindow - The default time stable window.