Skip to content

Commit

Permalink
Fix utf error
Browse files Browse the repository at this point in the history
  • Loading branch information
keckothedragon committed May 9, 2024
1 parent 831dc75 commit 9d020a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/drive/Module.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void periodic() {
if (speedSetpoint != null) {
// Scale velocity based on turn error
//
// When the error is 90°, the velocity setpoint should be 0. As the wheel turns
// When the error is 90 degrees, the velocity setpoint should be 0. As the wheel turns
// towards the setpoint, its velocity should increase. This is achieved by
// taking the component of the velocity in the direction of the setpoint.
double adjustSpeedSetpoint = speedSetpoint * Math.cos(turnFeedback.getPositionError());
Expand Down

0 comments on commit 9d020a9

Please sign in to comment.