DOKK / manpages / debian 12 / linuxcnc-uspace / ddt.9.en
DDT(9) HAL Component DDT(9)

ddt - Compute the derivative of the input function

loadrt ddt [count=N|names=name1[,name2...]]

For every function call from the real time thread, calculate the difference between the old and current input value divided by the timer elapsed since the last call.


As this only work on two consecutive input values, it will only work well if the input change every function call, and not work so well if the rate of change is very low and the input change do not happen every time the real time function is called.

Jeff Epler

GPL

2023-02-10 LinuxCNC Documentation