Package frc.robot
Class AutoCommandFactory
java.lang.Object
frc.robot.AutoCommandFactory
Auto Command Factory
-
Constructor Summary
ConstructorsConstructorDescriptionAutoCommandFactory(choreo.auto.AutoFactory autoFactory, Swerve swerve, AdjustableHood adjustableHood, Climber climber, Intake intake, Indexer indexer, Shooter shooter, Turret turret) Auto Command Factory -
Method Summary
Modifier and TypeMethodDescriptionchoreo.auto.AutoRoutineCMP SpecialcrossRampIntoCenter(choreo.auto.AutoRoutine routine) Cross ramp into the neutral zone.crossRampIntoZone(choreo.auto.AutoRoutine routine) Cross ramp into our alliance zone.choreo.auto.AutoRoutineGather Fuel from the left side and then return and shootchoreo.auto.AutoRoutineBase for auto routines.halfSweepTrenchRamp(choreo.auto.AutoRoutine routine, boolean left) Cross trench and then back over ramp and shoothalfSweepTrenchRampPath(choreo.auto.AutoRoutine routine, boolean left, DoubleSupplier x) Half Sweep Trench Ramp Pathchoreo.auto.AutoRoutineMove to a specified X,Y and shootchoreo.auto.AutoRoutinerampAuto()Cross ramp once, pick up balls, come back over same ramp, shoot.choreo.auto.AutoRoutineTest to make sure autos work.choreo.auto.AutoRoutinewilsonTestBase(choreo.auto.AutoRoutine routine) Base for auto routines.
-
Constructor Details
-
Method Details
-
gatherThenShootLeft
public choreo.auto.AutoRoutine gatherThenShootLeft()Gather Fuel from the left side and then return and shoot- Returns:
- AutoRoutine
-
shootFirst
-
cmpSpecial
public choreo.auto.AutoRoutine cmpSpecial()CMP Special- Returns:
- AutoRoutine
-
justShoot
public choreo.auto.AutoRoutine justShoot()Move to a specified X,Y and shoot- Returns:
- AutoRoutine
-
rampAuto
public choreo.auto.AutoRoutine rampAuto()Cross ramp once, pick up balls, come back over same ramp, shoot. -
crossRampIntoCenter
Cross ramp into the neutral zone. -
crossRampIntoZone
Cross ramp into our alliance zone. -
wilsonTest
public choreo.auto.AutoRoutine wilsonTest()Test to make sure autos work. -
wilsonTestBase
public choreo.auto.AutoRoutine wilsonTestBase(choreo.auto.AutoRoutine routine) Base for auto routines. -
halfSweepTrenchRamp
public choreo.auto.AutoRoutine halfSweepTrenchRamp()Base for auto routines. -
halfSweepTrenchRamp
Cross trench and then back over ramp and shoot -
halfSweepTrenchRampPath
public Command halfSweepTrenchRampPath(choreo.auto.AutoRoutine routine, boolean left, DoubleSupplier x) Half Sweep Trench Ramp Path
-