Hi all:
My platform : imx6q os: android 4.2.2
How to enable gyroscope ? my gyro modules is freescale fxas21000 . But I don't know how to enable it !
Thanks
Hi li
suggest to look at
Sensor Drivers for Android, Linux and OS|Freescale
https://community.freescale.com/docs/DOC-100869
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
And on My deivces there are mag3110 ,mma845x , how to enable gyro in HAL layer ?
please check attached document
But in it ,there is message about gyrocope in android HAL layer ! Do you have the files like Gyrocope.cpp ?
and how to modify the code sensors.cpp SensorBase.cpp
http://www.st.com/st-web-ui/static/active/en/resource/technical/document/application_note/DM00063297...
mma845x , mag3110 and gyroscope
I have ported the Gyroscope.cpp,But the data is not ok .When I enable gyroscope , mag app is not ok !
But When I disable gyroscope, mag app is ok !
I want to know the relationship between the three ?
I have the driver ,But I have not the HAL layer code ..please help me !