Skip to content

Commit

Permalink
Update at 'Fri Sep 27 19:35:06 PDT 2024'
Browse files Browse the repository at this point in the history
  • Loading branch information
mimizh2418 committed Sep 28, 2024
1 parent d784c8c commit 31e06bc
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ public void initialize() {

@Override
public void execute() {
if (Constants.isTuningMode()) {
rotController.setPID(kP.get(), kI.get(), kD.get());
}

Rotation2d targetRot =
drivetrain.getPose()
.minus(target.get()).getTranslation().getAngle()
Expand Down

0 comments on commit 31e06bc

Please sign in to comment.