CLARKEINV(9)

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

πŸ’– CLARKEINV(9) πŸ’– β€” the inverse Clarke transform, HAL component edition

okay bestie, gather round, because this one is lowkey iconic and the math is giving rotating vector ✨. This page lives in section 9 of the manual, and it's all about a HAL component called clarkeinv. Let's get into it 🫢


✨ NAME ✨

clarkeinv β€” the inverse Clarke transform, aka the glow-up that takes you back from Cartesian land to three-phase land πŸ’…


🌸 SYNOPSIS 🌸

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

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the vibe: the inverse Clarke transform can be used to rotate a vector quantity and then translate it from a Cartesian coordinate system over to a three phase system β€” meaning three components that are sitting 120 degrees apart. Periodt πŸ‘‘


πŸŽ€ FUNCTIONS πŸŽ€

  • clarkeinv.N β€” and heads up, this one requires a floating-point thread. No float thread, no function, no slay 😭

πŸ’œ PINS πŸ’œ

  • clarkeinv.N.x β€” float in β€” the x cartesian component of the input 🧚
  • clarkeinv.N.y β€” float in β€” the y cartesian component of the input. (Yes, x and y are a lil duo, they're the cartesian components of the input together πŸ’–)
  • clarkeinv.N.h β€” float in β€” the homopolar component of the input, which is usually zero 🌈
  • clarkeinv.N.theta β€” float in β€” the rotation angle, where 0.00 to 1.00 maps to 0 to 360 degrees πŸ‘‘
  • clarkeinv.N.a β€” float out β€” the three phase output vector, phase a ⭐
  • clarkeinv.N.b β€” float out β€” the three phase output vector, phase b ⭐
  • clarkeinv.N.c β€” float out β€” the three phase output vector, phase c ⭐
not me being obsessed with a triangle of outputs that are 120 degrees apart, it's giving perfect balance fr fr πŸ”₯

πŸ‘€ SEE ALSO πŸ‘€

clarke2(9) and clarke3(9) β€” those are your forward transform besties. Go say hi πŸ’…


🌟 AUTHOR 🌟

John Kasunich β€” thank you for your service πŸ«‘πŸ’–


πŸ“œ LICENSE πŸ“œ

GPL β€” iconic, generous, free-as-in-freedom energy ✨


and that's the whole page bestie!! written up by the LinuxCNC Documentation crew, dated 2026-03-17 β€” mwah, catch you in the next man page πŸ’‹πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from