Package xbot.common.command
Class BaseSubsystem
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
xbot.common.command.BaseSubsystem
- All Implemented Interfaces:
Sendable,Subsystem,IPropertySupport
- Direct Known Subclasses:
AutonomousCommandSelector,BaseDriveSubsystem,BasePoseSubsystem,BaseSetpointSubsystem,CompressorSubsystem,SimpleMotorSubsystem,SwerveModuleSubsystem
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AKitLoggerprotected final org.apache.logging.log4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidperiodic()This method is called on eachCommandSchedulerloop.Methods inherited from class edu.wpi.first.wpilibj2.command.SubsystemBase
addChild, getName, getSubsystem, initSendable, setName, setSubsystemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.wpi.first.wpilibj2.command.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 interfaceIPropertySupport
-
periodic
public void periodic()This method is called on eachCommandSchedulerloop.
-