linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Manuel Stahl <manuel.stahl@iis.fraunhofer.de>
To: Jonathan Cameron <jic23@cam.ac.uk>
Cc: "linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>
Subject: Re: IIO: angular measurement types.
Date: Thu, 29 Sep 2011 15:22:19 +0200	[thread overview]
Message-ID: <201109291522.19679.manuel.stahl@iis.fraunhofer.de> (raw)
In-Reply-To: <4E846F08.5070906@cam.ac.uk>

Am Donnerstag, 29. September 2011, 15:13:44 schrieb Jonathan Cameron:
> Hi All
> 
> Just looking at add chan spec support for resolvers and
> realised that our representations of angular measurements
> have become somewhat confused.
> 
> Right now we have
> 
> IIO_GYRO -> angular velocity (units radians / sec)
> IIO_ROT -> vertical rotation position (undocumented)
> IIO_ANGL -> rotation angle (currently integrated version of IIO_GYRO,
> undocumented)
> 
> For resolvers we seem to need
> 
> Absolute rotation position (IIO_ANGL?)  set units to radians
> Angular velocity (IIO_GYRO? - odd naming here) randians / sec
> 
> So, proposal is to rename IIO_GYRO - > IIO_ANGL_VEL
> 
> Anyone have an thoughts on this?

The question is whether we want to have names according to the physical 
propery we measure or names according to the common terminology of the devices 
that measure that property.

i.e. gyros measure angular velocities. Are there other devices that measure 
angular velocities? I think not.

Devices that measure horizontal rotation are usually called inclinometers.
Devices that measure vertical rotation are for example compasses, but there 
could be others.
Devices that measure rotation angles are usually called resolvers, but this 
might also be non exclusive.

Do we want to distinguish between these? They all return angles.

And what about sensors that measure rotations? They can deliver angles outside 
[-PI:+PI] (i.e. several rotations), but that makes no sense for compasses.

Nevertheless I think we can keep IIO_GYRO for devices that measure angular 
velocities, as this is a very common name for these.

Regards,
Manuel

  reply	other threads:[~2011-09-29 13:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-29 13:13 IIO: angular measurement types Jonathan Cameron
2011-09-29 13:22 ` Manuel Stahl [this message]
2011-09-29 13:53   ` Jonathan Cameron

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=201109291522.19679.manuel.stahl@iis.fraunhofer.de \
    --to=manuel.stahl@iis.fraunhofer.de \
    --cc=jic23@cam.ac.uk \
    --cc=linux-iio@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;
as well as URLs for NNTP newsgroup(s).