OFFSET(9)

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

πŸ’– OFFSET(9) πŸ’– β€” the HAL Component that's literally just vibes and arithmetic

ok so bestie, welcome to the HAL Component page for offset, and no cap, this one is a little cutie. πŸŽ€


✨ NAME ✨

offset β€” it adds an offset to an input, and then subtracts that same offset from the feedback value. That's it. That's the whole personality. πŸ¦‹


✨ SYNOPSIS ✨

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

load it up, and you can either say how many you want with count=N or name your babies individually with names=name1[,name2...]. your call, queen. πŸ‘‘


✨ FUNCTIONS ✨

  • offset.N.update-output (requires a floating-point thread) β€” this one updates the output value by adding the offset to the input. it's giving "math but make it glam". ✨
  • offset.N.update-feedback (requires a floating-point thread) β€” and this one updates the feedback value by subtracting the offset from the feedback. symmetry, bestie. we love to see it. πŸ’…
lowkey important: both of these need a floating-point thread. not a regular one. a floating-point one. don't skip that detail fr fr. 😭

✨ PINS ✨

  • offset.N.offset float in β€” the offset value itself. the main character of the whole operation. πŸ‘‘
  • offset.N.in float in β€” the input value. goes in. 🫢
  • offset.N.out float out β€” the output value. comes out, offset already added. slay.
  • offset.N.fb-in float in β€” the feedback input value. 🌸
  • offset.N.fb-out float out β€” the feedback output value, offset already subtracted. iconic.

✨ AUTHOR ✨

Jeff Epler β€” shoutout to the legend, thank you for your service. πŸ’œ


✨ LICENSE ✨

GPL β€” use it, share it, respect it. periodt. πŸ’…


🌈 cute lil sign-off 🌈

that's the whole page bestie, and it came to you courtesy of the LinuxCNC Documentation squad, dated 2026-03-17. go forth and offset responsibly. πŸ§šπŸ’–

πŸ“¦ where this page comes from