Skip to content

Commit

Permalink
fix: stop resetting rate limiters on init (smoother transition betwee…
Browse files Browse the repository at this point in the history
…n targeting and normal)
  • Loading branch information
mimizh2418 committed Feb 10, 2024
1 parent 198e561 commit 46b3631
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ public DriveWithSpeakerTargetingCommand(Drivetrain drivetrain, CommandXboxContro

@Override
public void initialize() {
xLimiter.reset(0);
yLimiter.reset(0);
rotController.reset();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,6 @@ public SwerveDriveCommand(Drivetrain drivetrain, CommandXboxController controlle
addRequirements(drivetrain);
}

@Override
public void initialize() {
xLimiter.reset(0);
yLimiter.reset(0);
rotLimiter.reset(0);

}

@Override
public void execute() {
boolean isFlipped =
Expand Down

0 comments on commit 46b3631

Please sign in to comment.