Package frc.robot.shared.config
Class AbstractMotorSubsystemConfig
java.lang.Object
frc.robot.shared.config.AbstractConfig
frc.robot.shared.config.AbstractSubsystemConfig
frc.robot.shared.config.AbstractMotorSubsystemConfig
- Direct Known Subclasses:
AbstractSetAndSeekSubsystemConfig,AbstractVelocitySubsystemConfig
Configuration values shared by any motor-driven subsystem that uses PID control and feedforward estimation.
Concrete configs for position-based (set-and-seek) and velocity-based subsystems extend this class to inherit tunable PID and feedforward gains.
Gains are organized into nested bundles: PidConfig, FeedforwardConfig, and SysIdRoutineConfig. Each bundle is surfaced to
SmartDashboard under the parent subsystem's namespace (e.g., ShooterSubsystem/pid/kP).
-
Nested Class Summary
Nested classes/interfaces inherited from class frc.robot.shared.config.AbstractConfig
AbstractConfig.ComponentPoseConfig -
Field Summary
FieldsModifier and TypeFieldDescriptionFeedforward gains for this motor subsystem.Motor configuration bundle for this subsystem's primary motor.PID controller gains for this motor subsystem.SysId routine parameters for this motor subsystem.Fields inherited from class frc.robot.shared.config.AbstractSubsystemConfig
enabled, verbose -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class frc.robot.shared.config.AbstractSubsystemConfig
getVerboseMethods inherited from class frc.robot.shared.config.AbstractConfig
getDashboardPrefix, initializeNestedDashboardPrefixes, readTunableBoolean, readTunableDegrees, readTunableDegreesAsRadians, readTunableNumber, readTunableString, setDashboardPrefix
-
Field Details
-
pid
PID controller gains for this motor subsystem. -
feedforward
Feedforward gains for this motor subsystem. -
sysId
SysId routine parameters for this motor subsystem. -
motorConfig
Motor configuration bundle for this subsystem's primary motor.
-
-
Constructor Details
-
AbstractMotorSubsystemConfig
public AbstractMotorSubsystemConfig()
-