Class AbstractSetAndSeekSubsystemConfig

Direct Known Subclasses:
HarvesterSubsystemConfig, TurretSubsystemConfig

public abstract class AbstractSetAndSeekSubsystemConfig extends AbstractMotorSubsystemConfig
Configuration values for subsystems that follow a trapezoidal motion profile.

Motion profile parameters (velocity, acceleration, tolerances, initial state) are organized into a nested SetAndSeekMotionConfig bundle. Setpoint limits are read from the motor configuration's soft limits so there is a single source of truth for the mechanism's safe travel range. PID and feedforward gains are inherited from AbstractMotorSubsystemConfig.

  • Field Details

    • motionProfile

      public SetAndSeekMotionConfig motionProfile
      Trapezoidal motion profile parameters for this set-and-seek subsystem.
  • Constructor Details

    • AbstractSetAndSeekSubsystemConfig

      public AbstractSetAndSeekSubsystemConfig()
  • Method Details

    • getMinimumSetpointDegrees

      public double getMinimumSetpointDegrees()
      Returns the minimum setpoint derived from the motor's reverse soft limit.
      Returns:
      minimum allowed setpoint in degrees
    • getMinimumSetpointRadians

      public double getMinimumSetpointRadians()
      Returns the minimum setpoint derived from the motor's reverse soft limit.
      Returns:
      minimum allowed setpoint in radians
    • getMaximumSetpointDegrees

      public double getMaximumSetpointDegrees()
      Returns the maximum setpoint derived from the motor's forward soft limit.
      Returns:
      maximum allowed setpoint in degrees
    • getMaximumSetpointRadians

      public double getMaximumSetpointRadians()
      Returns the maximum setpoint derived from the motor's forward soft limit.
      Returns:
      maximum allowed setpoint in radians