Skip to content

Commit

Permalink
moar lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dejabot committed Nov 23, 2023
1 parent 5bace98 commit 0ec76d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/team766/robot/mechanisms/EncoderUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ public static double lawOfCosines(double side1, double side2, double angle) {
}

public static double lawOfSines(double side1, double angle1, double side2) {
return Math.asin(side2*Math.sin(angle1)/side1);
return Math.asin(side2 * Math.sin(angle1) / side1);
}

public static double clampValueToRange(double value, double min, double max) {
if (value > max){
if (value > max) {
value = max;
} else if (value < min){
} else if (value < min) {
value = min;
}
return value;
Expand Down

0 comments on commit 0ec76d8

Please sign in to comment.