Re: [PATCH v7 5/6] iio: ABI: Add partial quaternion modifier
From: Andy Shevchenko
Date: Thu Mar 05 2026 - 02:05:41 EST
On Wed, Mar 04, 2026 at 04:35:39PM -0600, David Lechner wrote:
> On 3/4/26 2:07 AM, Francesco Lavra wrote:
...
> > + - the quaternion vector is normalized, i.e. x^2 + y^2 + z^2 + w^2 = 1
>
> Isn't this usually written with w first?
>
> > + - the rotation angle is within the [-180, 180] range, i.e. the w
>
> Best to say the angle units. IIO standard unit for angle is radians.
>
> > + component (which represents the amount of rotation) is non-negative
Based on these, maybe the name should be
normalised_360_quaternion
(or variations of this)? Actually "partial" quaternion some articles use
for something different as far as I can say.
--
With Best Regards,
Andy Shevchenko