From: Jonathan Cameron <jic23@kernel.org>
To: "Bolboaca, Ramona" <Ramona.Bolboaca@analog.com>
Cc: "Sa, Nuno" <Nuno.Sa@analog.com>,
"linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 3/3] iio: imu: adis16475.c: Add delta angle and delta velocity channels
Date: Sat, 29 Jul 2023 15:47:26 +0100 [thread overview]
Message-ID: <20230729154726.49b9a86b@jic23-huawei> (raw)
In-Reply-To: <BL1PR03MB59925DFDE7AE86BF3B78AD8D8000A@BL1PR03MB5992.namprd03.prod.outlook.com>
On Wed, 26 Jul 2023 10:23:02 +0000
"Bolboaca, Ramona" <Ramona.Bolboaca@analog.com> wrote:
> > On Wed, 19 Jul 2023 15:31:52 +0300
> > Ramona Bolboaca <ramona.bolboaca@analog.com> wrote:
> >
> > > Add support for delta angle and delta velocity raw and buffer
> > > readings to adis16475 driver.
> > >
> > > Signed-off-by: Ramona Bolboaca <ramona.bolboaca@analog.com>
> > As noted in my reply to Nuno's review, the question of channel type
> > is still unresolved.
> >
>
> Hi Jonathan,
>
> I think Nuno already offered the definition from the data-sheet, but let me
> mention it here again for context:
>
> Delta angle:
> In addition to the angular rate of rotation (gyroscope) measurements around
> each axis (x, y, and z), the ADIS16505 also provides delta angle measurements
> that represent a calculation of angular displacement between each sample update.
>
> Delta velocity:
> In addition to the linear acceleration measurements along each axis (x, y, and
> z), the ADIS16505 also provides delta velocity measurements that represent a
> calculation of linear velocity change between each sample update.
>
> Seeing how we cannot find something more suitable, do you think it would make
> sense to add these new channels to IIO: something like IIO_DELTA_VELOCITY and
> IIO_DELTA_ANGLE and specify in ABI docs that these measurements are relative
> to the previous sample? Or do you have something else in mind?
Yes - I think we need these new channel types to avoid inconsistent use of the
existing types. In the documentation I would give a little context, particularly
around the common use of these being to simply sum them over time.
Jonathan
>
> Thank you,
> Ramona Bolboaca
>
> > https://urldefense.com/v3/__https://lore.kernel.org/all/20230720193457.27
> > 2f02a9@jic23-
> > huawei/__;!!A3Ni8CS0y2Y!52Dhq_Yj9srV_lE8JgPysp2b3Lbg9U2w94VIGTMa8
> > 3hepJgv-NCnFWomV83Ud5C3TGp3tMMI0IDVRYZV5N8$
> >
> > Thanks,
> >
> > Jonathan
prev parent reply other threads:[~2023-07-29 14:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-19 12:31 [PATCH v2 0/3] Add new channels for adis16475 Ramona Bolboaca
2023-07-19 12:31 ` [PATCH v2 1/3] iio: imu: adis16475.c: Remove unused enum elements Ramona Bolboaca
2023-07-20 7:38 ` Nuno Sá
2023-07-23 12:23 ` Jonathan Cameron
2023-07-19 12:31 ` [PATCH v2 2/3] iio: imu: adis16475.c: Add has_burst32 flag to adis16477 devices Ramona Bolboaca
2023-07-20 7:39 ` Nuno Sá
2023-07-23 12:24 ` Jonathan Cameron
2023-07-19 12:31 ` [PATCH v2 3/3] iio: imu: adis16475.c: Add delta angle and delta velocity channels Ramona Bolboaca
2023-07-20 8:58 ` Nuno Sá
2023-07-23 12:32 ` Jonathan Cameron
2023-07-23 12:36 ` Jonathan Cameron
2023-07-26 10:23 ` Bolboaca, Ramona
2023-07-29 14:47 ` Jonathan Cameron [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230729154726.49b9a86b@jic23-huawei \
--to=jic23@kernel.org \
--cc=Nuno.Sa@analog.com \
--cc=Ramona.Bolboaca@analog.com \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox