I already succeeded in programming a function to find parameters of fifth order polynomial, in the runtime of a motion controller.
To use if at runtime the cam has to be calculated.
Next to polynomials there also exist sine curves for cam profiles.
More in specific, when should I use the modified sine curve?
When does it have an advantage to a polynomial?
I suppose a modified sine curve is a sine curve where the first and last part are not a pure sine, but the middle part is.
If I should write a function to be executed at runtime in the controller, to calculate a modified sine curve, based on start and end position and velocity,
how should I start? What function should be used in the first and last part?
For the sine part, how to calculate amplitude, phase and period?
To use if at runtime the cam has to be calculated.
Next to polynomials there also exist sine curves for cam profiles.
More in specific, when should I use the modified sine curve?
When does it have an advantage to a polynomial?
I suppose a modified sine curve is a sine curve where the first and last part are not a pure sine, but the middle part is.
If I should write a function to be executed at runtime in the controller, to calculate a modified sine curve, based on start and end position and velocity,
how should I start? What function should be used in the first and last part?
For the sine part, how to calculate amplitude, phase and period?