Re: possible odd acceleration scaling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux