Class SwerveDriveDriveWithRobotRelativeSpeeds
java.lang.Object
edu.wpi.first.wpilibj2.command.Command
com.stuypulse.robot.commands.swerve.SwerveDriveDriveWithRobotRelativeSpeeds
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.wpi.first.wpilibj2.command.Command
edu.wpi.first.wpilibj2.command.Command.InterruptionBehavior -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate final CommandSwerveDrivetrainprivate doubleprivate double -
Constructor Summary
ConstructorsConstructorDescriptionSwerveDriveDriveWithRobotRelativeSpeeds(double velocityX, double velocityY, double angularVelocity) -
Method Summary
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
-
Field Details
-
swerve
-
velocityX
-
velocityY
-
angularVelocity
-
-
Constructor Details
-
SwerveDriveDriveWithRobotRelativeSpeeds
public SwerveDriveDriveWithRobotRelativeSpeeds(double velocityX, double velocityY, double angularVelocity)
-
-
Method Details
-
execute
- Overrides:
executein classedu.wpi.first.wpilibj2.command.Command
-