Class SwerveResetPose
java.lang.Object
edu.wpi.first.wpilibj2.command.Command
edu.wpi.first.wpilibj2.command.FunctionalCommand
edu.wpi.first.wpilibj2.command.InstantCommand
com.stuypulse.robot.commands.swerve.SwerveResetPose
- 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 final edu.wpi.first.math.geometry.Pose2dprivate final CommandSwerveDrivetrain -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class edu.wpi.first.wpilibj2.command.FunctionalCommand
end, initialize, isFinishedMethods inherited from class edu.wpi.first.wpilibj2.command.Command
addRequirements, addRequirements, alongWith, andThen, andThen, asProxy, beforeStarting, beforeStarting, cancel, deadlineFor, deadlineWith, finallyDo, finallyDo, getInterruptionBehavior, getName, getRequirements, getSubsystem, handleInterrupt, hasRequirement, ignoringDisable, initSendable, isScheduled, onlyIf, onlyWhile, raceWith, repeatedly, runsWhenDisabled, schedule, setName, setSubsystem, unless, until, withDeadline, withInterruptBehavior, withName, withTimeout, withTimeout
-
Field Details
-
swerve
-
newPose
-
-
Constructor Details
-
SwerveResetPose
-
-
Method Details
-
execute
- Overrides:
executein classedu.wpi.first.wpilibj2.command.FunctionalCommand
-