Parametrization of OCP during initialization

Hi Jacob,

I think it is closely related to this post:

Unfortunately, I do not have much experience with CasADi splines.
If you find a good workflow, I would be very interested!