Interesting, do you have a source where I can get deeper into the application of splines to reilroads? Specifically, how to arrive at the jerk minimization problem. All things railroads are too descriptive with little engineering/physics formulas.
https://www.researchgate.net/publication/341476435_Railway_T...