Class SwerveDriveRotate

java.lang.Object
edu.wpi.first.wpilibj2.command.Command
com.stuypulse.robot.commands.swerve.SwerveDriveRotate
All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable

public class SwerveDriveRotate extends edu.wpi.first.wpilibj2.command.Command
  • Nested Class Summary

    Nested classes/interfaces inherited from class edu.wpi.first.wpilibj2.command.Command

    edu.wpi.first.wpilibj2.command.Command.InterruptionBehavior
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private edu.wpi.first.wpilibj2.command.button.CommandXboxController
     
    private edu.wpi.first.math.geometry.Rotation2d
     
    private final DriveInputProcessor
     
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SwerveDriveRotate(edu.wpi.first.wpilibj2.command.button.CommandXboxController driver, edu.wpi.first.math.geometry.Rotation2d rotation)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class edu.wpi.first.wpilibj2.command.Command

    addRequirements, addRequirements, alongWith, andThen, andThen, asProxy, beforeStarting, beforeStarting, cancel, deadlineFor, deadlineWith, end, finallyDo, finallyDo, getInterruptionBehavior, getName, getRequirements, getSubsystem, handleInterrupt, hasRequirement, ignoringDisable, initialize, initSendable, isFinished, isScheduled, onlyIf, onlyWhile, raceWith, repeatedly, runsWhenDisabled, schedule, setName, setSubsystem, unless, until, withDeadline, withInterruptBehavior, withName, withTimeout, withTimeout

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • SwerveDriveRotate

      public SwerveDriveRotate(edu.wpi.first.wpilibj2.command.button.CommandXboxController driver, edu.wpi.first.math.geometry.Rotation2d rotation)
  • Method Details

    • execute

      public void execute()
      Overrides:
      execute in class edu.wpi.first.wpilibj2.command.Command