ABS(9)

✨ ABS(9) β€” the HAL component that's literally just vibes (absolute vibes) ✨

okay so bestie, welcome to abs, a HAL Component πŸ’– she does one job and she does it flawlessly, no cap.


🌸 NAME 🌸

abs β€” compute the absolute value and sign of the input signal πŸ¦‹

like. that's it. that's the whole personality. and honestly? iconic.


πŸŽ€ SYNOPSIS πŸŽ€

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

πŸ’… FUNCTIONS πŸ’…

  • abs.N β€” requires a floating-point thread ⚠️ so like, don't try to run her on an integer thread, she will simply not show up. floating-point thread only, periodt.
not me warning you that N is the instance number β€” if you loaded with count=N you get abs.0, abs.1, … and every one of them needs that floating-point thread energy 🫢

✨ PINS ✨

okay bestie here's the whole squad, all the pins, per instance πŸ“:

  • abs.N.in float in β€” the analog input value. this is what you're feeding her, she's not picky, she takes it as it comes πŸ’œ
  • abs.N.out float out β€” the analog output value, and it is always positive ⭐ like genuinely always, that's her whole thing
  • abs.N.sign bit out β€” the sign of the input: false for positive, true for negative πŸ‘‘ so like, bool-coded truth about which way the number was leaning
  • abs.N.is-positive bit out β€” TRUE if the input is positive, FALSE if the input is 0 or negative πŸ™ˆ yes she's counting zero as not positive, don't come for her
  • abs.N.is-negative bit out β€” TRUE if the input is negative, FALSE if the input is 0 or positive πŸ’€ zero is neutral, zero is on no one's side, zero is the Switzerland of this component

🌈 AUTHOR 🌈

John Kasunich 🫢


πŸ’– LICENSE πŸ’–

GPL β€” free as in freedom, free as in slay πŸ”₯


okay so that's the whole page, and lemme just say, this absolute legend of a manpage is from the LinuxCNC Documentation, dated 2026-03-17 πŸ’« go forth and absolute-value your signals, bestie, you got this πŸ’…βœ¨

πŸ“¦ where this page comes from