OSDN Git Service

iio-sensors: support conversion matrix magnetic field
authorMario Holzinger <sandman01xda@gmail.com>
Fri, 25 Mar 2016 22:39:24 +0000 (23:39 +0100)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 28 Mar 2016 16:56:04 +0000 (00:56 +0800)
commit15861406add7e8b342640b59d72337c5461b7afa
tree51d1c9210464d5d6000d6c8aa046bbb78a5a2198
parent43c3ffdddb753f8d572a33278080e0f2c3349d1d
iio-sensors: support conversion matrix magnetic field

With the prop hal.sensors.iio.magn.matrix=f1x,f1y,f1z,f2x,f2y,f2z,f3x,f3y,f3z
it is possible to manipulate the sensors directions and assignment to the
corresponding axes. The default is
hal.sensors.iio.magn.matrix=1,0,0,0,1,0,0,0,1
iio-sensors.cpp