How to enable gyro !

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to enable gyro !

2,063 次查看
liyu1
Contributor III

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

标签 (3)
0 项奖励
回复
9 回复数

1,327 次查看
igorpadykov
NXP Employee
NXP Employee

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!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,327 次查看
liyu1
Contributor III

And on My deivces there are mag3110 ,mma845x , how to enable gyro in HAL layer ?

0 项奖励
回复

1,327 次查看
igorpadykov
NXP Employee
NXP Employee

Hi li

please check attached document

Best regards

igor

0 项奖励
回复

1,327 次查看
liyu1
Contributor III

But in it ,there is message about gyrocope in android HAL layer ! Do you have the files like Gyrocope.cpp ?

0 项奖励
回复

1,327 次查看
liyu1
Contributor III

and how to modify the code sensors.cpp SensorBase.cpp

0 项奖励
回复

1,327 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励
回复

1,327 次查看
liyu1
Contributor III

mma845x  , mag3110  and gyroscope

0 项奖励
回复

1,327 次查看
liyu1
Contributor III

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 ?

0 项奖励
回复

1,327 次查看
liyu1
Contributor III

I have the driver ,But I have not the HAL layer code ..please help me !

0 项奖励
回复