Class BaseSubsystem
java.lang.Object
org.wpilib.command2.SubsystemBase
xbot.common.command.BaseSubsystem
- All Implemented Interfaces:
org.wpilib.command2.Subsystem, org.wpilib.telemetry.TelemetryLoggable, TunablePrefixProvider
- Direct Known Subclasses:
AutonomousCommandSelector, BaseDriveSubsystem, BasePoseSubsystem, BaseSetpointSubsystem, CompressorSubsystem, SimpleMotorSubsystem, SwerveModuleSubsystem
public abstract class BaseSubsystem
extends org.wpilib.command2.SubsystemBase
implements TunablePrefixProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AKitLoggerprotected final org.apache.logging.log4j.Logger -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.wpilib.command2.SubsystemBase
getName, getTelemetryType, logTo, setNameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wpilib.command2.Subsystem
defer, getCurrentCommand, getDefaultCommand, idle, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd, startRun
-
Field Details
-
log
protected final org.apache.logging.log4j.Logger log -
aKitLog
-
-
Constructor Details
-
BaseSubsystem
public BaseSubsystem()
-
-
Method Details
-
getPrefix
- Specified by:
getPrefixin interfaceTunablePrefixProvider
-
periodic
public void periodic()This method is called on eachCommandSchedulerloop.- Specified by:
periodicin interfaceorg.wpilib.command2.Subsystem
-