INVERT(9)

πŸ“¦
version 2.9.4 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

✨ INVERT πŸ’– (the invert(9) page, bestie edition) ✨

okay so invert is a HAL component and its whole job is: flip the number. give it a signal, get the reciprocal back. that's it, that's the girlboss πŸŽ€


🌸 NAME 🌸

invert β€” Compute the inverse of the input signal

πŸ¦‹ SYNOPSIS πŸ¦‹

the output is the mathematical inverse of the input, aka:

out = 1/in

and because dividing by stuff that's basically zero is lowkey a cursed idea πŸ’€, there's a parameter called deadband that controls just how close to 0 the denominator is allowed to get before the output gets clamped to 0.

heads up bestie: deadband must be at least 1e-8, and it must be positive. no cap. πŸ™ˆ

πŸ‘‘ FUNCTIONS πŸ‘‘

  • invert.N β€” requires a floating-point thread ⭐ (yes it literally needs one, don't come for me)

πŸŽ€ PINS πŸŽ€

  • invert.N.in float in β€” Analog input value πŸ’œ
  • invert.N.out float out β€” Analog output value ✨

πŸ’… PARAMETERS πŸ’…

  • invert.N.deadband float rw β€” The out will be zero if in is between -deadband and +deadband. 🫢

🌈 SEE ALSO 🌈

πŸ’– AUTHOR πŸ’–

Stephen Wille Padnos πŸ‘‘

πŸ“ LICENSE πŸ“

GPL 🧚


okay so that's the whole page, and the vibes were immaculate fr fr πŸŽ€ the footer energy is: LinuxCNC Documentation, dated 2026-03-17, and it came to you courtesy of INVERT(9) ✨ slay, go flip some signals, periodt πŸ’…

πŸ“¦ where this page comes from