INTEG(9)

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

πŸ’– NAME πŸ’–

integ β€” it's an integrator, bestie. Gain pin, windup limits, whole package. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

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

That's it. That's the whole load line. You load it, you get integrators. Slay. πŸ’…


πŸ”₯ FUNCTIONS πŸ”₯

  • integ.N β€” okay so listen, this one requires a floating-point thread. Not optional, not negotiable, not a vibe. If your thread isn't floating-point, she simply will not run. 😭

πŸŽ€ PINS πŸŽ€

  • integ.N.in β€” float in. Your raw input signal walks in the door here. πŸšͺ
  • integ.N.gain β€” float in, and the default is 1.0. Multiplies your input before anything integral happens. It's giving "volume knob for math". πŸ‘‘
  • integ.N.out β€” float out. This is the discrete integral of gain * in since reset was deasserted. That's the whole personality. 🫢
  • integ.N.reset β€” bit in. When it's asserted, out gets set to 0. Like a little memory wipe. Iconic. 🧚
  • integ.N.max β€” float in, default 1e20. It's the high windup limit, no cap. (Well. Technically there is a very large cap. It's 1e20.) 😌
  • integ.N.min β€” float in, default -1e20. The low windup limit, mirror image, equally dramatic. 🌈
Real talk: the max and min pins are the windup limits mentioned up in NAME β€” they're your two bound pins, and if you leave them alone they just sit there at 1e20 and -1e20 doing the absolute most without ever actually doing anything. Default behavior stays default. Periodt. πŸ’€

🌸 AUTHOR 🌸

Jeff Epler. Giving main character energy since forever. ⭐


πŸ’œ LICENSE πŸ’œ

GPL. Share the love, share the source. πŸ“


And that's the tea, bestie β€” this page came straight out of the LinuxCNC Documentation, dated 2026-03-17, and it lives in section INTEG(9). Go forth and integrate. Iykyk. πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from