This repository was archived by the owner on Oct 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
This repository was archived by the owner on Oct 20, 2023. It is now read-only.
code review notes #5
Copy link
Copy link
Open
Description
Praises
- Very organized.
- An entire class dedicated to all of the necessary math functions
- I enjoyed looking at the move to XY class for your auto function and may consider getting inspiration from you guys in programming our auto for next year.
Fixes
- There are 2 "Drivetrain.java"s
- drivetrain/experimental/drivetrain.java
- drivetrain/singlespeed/drivetrain.java
- due to it being a reusable library, COMMENTS
- extra tabs for indent in NerdyMath.java
NerdyLib/src/main/java/com/nerdherd/lib/misc/NerdyMath.java
Lines 4 to 7 in 0e94506
public static double radiansToDegrees(double rads) { return rads * 180 / Math.PI; }
NerdyLib/src/main/java/com/nerdherd/lib/misc/NerdyMath.java
Lines 195 to 204 in 0e94506
return false; } } public static double distanceFormula(double x1, double y1, double x2, double y2) { return Math.sqrt(Math.pow((x1-x2), 2) + Math.pow((y1-y2), 2)); } /**
gravity affected mechanisms - it looks good.
Metadata
Metadata
Assignees
Labels
No labels