Thursday, February 13, 2014

android driver problem on electronic compass


            
No gravity sensor on my board, and no magnetometer, a direction sensor, read out a value of 0 to 359, ask whether it can achieve in the Android electronic compass? Now read the data driver, the driver also reported, but I did not respond to open an electronic compass, specifically how to get this? First contact, please enlighten prawn

Information reported by the driver, rbuf [0] is the value read direction: 0 ~ 359
input_report_abs (data-> input_dev, ABS_RX, rbuf [0]);
Reply:
Turned out to be our own applications using gravity sensors and magnetometers to achieve the compass, to get through these two sensor azimuth data, methods, just not the same

No comments:

Post a Comment