From: Bastien Nocera <hadess@hadess.net>
To: Jonathan Cameron <jic23@kernel.org>,
rrs@researchut.com, linux-iio@vger.kernel.org,
Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Subject: Re: possible odd acceleration scaling
Date: Wed, 14 Sep 2016 13:34:07 +0200 [thread overview]
Message-ID: <1473852847.6389.12.camel@hadess.net> (raw)
In-Reply-To: <a9078c9f-0d07-35bc-e449-2cfeee7b7987@kernel.org>
On Tue, 2016-09-13 at 18:50 +0100, Jonathan Cameron wrote:
>
<snip>
> Looking at your bug report, raw readings are around magnitude 1000.
> 1000*0.009806 = 9.81
>
> Given accelerations in IIO are in m/s^2 I'm slightly confused...
Sigh. I think this is the second time I get this wrong. The code to
calculate the orientation expects 1G ~= 0x100. So the driver is
correct, and I need to fix this again in iio-sensor-proxy.
Sorry about that.
prev parent reply other threads:[~2016-09-14 11:44 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-13 17:30 possible odd acceleration scaling Ritesh Raj Sarraf
2016-09-13 17:50 ` Jonathan Cameron
2016-09-13 18:01 ` Jonathan Cameron
2016-09-13 19:06 ` Srinivas Pandruvada
2016-09-14 9:05 ` Ritesh Raj Sarraf
2016-09-14 9:28 ` Ritesh Raj Sarraf
2016-09-14 13:50 ` Ritesh Raj Sarraf
2016-09-14 15:28 ` Srinivas Pandruvada
2016-09-14 15:44 ` Bastien Nocera
2016-09-14 16:00 ` Ritesh Raj Sarraf
2016-09-16 17:43 ` Srinivas Pandruvada
2016-09-16 18:26 ` Ritesh Raj Sarraf
2016-09-16 18:35 ` Ritesh Raj Sarraf
2016-09-16 19:31 ` Srinivas Pandruvada
2016-09-16 19:40 ` Pandruvada, Srinivas
2016-09-16 21:19 ` Bastien Nocera
2016-09-16 22:30 ` Pandruvada, Srinivas
2016-09-16 22:51 ` Bastien Nocera
2016-09-14 11:34 ` Bastien Nocera [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=1473852847.6389.12.camel@hadess.net \
--to=hadess@hadess.net \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=rrs@researchut.com \
--cc=srinivas.pandruvada@linux.intel.com \
/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).