Package org.parts3492.partslib.command
Class PARTsSubsystem
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
org.parts3492.partslib.command.PARTsSubsystem
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable,edu.wpi.first.wpilibj2.command.Subsystem,IPARTsSubsystem
- Direct Known Subclasses:
PARTsCandle
public abstract class PARTsSubsystem
extends edu.wpi.first.wpilibj2.command.SubsystemBase
implements IPARTsSubsystem
Command based subsystem with built-in PARTs tools and features.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PARTsLoggerprotected PARTsNTprotected PARTsPreferences -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new PARTsSubsystem.PARTsSubsystem(boolean enableLogging) Creates a new PARTsSubsystem.Creates a new PARTsSubsystem.PARTsSubsystem(Object o, boolean enableLogging) Creates a new PARTsSubsystem.PARTsSubsystem(String className) Creates a new PARTsSubsystem.PARTsSubsystem(String className, boolean enableLogging) Creates a new PARTsSubsystem. -
Method Summary
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 org.parts3492.partslib.command.IPARTsSubsystem
log, outputTelemetry, reset, stopMethods inherited from interface edu.wpi.first.util.sendable.Sendable
initSendableMethods inherited from interface edu.wpi.first.wpilibj2.command.Subsystem
defer, getCurrentCommand, getDefaultCommand, getName, idle, periodic, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd, startRun
-
Field Details
-
partsNT
-
partsLogger
-
partsPrefrences
-
-
Constructor Details
-
PARTsSubsystem
public PARTsSubsystem()Creates a new PARTsSubsystem.Comes with instances of PARTs tools that use the "Generic" name.
-
PARTsSubsystem
public PARTsSubsystem(boolean enableLogging) Creates a new PARTsSubsystem.Comes with instances of PARTs tools that use the "Generic" name.
- Parameters:
enableLogging- Enable thePARTsLoggerinstance for this subsystem.
-
PARTsSubsystem
Creates a new PARTsSubsystem.Comes with instances of PARTs tools that use given class name.
- Parameters:
o- The object that the subsystem will use for the name.
-
PARTsSubsystem
Creates a new PARTsSubsystem.Comes with instances of PARTs tools that use given class name.
- Parameters:
o- The object that the subsystem will use for the name.enableLogging- Enable thePARTsLoggerinstance for this subsystem.
-
PARTsSubsystem
Creates a new PARTsSubsystem.Comes with instances of PARTs tools that use given class name.
- Parameters:
className- The name that this subsystem should use as it's name.
-
PARTsSubsystem
Creates a new PARTsSubsystem.Comes with instances of PARTs tools that use given class name.
- Parameters:
className- The name that this subsystem should use as it's name.enableLogging- Enable thePARTsLoggerinstance for this subsystem.
-