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 thatNis the instance number β if you loaded withcount=Nyou getabs.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.infloat in β the analog input value. this is what you're feeding her, she's not picky, she takes it as it comes πabs.N.outfloat out β the analog output value, and it is always positive β like genuinely always, that's her whole thingabs.N.signbit out β the sign of the input:falsefor positive,truefor negative π so like, bool-coded truth about which way the number was leaningabs.N.is-positivebit out βTRUEif the input is positive,FALSEif the input is 0 or negative π yes she's counting zero as not positive, don't come for herabs.N.is-negativebit out βTRUEif the input is negative,FALSEif 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
- ubuntu resolute: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- ubuntu stonking: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms