Package frc.robot.subsystems
Class LEDSubsystem
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
frc.robot.subsystems.LEDSubsystem
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable,edu.wpi.first.wpilibj2.command.Subsystem
public class LEDSubsystem
extends edu.wpi.first.wpilibj2.command.SubsystemBase
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidperiodic()edu.wpi.first.wpilibj2.command.CommandsetCone()edu.wpi.first.wpilibj2.command.CommandsetCube()edu.wpi.first.wpilibj2.command.CommandsetDemo()edu.wpi.first.wpilibj2.command.Commandedu.wpi.first.wpilibj2.command.Commandedu.wpi.first.wpilibj2.command.Commandedu.wpi.first.wpilibj2.command.Commandedu.wpi.first.wpilibj2.command.Commandedu.wpi.first.wpilibj2.command.CommandsetOff()edu.wpi.first.wpilibj2.command.Commandedu.wpi.first.wpilibj2.command.CommandMethods 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, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd, startRun
-
Field Details
-
totalCurrentDraw
-
-
Constructor Details
-
LEDSubsystem
public LEDSubsystem()
-
-
Method Details
-
setOff
public edu.wpi.first.wpilibj2.command.Command setOff() -
setInitialize
public edu.wpi.first.wpilibj2.command.Command setInitialize() -
setDemo
public edu.wpi.first.wpilibj2.command.Command setDemo() -
setCone
public edu.wpi.first.wpilibj2.command.Command setCone() -
setCube
public edu.wpi.first.wpilibj2.command.Command setCube() -
setEndgameStart
public edu.wpi.first.wpilibj2.command.Command setEndgameStart() -
setEndgameCone
public edu.wpi.first.wpilibj2.command.Command setEndgameCone() -
setEndgameCube
public edu.wpi.first.wpilibj2.command.Command setEndgameCube() -
setShwerve
public edu.wpi.first.wpilibj2.command.Command setShwerve() -
setSelfDestruct
public edu.wpi.first.wpilibj2.command.Command setSelfDestruct() -
setDisabled
public edu.wpi.first.wpilibj2.command.Command setDisabled() -
enableUnderglow
-
disableUnderglow
-
periodic
public void periodic()
-