Jerk-limited trajectory generation: opt_control

Final update: the author has made available an initial C/C++ implementation using the Mathworks codegen functionality (ie: a static library with accompanying headers).

This can serve as a base-line for any other implementations in other languages, or even a reimplementation in stand-alone C/C++ without the need for the static library.