I am playing around with the iPad’s gyroscope. Essentially I want to detect device orientation relative to when the app has been launched or a function started. I have noticed that the gyroscope data seems very noisy and biased. Have anyone noticed that or am doing something wrong?
In particular, the noise seems to come from event.xRotation inside the formula:
deltaRadiansX = event.xRotation * event.deltaTime
I then cumulate deltaRadiansX the small error builds up. At each frame I simply add a new reading for deltaRadiansX to the total calculated in the previous frame (frame = corona iteration). [import]uid: 159908 topic_id: 34895 reply_id: 334895[/import]