Comment 6 for bug 1398806

Revision history for this message
Lorn Potter (lorn-potter) wrote :

@Michael Having looked into sensors stack on Ubuntu more, for hybris platforms, the platform-api reads from androids SensorManager, which is a better way to read sensors than directly through libhardware, as SensorManager provides virtual sensors in addition to actual sensors.

This probably mainly effects the compass, which is actually a virtual sensor that includes magnetometer, accelerometer and/or gyroscope. The implementation of compass sensor in sensorfw works in a pinch, but the implementation in SensorManager is more robust.

I am ok with the current sensors stack in ubuntu. It simply lacks implentation of certain Qt sensors, and gyroscope is one of them.