Class AutonomousCommandSelector
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
xbot.common.command.BaseSubsystem
xbot.common.subsystems.autonomous.AutonomousCommandSelector
- All Implemented Interfaces:
Sendable
,Subsystem
,DataFrameRefreshable
,IPropertySupport
-
Field Summary
Fields inherited from class xbot.common.command.BaseSubsystem
aKitLog, dataFrameRefreshables
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setAutonomousState
(String state) void
setCurrentAutonomousCommand
(Command currentAutonomousCommand) void
setCurrentAutonomousCommandSupplier
(Supplier<Command> supplier) void
setIsDefault
(boolean bol) Methods inherited from class xbot.common.command.BaseSubsystem
getPrefix, periodic, refreshDataFrame, registerDataFrameRefreshable
Methods inherited from class edu.wpi.first.wpilibj2.command.SubsystemBase
addChild, getName, getSubsystem, initSendable, setName, setSubsystem
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.wpi.first.wpilibj2.command.Subsystem
defer, getCurrentCommand, getDefaultCommand, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd, startRun
-
Constructor Details
-
AutonomousCommandSelector
-
-
Method Details
-
getCurrentAutonomousCommand
-
setCurrentAutonomousCommand
-
setCurrentAutonomousCommandSupplier
-
setAutonomousState
-
createAutonomousStateMessageCommand
-
setIsDefault
public void setIsDefault(boolean bol) -
getIsDefault
public boolean getIsDefault() -
getProgramName
-