ddt(9)

ddt9

Compute the derivative of the input function

Usage

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

Overview

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.

Functions

ddt.N (requires a floating-point thread)

Pins

ddt.N.in float in
ddt.N.out float out

Notes

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.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

Jeff Epler

License

GPL

From linuxcnc-uspace 1:2.9.4-2+deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's man source.