Class LockWheelsState

java.lang.Object
edu.wpi.first.wpilibj2.command.Command
frc.robot.commands.drivetrain.LockWheelsState
All Implemented Interfaces:
Sendable

public class LockWheelsState extends Command
A state that locks the wheels of the swerve drive to force it to remain stationary
  • Constructor Details

    • LockWheelsState

      public LockWheelsState(Drivetrain swerveDrive)
  • Method Details

    • initialize

      public void initialize()
      Overrides:
      initialize in class Command
    • execute

      public void execute()
      Overrides:
      execute in class Command
    • end

      public void end(boolean interrupted)
      Overrides:
      end in class Command
    • isFinished

      public boolean isFinished()
      Overrides:
      isFinished in class Command