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

    Fields
    Modifier and Type
    Field
    Description
    protected final AKitLogger
     
    protected final org.apache.logging.log4j.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    This method is called on each CommandScheduler loop.

    Methods inherited from class org.wpilib.command2.SubsystemBase

    getName, getTelemetryType, logTo, setName

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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

      protected final AKitLogger aKitLog
  • Constructor Details

    • BaseSubsystem

      public BaseSubsystem()
  • Method Details

    • getPrefix

      public String getPrefix()
      Specified by:
      getPrefix in interface TunablePrefixProvider
    • periodic

      public void periodic()
      This method is called on each CommandScheduler loop.
      Specified by:
      periodic in interface org.wpilib.command2.Subsystem