SPHEREPROBE(9)
π SPHEREPROBE(9) β the HAL component that goes poking at a pretend hemisphere π
okay bestie, so this little cutie lives in the HAL Component section of the LinuxCNC manual, and its whole personality is: probe a pretend hemisphere. Not a real one. A vibes-only one. π¦
β¨ NAME β¨
sphereprobe β Probe a pretend hemisphere πΈ
β¨ SYNOPSIS β¨
loadrt sphereprobe [count=N|names=name1[,name2...]]
That's it, that's the whole entrance. Load it up with loadrt, and you either grab count=N copies or you name your babies yourself with names=name1[,name2...]. π
β¨ FUNCTIONS β¨
sphereprobe.Nβ this is the one job it has, and it ate: it updatesprobe-outbased on the inputs. That's the function, that's the moment, that's the main character energy. π
β¨ PINS β¨
Every pin here comes in flavors, bb β the N is just the instance number, so if you loaded more than one you get sphereprobe.0, sphereprobe.1, and so on. π
sphereprobe.N.px s32 in,sphereprobe.N.py s32 in,sphereprobe.N.pz s32 inβ this little trio is the rawcounts position, straight from a software encoder. Alls32, all inputs. πsphereprobe.N.cx s32 in,sphereprobe.N.cy s32 in,sphereprobe.N.cz s32 inβ the center of the sphere, in counts. Again:s32, in. Three lil coordinates, one hypothetical sphere. π«Άsphereprobe.N.r s32 inβ the radius of the hemisphere, in counts.s32, input, iconic. βsphereprobe.N.probe-out bit outβ and here's the payoff, bestie: abitoutput. This is what all that counting was for. ππ₯
ngl the vibe here is very much "is the point inside the imaginary bubble or not" and probe-out is the answer. No cap.
β¨ AUTHOR β¨
Jeff Epler π β shoutout to the legend, fr fr.
β¨ LICENSE β¨
GPL β slay, free as in freedom, periodt. π
and that's the whole page, bestie!! this came to you from the LinuxCNC Documentation, dated 2026-03-17, on the SPHEREPROBE(9) manual page. k bye, go probe something imaginary π§πβ¨
π¦ 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