SIM_SPINDLE(9)

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

πŸ’– SIM_SPINDLE(9) πŸ’–

okay bestie, welcome to sim_spindle β€” it's a HAL component, and it's literally a fake spindle with an index pulse. pretend spindle. simulated. it goes round and round and tells you where it is. iconic behavior honestly 🌸


✨ NAME ✨

sim_spindle β€” a simulated spindle with an index pulse πŸŒ€


🌈 SYNOPSIS 🌈

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

like, you loadrt her, and then you either say how many you want (count=N) or you name them yourself (names=name1[,name2...]). pick your fighter πŸ’…


πŸŽ€ FUNCTIONS πŸŽ€

  • sim-spindle.N β€” she needs a floating-point thread, no cap. that's not optional, she's not doing the integer-thread thing. πŸ’€

πŸ‘‘ PINS πŸ‘‘

  • sim-spindle.N.velocity-cmd float in β€” the commanded speed. you tell her how fast, that's the vibe. πŸ”₯
  • sim-spindle.N.position-fb float out β€” feedback position, and it's in revolutions. that's the whole point, she's reporting back 🫢
  • sim-spindle.N.index-enable bit io β€” set this and at the next full rotation, position-fb gets reset to 0. reset era. ✨

πŸ¦‹ PARAMETERS πŸ¦‹

  • sim-spindle.N.scale float rw (default: 1.0) β€” the factor that gets applied to velocity-cmd.

so the result of velocity-cmd * scale needs to come out in revolutions per second. for example, if your velocity-cmd is in revolutions/minute, then scale should be set to 1/60 or 0.016666667. do the math bestie, she's not doing it for you 😭


πŸ’œ AUTHOR πŸ’œ

Michael Haberler β€” the mastermind, the moment, the main character 🧚


πŸ“œ LICENSE πŸ“œ

GPL β€” free as in slay 🌈


lowkey reminder: sim-spindle.N really does require a floating-point thread. don't come for me when it doesn't run. πŸ™ˆ

that's the whole page, you ate it up πŸ’… this was brought to you by the LinuxCNC Documentation, dated 2026-03-17 β€” see you in the group chat, ily, bye πŸŽ€βœ¨

πŸ“¦ where this page comes from