Class DriveFacingAngle
java.lang.Object
frc.alotobots.library.subsystems.swervedrive.commands.DriveFacingAngle
-
Constructor Summary
ConstructorsConstructorDescriptionDriveFacingAngle(SwerveDriveSubsystem swerveDriveSubsystem) Creates a new DriveFacingAngle request. -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyRequest(Supplier<Rotation2d> targetRotation) getCommand(Supplier<Rotation2d> targetRotation) voidsetup()
-
Constructor Details
-
DriveFacingAngle
Creates a new DriveFacingAngle request.- Parameters:
swerveDriveSubsystem- The drive subsystem
-
-
Method Details
-
setup
public void setup() -
applyRequest
-
getCommand
-