I wanted to get a deeper understanding of how 254's spline generator actually worked, and I did that by converting it to C#. I changed it so it followed C# guidelines and not Java guidelines, but otherwise it is very similar, and computes the same paths as the java implementation does. I figured I would share it with everyone, because I know some people like certain languages better.
It can be found here
https://github.com/ThadHouse/SplineGenerator
I want to add some features so the splines don't jump when the path gets split, and try and speed up computation, but thats gonna take a while.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of
RobotDotNet, a .NET port of the WPILib.