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

@Singleton public class AutonomousCommandSelector extends BaseSubsystem
  • Constructor Details

    • AutonomousCommandSelector

      @Inject public AutonomousCommandSelector(PropertyFactory propFactory)
  • Method Details

    • getCurrentAutonomousCommand

      public Command getCurrentAutonomousCommand()
    • setCurrentAutonomousCommand

      public void setCurrentAutonomousCommand(Command currentAutonomousCommand)
    • setCurrentAutonomousCommandSupplier

      public void setCurrentAutonomousCommandSupplier(Supplier<Command> supplier)
    • setAutonomousState

      public void setAutonomousState(String state)
    • createAutonomousStateMessageCommand

      public Command createAutonomousStateMessageCommand(String message)
    • setIsDefault

      public void setIsDefault(boolean bol)
    • getIsDefault

      public boolean getIsDefault()
    • getProgramName

      public String getProgramName()