Package edu.wpi.first.wpilibj2.command
Class SubsystemBase
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
- All Implemented Interfaces:
Subsystem
- Direct Known Subclasses:
PIDSubsystem
public abstract class SubsystemBase extends java.lang.Object implements Subsystem
A base for subsystems that handles registration in the constructor, and provides a more intuitive
method for setting the default command.
-
Constructor Summary
Constructors Constructor Description SubsystemBase()
Constructor. -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.wpi.first.wpilibj2.command.Subsystem
getCurrentCommand, getDefaultCommand, periodic, register, setDefaultCommand
-
Constructor Details
-
SubsystemBase
public SubsystemBase()Constructor.
-