TheGreenMachine / Zodiac

2020-2021 FIRST Infinite Recharge Robot Code
3 stars 1 forks source link

Use shared Kotlin library for Splines/Geometry #146

Closed richiksc closed 3 years ago

richiksc commented 3 years ago

The Team254 geometry and spline calculation libraries have a new home - TheGreenMachine/splines-kt. They're in Kotlin now, so they can be shared across web and robot (and wherever we need them).

There are failing unit tests, however, they are not a regression against the swerve-2 branch. The same unit tests fail on the current state of swerve-2 with the same errors.

The Spotless formatting check will also fail - I ran Spotless but it touched too many files that weren't related to this PR, since the code on swerve-2 hasn't been formatted in a while. It might make sense to optimize imports / run Spotless on one of our 'base branches' soon.

Please squash this merge - the second two commits are simple things that I missed.