Class AutonomousCommandSelector
java.lang.Object
org.wpilib.command2.SubsystemBase
xbot.common.command.BaseSubsystem
xbot.common.subsystems.autonomous.AutonomousCommandSelector
- All Implemented Interfaces:
org.wpilib.command2.Subsystem, org.wpilib.telemetry.TelemetryLoggable, TunablePrefixProvider
-
Field Summary
Fields inherited from class BaseSubsystem
aKitLog -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.wpilib.command2.Commandorg.wpilib.command2.Commandorg.wpilib.math.geometry.Pose2dbooleanvoidsetAutonomousState(String state) voidsetCurrentAutonomousCommand(org.wpilib.command2.Command currentAutonomousCommand) voidsetCurrentAutonomousCommandSupplier(Supplier<org.wpilib.command2.Command> supplier) voidsetCurrentAutonomousStartingPosition(org.wpilib.math.geometry.Pose2d position) voidsetIsDefault(boolean bol) Methods inherited from class BaseSubsystem
getPrefix, periodicMethods inherited from class org.wpilib.command2.SubsystemBase
getName, getTelemetryType, logTo, setNameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wpilib.command2.Subsystem
defer, getCurrentCommand, getDefaultCommand, idle, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd, startRun
-
Constructor Details
-
AutonomousCommandSelector
-
-
Method Details
-
getCurrentAutonomousCommand
public org.wpilib.command2.Command getCurrentAutonomousCommand() -
getCurrentAutonomousStartingPosition
public org.wpilib.math.geometry.Pose2d getCurrentAutonomousStartingPosition() -
setCurrentAutonomousStartingPosition
public void setCurrentAutonomousStartingPosition(org.wpilib.math.geometry.Pose2d position) -
setCurrentAutonomousCommand
public void setCurrentAutonomousCommand(org.wpilib.command2.Command currentAutonomousCommand) -
setCurrentAutonomousCommandSupplier
-
setAutonomousState
-
createAutonomousStateMessageCommand
-
setIsDefault
public void setIsDefault(boolean bol) -
getIsDefault
public boolean getIsDefault() -
getProgramName
-