CLARKEINV(9)
π 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, where0.00to1.00maps to0to360 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
- ubuntu resolute: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- ubuntu stonking: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms