Skip to content

Commit

Permalink
fix: use continuous output on the pid
Browse files Browse the repository at this point in the history
* i'm really stupid
  • Loading branch information
mimizh2418 committed Feb 10, 2024
1 parent cf41c8f commit 198e561
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public class DriveWithSpeakerTargetingCommand extends Command {
public DriveWithSpeakerTargetingCommand(Drivetrain drivetrain, CommandXboxController controller) {
this.drivetrain = drivetrain;
this.controller = controller;
rotController.enableContinuousInput(-Math.PI, Math.PI);
addRequirements(drivetrain);
}

Expand Down

0 comments on commit 198e561

Please sign in to comment.