Motion Control
fast is slow slow is smooth smooth is fast
Last updated
fast is slow slow is smooth smooth is fast
Last updated
Motion profiling is a crucial concept in control systems, particularly when it comes to ensuring smooth and efficient movement of mechanical systems. Unlike a controller, which directly influences system behavior, motion profiling is used to generate position and velocity references that a controller, such as PID or a feedforward controller, will use to guide the system.
One of the key advantages of our implementation is the ability to perform asymmetric motion profiling. This means we can define different profiles for acceleration and deceleration phases to better match the physical characteristics and constraints of specific systems. By doing so, we achieve more refined control, efficient energy usage, and can cater to systems that require non-uniform acceleration curves.
You will want to re-instanciate the profile upon changes to targetDistance. You can keep a running value and if the previous value is not equal to the current value then you regenerate.