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