SIMPLE_TP(9)

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

✨ SIMPLE_TP πŸ’– (section 9, HAL Component baybee)

okay so bestie, gather round, because we're talking about simple_tp β€” and no, it's not a fancy new app, it's a single axis simple trajectory planner 🌸 and it's literally the same one that LinuxCNC uses for jogging. same vibes, same code, iconic behavior. πŸ’…


πŸŽ€ NAME πŸŽ€

simple_tp β€” a single axis simple trajectory planner, exactly the same one LinuxCNC uses when you're jogging. no cap. πŸ¦‹


🌟 SYNOPSIS 🌟

PNCconf uses this little cutie so you can test out acceleration and velocity values for an axis. that's the whole job. that's it. she's a test queen. πŸ‘‘


πŸ”₯ FUNCTIONS πŸ”₯

  • simple-tp.N.update β€” this one requires a floating-point thread, so don't come at her with anything less, she needs her float thread fr fr.

πŸ’– PINS πŸ’–

every N is a thing, and each pin is doing her own little job. let's go:

  • simple-tp.N.target-pos float in β€” the target position you're planning for. where we're going, bestie. πŸ“
  • simple-tp.N.maxvel float in β€” maximum velocity. how fast we're willing to go, speed limit energy. πŸ’¨
  • simple-tp.N.maxaccel float in β€” acceleration rate. how quickly she ramps up, no sudden jumps. πŸ“ˆ
  • simple-tp.N.enable bit in β€” if this gets disabled, the planner sets velocity to zero immediately. like, instant. no goodbye, no warning, just zero. πŸ’€
  • simple-tp.N.current-pos float out β€” the position being commanded at this point in time. right here, right now. ⏰
  • simple-tp.N.current-vel float out β€” the velocity being commanded at this moment in time. the speed in the now. πŸƒβ™€οΈ
  • simple-tp.N.active bit out β€” if active is true, the planner is requesting movement. she wants to go, okay?? let her cook. πŸ”₯

πŸ‘‘ AUTHOR πŸ‘‘

Chris S Morley β€” the legend herself. bow down. 🫢


πŸ“œ LICENSE πŸ“œ

GPL β€” she's free and open, as she should be. ✨


and that's the whole page bestie, you ate it up πŸ’…πŸŒΈ stay planning, stay simple, stay iconic.

much love from the LinuxCNC Documentation crew, dated 2026-03-17 πŸŽ€πŸ’œ
πŸ“¦ where this page comes from