Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cherriae committed Mar 28, 2024
2 parents e6f1557 + 7e6637b commit 81b3dc0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/frc/robot/commands/auto/NoteAlign.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ public void execute() {
noteX = noteAngles.get()[0];
}

if (!_headingController.atSetpoint()) {

} else {

}

double rotationVelocity = MathUtil.clamp(
_headingController.calculate(noteX, 0),
-Speeds.SWERVE_DRIVE_MAX_ANGULAR_SPEED,
Expand Down

0 comments on commit 81b3dc0

Please sign in to comment.