java.lang.Object
edu.wpi.first.wpilibj2.command.Command
frc.alotobots.reefscape.subsystems.wrist.commands.WristOpenLoop
All Implemented Interfaces:
Sendable

public class WristOpenLoop extends Command
Command for controlling the wrist in open-loop mode.
  • Constructor Details

    • WristOpenLoop

      public WristOpenLoop(WristSubsystem wristSubsystem, DoubleSupplier input)
      Creates a new WristOpenLoop command.
      Parameters:
      wristSubsystem - The wrist subsystem to control
      input - Supplier for the percent output (-1.0 to 1.0)
  • 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