[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211109170320.0000597b@Huawei.com>
Date: Tue, 9 Nov 2021 17:03:20 +0000
From: Jonathan Cameron <Jonathan.Cameron@...wei.com>
To: Andrea Merello <andrea.merello@...il.com>
CC: Jonathan Cameron <jic23@...nel.org>,
Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
linux-iio <linux-iio@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
devicetree <devicetree@...r.kernel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
"Rob Herring" <robh+dt@...nel.org>,
Andy Shevchenko <andy.shevchenko@...il.com>,
Matt Ranostay <matt.ranostay@...sulko.com>,
Alexandru Ardelean <ardeleanalex@...il.com>,
Jacopo Mondi <jacopo@...ndi.org>,
Andrea Merello <andrea.merello@....it>
Subject: Re: [v2 03/10] iio: document euler angles modifiers
On Tue, 9 Nov 2021 09:15:09 +0100
Andrea Merello <andrea.merello@...il.com> wrote:
> Il giorno gio 28 ott 2021 alle ore 12:37 Jonathan Cameron
> <jic23@...nel.org> ha scritto:
> >
> > On Thu, 28 Oct 2021 12:18:33 +0200
> > Andrea Merello <andrea.merello@...il.com> wrote:
> >
> > > This patch introduces ABI documentation for new modifiers used for
> > > reporting rotations expressed as euler angles (i.e. yaw, pitch, roll).
> > >
> > > Signed-off-by: Andrea Merello <andrea.merello@....it>
> > > ---
> > > Documentation/ABI/testing/sysfs-bus-iio | 8 ++++++++
> > > 1 file changed, 8 insertions(+)
> > >
> > > diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
> > > index 5147a00bf24a..f0adc2c817bd 100644
> > > --- a/Documentation/ABI/testing/sysfs-bus-iio
> > > +++ b/Documentation/ABI/testing/sysfs-bus-iio
> > > @@ -1965,3 +1965,11 @@ KernelVersion: 5.15
> > > Contact: linux-iio@...r.kernel.org
> > > Description:
> > > Raw (unscaled) linear acceleration readings.
> > > +
> > > +What: /sys/bus/iio/devices/iio:deviceX/in_rot_yaw_raw
> > > +What: /sys/bus/iio/devices/iio:deviceX/in_rot_pitch_raw
> > > +What: /sys/bus/iio/devices/iio:deviceX/in_rot_roll_raw
> > > +KernelVersion: 5.15
> > > +Contact: linux-iio@...r.kernel.org
> > > +Description:
> > > + Raw (unscaled) euler angles readings.
> > Any _raw entry should also include what the units are after application of
> > offset and scale. Or you could just add this as more info to the in_rot_raw
> > block as an extra sentence explaining that they are euler angles.
> > That will lose the 'KernelVersion' information but honestly I'm not sure we
> > care that much about that.
>
> I'm unsure which block you are talking about: I see there are two
> blocks that refer to rot things: in_rot_quaternion_raw and
> in_rot_from_north_xxx_raw.
>
> Looking at the 1st one description, it looks very specific to
> quaternions to me; the 2nd seems very specific to its own thing,
> whatever it is.. So I would just add the missing information (unit) in
> the new block just being introduced, if this is ok for you. Or am I
> missing some other block in which I could coalesce this new euler
> thing?
Good point, not sure what I was thinking. There isn't a sensible block
to add this to. So just add the info about units.
Jonathan
>
>
> > Jonathan
> >
> >
Powered by blists - more mailing lists