scale - LinuxCNC HAL component that applies a scale and offset to its input
loadrt scale [count=N|names=name1[,name2...]] |
scale.N (requires a floating-point thread)
scale.N.in
float in
scale.N.gain float in
scale.N.offset float in
scale.N.out float out
out = in * gain + offset
GPL