Class IntakeExtension

java.lang.Object
frc.spectrumLib.mechanism.Mechanism
frc.robot.intakeExtension.IntakeExtension
All Implemented Interfaces:
Subsystem, SpectrumSubsystem

public class IntakeExtension extends Mechanism
  • Constructor Details

  • Method Details

    • periodic

      public void periodic()
      Specified by:
      periodic in interface Subsystem
      Overrides:
      periodic in class Mechanism
    • setupStates

      public void setupStates()
      Description copied from interface: SpectrumSubsystem
      Set up the states and triggers for this subsystem. This is typically used to bind commands to SpectrumState triggers.
    • setupDefaultCommand

      public void setupDefaultCommand()
      Description copied from interface: SpectrumSubsystem
      Set up the default command for this subsystem. This command will run when no other command is using this subsystem.
    • resetCurrentPositionToMax

      public void resetCurrentPositionToMax()
    • resetToInitialPos

      public Command resetToInitialPos()
    • runHoldIntakeExtension

      public Command runHoldIntakeExtension()
      Holds the position of the Intake Extension.
    • move

      public Command move(DoubleSupplier rotations)
    • motionMagicPercentMove

      public Command motionMagicPercentMove(DoubleSupplier percent)
    • slowMoveToPercent

      public Command slowMoveToPercent(DoubleSupplier percent)
    • simulationPeriodic

      public void simulationPeriodic()
      Specified by:
      simulationPeriodic in interface Subsystem
      Overrides:
      simulationPeriodic in class Mechanism
    • getConfig

    • getSim

      public frc.robot.intakeExtension.IntakeExtension.IntakeExtensionSim getSim()