Unit in which generic_buffer.c application gives data for sensors.

s.rawat imsaurabhrawat at gmail.com
Thu Jul 2 07:53:21 EDT 2015

On Thu, Jul 2, 2015 at 4:13 PM, Daniel Baluta <daniel.baluta at gmail.com> wrote:
> * accel - m/s^2
> * gyro - rad/s
> * magneto - Gaus

I get the data as below :

in_accel_x 71000 71000.0 in_accel_y -45000 -45000.0 in_accel_z
-1003000 -1003000.0

This seems correct except I think the data from the device is
definitely not in m/s2 , seems like it is in  "μg".What would be
correct -> telling the  device firmware writer to change the fw to
send data in m/s2 or I convert this data to m/s^2 at host end?

More information about the Kernelnewbies mailing list