Package frc.robot.auton
Class Auton
java.lang.Object
frc.robot.auton.Auton
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EventTriggerstatic final EventTriggerstatic final SpectrumStatestatic final EventTriggerstatic final EventTriggerstatic final EventTriggerstatic final EventTrigger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBBBB(boolean mirrored) voidexit()static CommandfollowSinglePath(String pathName) Never returns null.voidinit()launch()protected static Commandoptional_BBB(boolean mirrored) optional_TBT(boolean mirrored) static CommandpathfindingCommandToPose(double xPos, double yPos, double rotation, double vel, double accel) voidPrints the elapsed auton time at auton exit, calling the run cancelled if it ended early.secondMan_BBD(boolean mirrored) secondMan_TBTB(boolean mirrored) voidSpectrumAuton(String autoName, boolean mirrored) SpectrumAuton(String autoName, boolean mirrored, double duration) voidTBTB(boolean mirrored) TBTT(boolean mirrored) TTTT(boolean mirrored)
-
Field Details
-
autonLaunching
-
autonIntake
-
autonShotPrep
-
autonShoot
-
autonClearState
-
autonUnjam
-
autonPoseUpdate
-
-
Constructor Details
-
Auton
-
-
Method Details
-
setupSelectors
public void setupSelectors() -
init
public void init() -
exit
public void exit() -
doNothing
-
launch
-
secondMan_TBTB
-
secondMan_BBD
-
optional_TBT
-
optional_BBB
-
TBTB
-
TBTT
-
TTTT
-
BBBB
-
SpectrumAuton
-
SpectrumAuton
-
getAutonomousCommand
Never returns null. Falls back to a command that prints a warning. -
startAutonTimer
public void startAutonTimer() -
printAutoDuration
public void printAutoDuration()Prints the elapsed auton time at auton exit, calling the run cancelled if it ended early. Based on 6328 code. -
followSinglePath
-
pathfindingCommandToPose
public static Command pathfindingCommandToPose(double xPos, double yPos, double rotation, double vel, double accel) -
log
-