← Back to team overview

ubuntu-phone team mailing list archive

Re: access accelerometer

 

On Tuesday 26 February 2013 20:27:58 Aswin Thomas wrote:
> Hi all,
> At present is there anyway I can get raw accelerometer data? Is there a
> sensor package/API I can look at?

There is probably still some stuff missing on the backend side, but in general 
you can use those packages:

libqt5sensors5 - Qt sensors module
qtsensors5-dev - Qt 5 sensors development files
qtsensors5-private-dev - Qt 5 sensors private development files
qtsensors5-examples - Qt 5 sensors examples
qtsensors5-dbg - Qt sensors library debugging symbols

Here is the wiki page with links to documentation and description of the 
current state (note that QtSensors has not been released with Qt5 yet)

http://qt-project.org/wiki/QtSensors

Hope this helps,
Michael


References